Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

bool QDataStream::atEnd (  ) const

Returns true if the I/O device has reached the end position (end of the stream or file) or if there is no I/O device set; otherwise returns false.

See also:
QIODevice::atEnd()

Definition at line 409 of file qdatastream.cpp.

References QIODevice::atEnd().

Referenced by BookmarksModel::dropMimeData(), QStandardItemModel::dropMimeData(), PiecesModel::dropMimeData(), QAbstractTableModel::dropMimeData(), DragDropModel::dropMimeData(), QAbstractListModel::dropMimeData(), DragDropListModel::dropMimeData(), QPicture::exec(), QList< T >::operator>>(), QLinkedList< T >::operator>>(), QSvgIconEngine::read(), ICOHandler::read(), QPixmapIconEngine::read(), Client::readFortune(), and QFileDialog::restoreState().

{
    return dev ? dev->atEnd() : true;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index