Home · All Classes · Modules

QIODevice Class Reference
[QtCore module]

Inherits QObject.

Inherited by QAbstractSocket, QBuffer, QFile, QLocalSocket, QNetworkReply and QProcess.

Types

Methods

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.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0