QIODevice Class Reference
[QtCore module]
Inherits QObject.
Inherited by QAbstractSocket, QBuffer, QFile, QLocalSocket, QNetworkReply and QProcess.
Types
Methods
- __init__ (self)
- __init__ (self, QObject)
- bool atEnd (self)
- int bytesAvailable (self)
- int bytesToWrite (self)
- bool canReadLine (self)
- close (self)
- QString errorString (self)
- (bool, str) getChar (self)
- bool isOpen (self)
- bool isReadable (self)
- bool isSequential (self)
- bool isTextModeEnabled (self)
- bool isWritable (self)
- bool open (self, OpenMode)
- OpenMode openMode (self)
- QByteArray peek (self, int)
- int pos (self)
- bool putChar (self, str)
- str read (self, int maxlen)
- QByteArray readAll (self)
- str readData (self, int maxlen)
- str readLine (self, int maxlen = 0)
- str readLineData (self, int maxlen)
- bool reset (self)
- bool seek (self, int)
- setErrorString (self, QString)
- setOpenMode (self, OpenMode)
- setTextModeEnabled (self, bool)
- int size (self)
- ungetChar (self, str)
- bool waitForBytesWritten (self, int)
- bool waitForReadyRead (self, int)
- int write (self, QByteArray)
- int writeData (self, str)
Qt Signals
Detailed Description
Type Documentation
QIODevice.OpenModeFlag
Method Documentation
QIODevice.__init__ (self)
QIODevice.__init__ (self, QObject)
The QObject argument, if not None, causes self to be owned by Qt instead of PyQt.
bool QIODevice.atEnd (self)
int QIODevice.bytesAvailable (self)
int QIODevice.bytesToWrite (self)
bool QIODevice.canReadLine (self)
QIODevice.close (self)
QString QIODevice.errorString (self)
(bool, str) QIODevice.getChar (self)
bool QIODevice.isOpen (self)
bool QIODevice.isReadable (self)
bool QIODevice.isSequential (self)
bool QIODevice.isTextModeEnabled (self)
bool QIODevice.isWritable (self)
bool QIODevice.open (self, OpenMode)
OpenMode QIODevice.openMode (self)
QByteArray QIODevice.peek (self, int)
int QIODevice.pos (self)
bool QIODevice.putChar (self, str)
str QIODevice.read (self, int maxlen)
QByteArray QIODevice.readAll (self)
str QIODevice.readData (self, int maxlen)
This method is abstract and should be reimplemented in any sub-class.
str QIODevice.readLine (self, int maxlen = 0)
str QIODevice.readLineData (self, int maxlen)
bool QIODevice.reset (self)
bool QIODevice.seek (self, int)
QIODevice.setErrorString (self, QString)
QIODevice.setOpenMode (self, OpenMode)
QIODevice.setTextModeEnabled (self, bool)
int QIODevice.size (self)
QIODevice.ungetChar (self, str)
bool QIODevice.waitForBytesWritten (self, int)
bool QIODevice.waitForReadyRead (self, int)
int QIODevice.write (self, QByteArray)
int QIODevice.writeData (self, str)
This method is abstract and should be reimplemented in any sub-class.
Qt Signal Documentation
void aboutToClose ()
This is the default overload of this signal.
void bytesWritten (qint64)
This is the default overload of this signal.
void readChannelFinished ()
This is the default overload of this signal.
void readyRead ()
This is the default overload of this signal.