List of all members | Properties | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
QIODeviceProto Class Reference

This class exposes the QIODevice class to Qt Scripting. More...

#include <qiodeviceproto.h>

Inheritance diagram for QIODeviceProto:
QObject QScriptable

Properties

 objectName
 

Signals

void aboutToClose ()
 
void bytesWritten (qint64 bytes)
 
void readChannelFinished ()
 
void readyRead ()
 

Public Member Functions

 QIODeviceProto (QObject *parent)
 
QScriptValue argument (int index) const
 
int argumentCount () const
 
Q_INVOKABLE bool atEnd () const
 
bool blockSignals (bool block)
 
Q_INVOKABLE qint64 bytesAvailable () const
 
Q_INVOKABLE qint64 bytesToWrite () const
 
Q_INVOKABLE bool canReadLine () const
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
Q_INVOKABLE void close ()
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
QScriptContextcontext () const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
QScriptEngineengine () const
 
Q_INVOKABLE QString errorString () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
Q_INVOKABLE bool getChar (char *c)
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
Q_INVOKABLE bool isOpen () const
 
Q_INVOKABLE bool isReadable () const
 
Q_INVOKABLE bool isSequential () const
 
Q_INVOKABLE bool isTextModeEnabled () const
 
bool isWidgetType () const
 
Q_INVOKABLE bool isWritable () const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name (const char *defaultName) const
 
const char * name () const
 
QString objectName () const
 
Q_INVOKABLE bool open (QIODevice::OpenMode mode)
 
Q_INVOKABLE QIODevice::OpenMode openMode () const
 
QObjectparent () 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 removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
Q_INVOKABLE bool reset ()
 
Q_INVOKABLE bool seek (qint64 pos)
 
void setName (const char *name)
 
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)
 
QScriptValue thisObject () const
 
QThreadthread () 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)
 

Static Public Member Functions

bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *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

bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Static Protected Member Functions

QByteArray normalizeSignalSlot (const char *signalSlot)
 

Detailed Description

This class exposes the QIODevice class to Qt Scripting.

The QIODeviceProto class exposes as much of the API to the QIODevice class as possible.

Constructor & Destructor Documentation

QIODeviceProto::QIODeviceProto ( QObject parent)

Member Function Documentation

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)
QByteArray QIODeviceProto::readAll ( )
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 
)

The documentation for this class was generated from the following files:

Generated on Mon Dec 1 2014 xTuple ERP Programmer Reference, Version 4.8.0 doxygen 1.8.7