This class exposes the QIODevice class to Qt Scripting. More...
#include <qiodeviceproto.h>
Public Member Functions | |
| QIODeviceProto (QObject *parent) | |
| Q_INVOKABLE bool | atEnd () const |
| Q_INVOKABLE qint64 | bytesAvailable () const |
| Q_INVOKABLE qint64 | bytesToWrite () const |
| Q_INVOKABLE bool | canReadLine () const |
| Q_INVOKABLE void | close () |
| Q_INVOKABLE QString | errorString () const |
| Q_INVOKABLE bool | getChar (char *c) |
| Q_INVOKABLE bool | isOpen () const |
| Q_INVOKABLE bool | isReadable () const |
| Q_INVOKABLE bool | isSequential () const |
| Q_INVOKABLE bool | isTextModeEnabled () const |
| Q_INVOKABLE bool | isWritable () const |
| Q_INVOKABLE bool | open (QIODevice::OpenMode mode) |
| Q_INVOKABLE QIODevice::OpenMode | openMode () const |
| Q_INVOKABLE qint64 | peek (char *data, qint64 maxSize) |
| Q_INVOKABLE QByteArray | peek (qint64 maxSize) |
| Q_INVOKABLE qint64 | pos () const |
| Q_INVOKABLE bool | putChar (char c) |
| Q_INVOKABLE qint64 | read (char *data, qint64 maxSize) |
| Q_INVOKABLE QByteArray | read (qint64 maxSize) |
| Q_INVOKABLE QByteArray | readAll () |
| Q_INVOKABLE qint64 | readLine (char *data, qint64 maxSize) |
| Q_INVOKABLE QByteArray | readLine (qint64 maxSize=0) |
| Q_INVOKABLE bool | reset () |
| Q_INVOKABLE bool | seek (qint64 pos) |
| Q_INVOKABLE void | setTextModeEnabled (bool enabled) |
| Q_INVOKABLE qint64 | size () const |
| Q_INVOKABLE void | ungetChar (char c) |
| Q_INVOKABLE bool | waitForBytesWritten (int msecs) |
| Q_INVOKABLE bool | waitForReadyRead (int msecs) |
| Q_INVOKABLE qint64 | write (const QByteArray &byteArray) |
| Q_INVOKABLE qint64 | write (const char *data) |
| Q_INVOKABLE qint64 | write (const char *data, qint64 maxSize) |
Signals | |
| void | aboutToClose () |
| void | bytesWritten (qint64 bytes) |
| void | readChannelFinished () |
| void | readyRead () |
This class exposes the QIODevice class to Qt Scripting.
The QIODeviceProto class exposes as much of the API to the QIODevice class as possible.
| QIODeviceProto::QIODeviceProto | ( | QObject * | parent | ) |
| void QIODeviceProto::aboutToClose | ( | ) | [signal] |
| bool QIODeviceProto::atEnd | ( | ) | const |
| qint64 QIODeviceProto::bytesAvailable | ( | ) | const |
| qint64 QIODeviceProto::bytesToWrite | ( | ) | const |
| void QIODeviceProto::bytesWritten | ( | qint64 | bytes | ) | [signal] |
| bool QIODeviceProto::canReadLine | ( | ) | const |
| void QIODeviceProto::close | ( | ) |
| QString QIODeviceProto::errorString | ( | ) | const |
| bool QIODeviceProto::getChar | ( | char * | c | ) |
| bool QIODeviceProto::isOpen | ( | ) | const |
| bool QIODeviceProto::isReadable | ( | ) | const |
| bool QIODeviceProto::isSequential | ( | ) | const |
| bool QIODeviceProto::isTextModeEnabled | ( | ) | const |
| bool QIODeviceProto::isWritable | ( | ) | const |
| bool QIODeviceProto::open | ( | QIODevice::OpenMode | mode | ) |
| QIODevice::OpenMode QIODeviceProto::openMode | ( | ) | const |
| qint64 QIODeviceProto::peek | ( | char * | data, |
| qint64 | maxSize | ||
| ) |
| QByteArray QIODeviceProto::peek | ( | qint64 | maxSize | ) |
| qint64 QIODeviceProto::pos | ( | ) | const |
| bool QIODeviceProto::putChar | ( | char | c | ) |
| qint64 QIODeviceProto::read | ( | char * | data, |
| qint64 | maxSize | ||
| ) |
| QByteArray QIODeviceProto::read | ( | qint64 | maxSize | ) |
| void QIODeviceProto::readChannelFinished | ( | ) | [signal] |
| qint64 QIODeviceProto::readLine | ( | char * | data, |
| qint64 | maxSize | ||
| ) |
| QByteArray QIODeviceProto::readLine | ( | qint64 | maxSize = 0 | ) |
| void QIODeviceProto::readyRead | ( | ) | [signal] |
| bool QIODeviceProto::reset | ( | ) |
| bool QIODeviceProto::seek | ( | qint64 | pos | ) |
| void QIODeviceProto::setTextModeEnabled | ( | bool | enabled | ) |
| qint64 QIODeviceProto::size | ( | ) | const |
| void QIODeviceProto::ungetChar | ( | char | c | ) |
| bool QIODeviceProto::waitForBytesWritten | ( | int | msecs | ) |
| bool QIODeviceProto::waitForReadyRead | ( | int | msecs | ) |
| qint64 QIODeviceProto::write | ( | const QByteArray & | byteArray | ) |
| qint64 QIODeviceProto::write | ( | const char * | data | ) |
| qint64 QIODeviceProto::write | ( | const char * | data, |
| qint64 | maxSize | ||
| ) |
| Generated on Mon Jan 23 2012 12:22:36 | xTuple ERP Programmer Reference, Version 3.8.0 |
1.7.6.1
|