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.