This class exposes the QIODevice class to Qt Scripting. More...
#include <qiodeviceproto.h>
Properties | |
objectName | |
Signals | |
void | aboutToClose () |
void | bytesWritten (qint64 bytes) |
void | readChannelFinished () |
void | readyRead () |
Public Member Functions | |
QIODeviceProto (QObject *parent) | |
Q_INVOKABLE bool | atEnd () const |
bool | blockSignals (bool block) |
Q_INVOKABLE qint64 | bytesAvailable () const |
Q_INVOKABLE qint64 | bytesToWrite () const |
Q_INVOKABLE bool | canReadLine () const |
const QObjectList & | children () const |
Q_INVOKABLE void | close () |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
bool | disconnect (const QObject *receiver, const char *method) const |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
Q_INVOKABLE QString | errorString () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
Q_INVOKABLE char | getChar () |
bool | inherits (const char *className) const |
void | installEventFilter (QObject *filterObj) |
Q_INVOKABLE bool | isOpen () const |
Q_INVOKABLE bool | isReadable () const |
Q_INVOKABLE bool | isSequential () const |
Q_INVOKABLE bool | isTextModeEnabled () const |
bool | isWidgetType () const |
bool | isWindowType () const |
Q_INVOKABLE bool | isWritable () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const |
void | objectNameChanged (const QString &objectName) |
Q_INVOKABLE bool | open (QIODevice::OpenMode mode) |
Q_INVOKABLE QIODevice::OpenMode | openMode () const |
QObject * | parent () const |
Q_INVOKABLE qint64 | peek (char *data, qint64 maxSize) |
Q_INVOKABLE QByteArray | peek (qint64 maxSize) |
Q_INVOKABLE qint64 | pos () const |
QVariant | property (const char *name) 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) |
void | removeEventFilter (QObject *obj) |
Q_INVOKABLE bool | reset () |
Q_INVOKABLE bool | seek (qint64 pos) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
Q_INVOKABLE void | setTextModeEnabled (bool enabled) |
bool | signalsBlocked () const |
Q_INVOKABLE qint64 | size () const |
int | startTimer (int interval, Qt::TimerType timerType) |
QThread * | thread () 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 (char data) |
Q_INVOKABLE qint64 | write (char data, qint64 maxSize) |
Static Public Member Functions | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
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 | ) |
|
signal |
bool QIODeviceProto::atEnd | ( | ) | const |
qint64 QIODeviceProto::bytesAvailable | ( | ) | const |
qint64 QIODeviceProto::bytesToWrite | ( | ) | const |
|
signal |
bool QIODeviceProto::canReadLine | ( | ) | const |
void QIODeviceProto::close | ( | ) |
QString QIODeviceProto::errorString | ( | ) | const |
char QIODeviceProto::getChar | ( | ) |
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 | ) |
QByteArray QIODeviceProto::readAll | ( | ) |
|
signal |
qint64 QIODeviceProto::readLine | ( | char * | data, |
qint64 | maxSize | ||
) |
QByteArray QIODeviceProto::readLine | ( | qint64 | maxSize = 0 | ) |
|
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 | ( | char | data | ) |
qint64 QIODeviceProto::write | ( | char | data, |
qint64 | maxSize | ||
) |
Generated on Fri Aug 11 2017 | xTuple ERP Programmer Reference, Version 4.11.0 |
![]() |