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

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

#include <qprocessproto.h>

Inheritance diagram for QProcessProto:
QObject QScriptable

Properties

 objectName
 

Public Slots

void kill ()
 
void terminate ()
 

Signals

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

Public Member Functions

 QProcessProto (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 ()
 
Q_INVOKABLE void closeReadChannel (QProcess::ProcessChannel channel)
 
Q_INVOKABLE void closeWriteChannel ()
 
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 char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
QScriptEngineengine () const
 
Q_INVOKABLE QProcess::ProcessError error () const
 
Q_INVOKABLE QString errorString () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE int exitCode () const
 
Q_INVOKABLE QProcess::ExitStatus exitStatus () const
 
findChild (const QString &name) const
 
QList< T > findChildren (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) 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 Q_PID pid () const
 
Q_INVOKABLE qint64 pos () const
 
Q_INVOKABLE QProcess::ProcessChannelMode processChannelMode () const
 
Q_INVOKABLE QProcessEnvironment processEnvironment () 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 QByteArray readAllStandardError ()
 
Q_INVOKABLE QByteArray readAllStandardOutput ()
 
Q_INVOKABLE QProcess::ProcessChannel readChannel () const
 
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)
 
Q_INVOKABLE void setProcessChannelMode (QProcess::ProcessChannelMode mode)
 
Q_INVOKABLE void setProcessEnvironment (const QProcessEnvironment &environment)
 
bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE void setReadChannel (QProcess::ProcessChannel channel)
 
Q_INVOKABLE void setStandardErrorFile (const QString &fileName, QIODevice::OpenMode mode=QIODevice::Truncate)
 
Q_INVOKABLE void setStandardInputFile (const QString &fileName)
 
Q_INVOKABLE void setStandardOutputFile (const QString &fileName, QIODevice::OpenMode mode=QIODevice::Truncate)
 
Q_INVOKABLE void setStandardOutputProcess (QProcess *destination)
 
Q_INVOKABLE void setTextModeEnabled (bool enabled)
 
Q_INVOKABLE void setWorkingDirectory (const QString &dir)
 
bool signalsBlocked () const
 
Q_INVOKABLE qint64 size () const
 
Q_INVOKABLE void start (const QString &program, QIODevice::OpenMode mode=QIODevice::ReadWrite)
 
Q_INVOKABLE void start (const QString &program, const QStringList &arguments, QIODevice::OpenMode mode=QIODevice::ReadWrite)
 
int startTimer (int interval)
 
Q_INVOKABLE QProcess::ProcessState state () const
 
QScriptValue thisObject () const
 
QThreadthread () const
 
Q_INVOKABLE void ungetChar (char c)
 
Q_INVOKABLE bool waitForBytesWritten (int msecs)
 
Q_INVOKABLE bool waitForFinished (int msecs=30000)
 
Q_INVOKABLE bool waitForReadyRead (int msecs)
 
Q_INVOKABLE bool waitForStarted (int msecs=30000)
 
Q_INVOKABLE QString workingDirectory () const
 
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 QProcessProto class exposes as much of the API to the QProcess class as possible.

Constructor & Destructor Documentation

QProcessProto::QProcessProto ( QObject parent)

Member Function Documentation

void QProcessProto::aboutToClose ( )
signal
bool QProcessProto::atEnd ( ) const
qint64 QProcessProto::bytesAvailable ( ) const
qint64 QProcessProto::bytesToWrite ( ) const
void QProcessProto::bytesWritten ( qint64  bytes)
signal
bool QProcessProto::canReadLine ( ) const
void QProcessProto::close ( )
void QProcessProto::closeReadChannel ( QProcess::ProcessChannel  channel)
void QProcessProto::closeWriteChannel ( )
QProcess::ProcessError QProcessProto::error ( ) const
QString QProcessProto::errorString ( ) const
int QProcessProto::exitCode ( ) const
QProcess::ExitStatus QProcessProto::exitStatus ( ) const
bool QProcessProto::getChar ( char *  c)
bool QProcessProto::isOpen ( ) const
bool QProcessProto::isReadable ( ) const
bool QProcessProto::isSequential ( ) const
bool QProcessProto::isTextModeEnabled ( ) const
bool QProcessProto::isWritable ( ) const
void QProcessProto::kill ( )
slot
bool QProcessProto::open ( QIODevice::OpenMode  mode)
QIODevice::OpenMode QProcessProto::openMode ( ) const
qint64 QProcessProto::peek ( char *  data,
qint64  maxSize 
)
QByteArray QProcessProto::peek ( qint64  maxSize)
Q_PID QProcessProto::pid ( ) const
qint64 QProcessProto::pos ( ) const
QProcess::ProcessChannelMode QProcessProto::processChannelMode ( ) const
QProcessEnvironment QProcessProto::processEnvironment ( ) const
bool QProcessProto::putChar ( char  c)
qint64 QProcessProto::read ( char *  data,
qint64  maxSize 
)
QByteArray QProcessProto::read ( qint64  maxSize)
QByteArray QProcessProto::readAll ( )
QByteArray QProcessProto::readAllStandardError ( )
QByteArray QProcessProto::readAllStandardOutput ( )
QProcess::ProcessChannel QProcessProto::readChannel ( ) const
void QProcessProto::readChannelFinished ( )
signal
qint64 QProcessProto::readLine ( char *  data,
qint64  maxSize 
)
QByteArray QProcessProto::readLine ( qint64  maxSize = 0)
void QProcessProto::readyRead ( )
signal
bool QProcessProto::reset ( )
bool QProcessProto::seek ( qint64  pos)
void QProcessProto::setProcessChannelMode ( QProcess::ProcessChannelMode  mode)
void QProcessProto::setProcessEnvironment ( const QProcessEnvironment environment)
void QProcessProto::setReadChannel ( QProcess::ProcessChannel  channel)
void QProcessProto::setStandardErrorFile ( const QString fileName,
QIODevice::OpenMode  mode = QIODevice::Truncate 
)
void QProcessProto::setStandardInputFile ( const QString fileName)
void QProcessProto::setStandardOutputFile ( const QString fileName,
QIODevice::OpenMode  mode = QIODevice::Truncate 
)
void QProcessProto::setStandardOutputProcess ( QProcess destination)
void QProcessProto::setTextModeEnabled ( bool  enabled)
void QProcessProto::setWorkingDirectory ( const QString dir)
qint64 QProcessProto::size ( ) const
void QProcessProto::start ( const QString program,
QIODevice::OpenMode  mode = QIODevice::ReadWrite 
)
void QProcessProto::start ( const QString program,
const QStringList arguments,
QIODevice::OpenMode  mode = QIODevice::ReadWrite 
)
QProcess::ProcessState QProcessProto::state ( ) const
void QProcessProto::terminate ( )
slot
void QProcessProto::ungetChar ( char  c)
bool QProcessProto::waitForBytesWritten ( int  msecs)
bool QProcessProto::waitForFinished ( int  msecs = 30000)
bool QProcessProto::waitForReadyRead ( int  msecs)
bool QProcessProto::waitForStarted ( int  msecs = 30000)
QString QProcessProto::workingDirectory ( ) const
qint64 QProcessProto::write ( const QByteArray byteArray)
qint64 QProcessProto::write ( const char *  data)
qint64 QProcessProto::write ( const char *  data,
qint64  maxSize 
)

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

Generated on Fri Jul 10 2015 xTuple ERP Programmer Reference, Version 4.9.0 doxygen 1.8.10