Qt 3 Support Members for QIODeviceThe following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code. Public TypesPublic Functions
Member Type Documentationtypedef QIODevice::OffsetUse qint64 instead. typedef QIODevice::StatusUse QIODevice::OpenMode instead, or see the documentation for specific devices. Member Function DocumentationOffset QIODevice::at () constUse pos() instead. bool QIODevice::at ( Offset offset )This is an overloaded member function, provided for convenience. Use seek(offset) instead. int QIODevice::flags () constUse openMode() instead. int QIODevice::getch ()Use getChar() instead. bool QIODevice::isAsynchronous () constThis functionality is no longer available. This function always returns true. bool QIODevice::isBuffered () constUse !(openMode() & QIODevice::Unbuffered) instead. bool QIODevice::isCombinedAccess () constUse openMode() instead. bool QIODevice::isDirectAccess () constUse !isSequential() instead. bool QIODevice::isInactive () constUse isOpen(), isReadable(), or isWritable() instead. bool QIODevice::isRaw () constUse openMode() instead. bool QIODevice::isSequentialAccess () constUse isSequential() instead. bool QIODevice::isSynchronous () constThis functionality is no longer available. This function always returns false. bool QIODevice::isTranslated () constUse openMode() instead. int QIODevice::mode () constUse openMode() instead. int QIODevice::putch ( int ch )Use putChar(ch) instead. qint64 QIODevice::readBlock ( char * data, quint64 size )Use read(data, size) instead. void QIODevice::resetStatus ()For device specific error handling, please refer to the individual device documentation. See also qobject_cast(). int QIODevice::state () constUse isOpen() instead. Status QIODevice::status () constFor device specific error handling, please refer to the individual device documentation. See also qobject_cast(). int QIODevice::ungetch ( int ch )Use ungetChar(ch) instead. qint64 QIODevice::writeBlock ( const char * data, quint64 size )Use write(data, size) instead. qint64 QIODevice::writeBlock ( const QByteArray & data )This is an overloaded member function, provided for convenience. Use write(data) instead.
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |