以下成员源于类 QIODevice are part of the Qt compatibility layer. We advise against using them in new code.
| typedef | 偏移 |
| typedef | Status |
| 偏移 | 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 () const |
| int | ungetch (int ch ) |
| qint64 | writeBlock (const char * data , quint64 size ) |
| qint64 | writeBlock (const QByteArray & data ) |
使用
qint64
代替。
使用 QIODevice::OpenMode instead, or see the documentation for specific devices.
使用 pos () 代替。
Use seek( offset ) 代替。
使用 openMode () 代替。
使用 getChar () 代替。
This functionality is no longer available. This function always returns true.
Use !( openMode () & QIODevice::Unbuffered ) 代替。
使用 openMode () 代替。
Use ! isSequential () 代替。
使用 isOpen (), isReadable (),或 isWritable () 代替。
使用 openMode () 代替。
使用 isSequential () 代替。
This functionality is no longer available. This function always returns false.
使用 openMode () 代替。
使用 openMode () 代替。
使用 putChar ( ch ) 代替。
Use read( data , size ) 代替。
For device specific error handling, please refer to the individual device documentation.
另请参阅 qobject_cast ().
使用 isOpen () 代替。
For device specific error handling, please refer to the individual device documentation.
另请参阅 qobject_cast ().
使用 ungetChar ( ch ) 代替。
Use write( data , size ) 代替。
Use write( data ) 代替。