This class exposes the QIODevice class to Qt Scripting. More...
#include <qprocessproto.h>
Public Slots | |
void | kill () |
void | terminate () |
Signals | |
void | aboutToClose () |
void | bytesWritten (qint64 bytes) |
void | readChannelFinished () |
void | readyRead () |
Public Member Functions | |
QProcessProto (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 void | closeReadChannel (QProcess::ProcessChannel channel) |
Q_INVOKABLE void | closeWriteChannel () |
Q_INVOKABLE QProcess::ProcessError | error () const |
Q_INVOKABLE QString | errorString () const |
Q_INVOKABLE int | exitCode () const |
Q_INVOKABLE QProcess::ExitStatus | exitStatus () 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 Q_PID | pid () const |
Q_INVOKABLE qint64 | pos () const |
Q_INVOKABLE QProcess::ProcessChannelMode | processChannelMode () const |
Q_INVOKABLE QProcessEnvironment | processEnvironment () 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) |
Q_INVOKABLE bool | reset () |
Q_INVOKABLE bool | seek (qint64 pos) |
Q_INVOKABLE void | setProcessChannelMode (QProcess::ProcessChannelMode mode) |
Q_INVOKABLE void | setProcessEnvironment (const QProcessEnvironment &environment) |
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) |
Q_INVOKABLE qint64 | size () const |
Q_INVOKABLE void | start (const QString &program, const QStringList &arguments, QIODevice::OpenMode mode=QIODevice::ReadWrite) |
Q_INVOKABLE void | start (const QString &program, QIODevice::OpenMode mode=QIODevice::ReadWrite) |
Q_INVOKABLE QProcess::ProcessState | state () 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 char *data) |
Q_INVOKABLE qint64 | write (const char *data, qint64 maxSize) |
Q_INVOKABLE qint64 | write (const QByteArray &byteArray) |
This class exposes the QIODevice class to Qt Scripting.
The QProcessProto class exposes as much of the API to the QProcess class as possible.
QProcessProto::QProcessProto | ( | QObject * | parent | ) |
|
signal |
bool QProcessProto::atEnd | ( | ) | const |
qint64 QProcessProto::bytesAvailable | ( | ) | const |
qint64 QProcessProto::bytesToWrite | ( | ) | const |
|
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 |
|
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 |
|
signal |
qint64 QProcessProto::readLine | ( | char * | data, |
qint64 | maxSize | ||
) |
QByteArray QProcessProto::readLine | ( | qint64 | maxSize = 0 | ) |
|
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, |
const QStringList & | arguments, | ||
QIODevice::OpenMode | mode = QIODevice::ReadWrite |
||
) |
void QProcessProto::start | ( | const QString & | program, |
QIODevice::OpenMode | mode = QIODevice::ReadWrite |
||
) |
QProcess::ProcessState QProcessProto::state | ( | ) | const |
|
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 char * | data | ) |
qint64 QProcessProto::write | ( | const char * | data, |
qint64 | maxSize | ||
) |
qint64 QProcessProto::write | ( | const QByteArray & | byteArray | ) |
Generated on Fri Apr 9 2021 | xTuple ERP Programmer Reference, Version 5.0.0 | 1.8.17 |