The 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.
typedef | Offset |
typedef | Status |
Offset | at () const |
bool | at ( Offset offset ) |
int | flags () const |
int | getch () |
bool | isAsynchronous () const |
bool | isBuffered () const |
bool | isCombinedAccess () const |
bool | isDirectAccess () const |
bool | isInactive () const |
bool | isRaw () const |
bool | isSequentialAccess () const |
bool | isSynchronous () const |
bool | isTranslated () const |
int | mode () const |
int | putch ( int ch ) |
qint64 | readBlock ( char * data, quint64 size ) |
void | resetStatus () |
int | state () const |
Status | status () const |
int | ungetch ( int ch ) |
qint64 | writeBlock ( const char * data, quint64 size ) |
qint64 | writeBlock ( const QByteArray & data ) |
Use qint64 instead.
Use QIODevice::OpenMode instead, or see the documentation for specific devices.
Use pos() instead.
Use seek(offset) instead.
Use openMode() instead.
Use getChar() instead.
This functionality is no longer available. This function always returns true.
Use !(openMode() & QIODevice::Unbuffered) instead.
Use openMode() instead.
Use !isSequential() instead.
Use isOpen(), isReadable(), or isWritable() instead.
Use openMode() instead.
Use isSequential() instead.
This functionality is no longer available. This function always returns false.
Use openMode() instead.
Use openMode() instead.
Use putChar(ch) instead.
Use read(data, size) instead.
For device specific error handling, please refer to the individual device documentation.
See also qobject_cast().
Use isOpen() instead.
For device specific error handling, please refer to the individual device documentation.
See also qobject_cast().
Use ungetChar(ch) instead.
Use write(data, size) instead.
Use write(data) instead.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.