API reference - Class QProcessNotation used in Ruby API documentation Description: Binding of QProcess Class hierarchy: QProcess » QIODevice » QObject Sub-classes: ExitStatus, ProcessChannel, ProcessChannelMode, ProcessError, ProcessState
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QProcess_ExitStatus ptr CrashExitDescription: Enum constant QProcess::CrashExit [static,const] new QProcess_ProcessError ptr CrashedDescription: Enum constant QProcess::Crashed [static,const] new QProcess_ProcessError ptr FailedToStartDescription: Enum constant QProcess::FailedToStart [static,const] new QProcess_ProcessChannelMode ptr ForwardedChannelsDescription: Enum constant QProcess::ForwardedChannels [static,const] new QProcess_ProcessChannelMode ptr MergedChannelsDescription: Enum constant QProcess::MergedChannels [static,const] new QProcess_ExitStatus ptr NormalExitDescription: Enum constant QProcess::NormalExit [static,const] new QProcess_ProcessState ptr NotRunningDescription: Enum constant QProcess::NotRunning [static,const] new QProcess_ProcessError ptr ReadErrorDescription: Enum constant QProcess::ReadError [static,const] new QProcess_ProcessState ptr RunningDescription: Enum constant QProcess::Running [static,const] new QProcess_ProcessChannelMode ptr SeparateChannelsDescription: Enum constant QProcess::SeparateChannels [static,const] new QProcess_ProcessChannel ptr StandardErrorDescription: Enum constant QProcess::StandardError [static,const] new QProcess_ProcessChannel ptr StandardOutputDescription: Enum constant QProcess::StandardOutput [static,const] new QProcess_ProcessState ptr StartingDescription: Enum constant QProcess::Starting [static,const] new QProcess_ProcessError ptr TimedoutDescription: Enum constant QProcess::Timedout [static,const] new QProcess_ProcessError ptr UnknownErrorDescription: Enum constant QProcess::UnknownError [static,const] new QProcess_ProcessError ptr WriteErrorDescription: Enum constant QProcess::WriteError void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [event] void aboutToCloseDescription: Signal declaration for QProcess::aboutToClose() You can bind a procedure to this signal. [const] bool atEndDescription: Method bool QProcess::atEnd() This is a reimplementation of QIODevice::atEnd [const] long long bytesAvailableDescription: Method qint64 QProcess::bytesAvailable() This is a reimplementation of QIODevice::bytesAvailable [const] long long bytesToWriteDescription: Method qint64 QProcess::bytesToWrite() This is a reimplementation of QIODevice::bytesToWrite [event] void bytesWritten(long long bytes)Description: Signal declaration for QProcess::bytesWritten(qint64 bytes) You can bind a procedure to this signal. [const] bool canReadLineDescription: Method bool QProcess::canReadLine() This is a reimplementation of QIODevice::canReadLine void closeDescription: Method void QProcess::close() This is a reimplementation of QIODevice::close void closeReadChannel(const QProcess_ProcessChannel channel)Description: Method void QProcess::closeReadChannel(QProcess::ProcessChannel channel) void closeWriteChannelDescription: Method void QProcess::closeWriteChannel() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QProcess::destroyed(QObject *) You can bind a procedure to this signal. [const] string[] environmentDescription: Method QStringList QProcess::environment() Python specific notes:The object exposes a readable attribute 'environment'. This is the getter. void environment=(string[] environment)Description: Method void QProcess::setEnvironment(const QStringList &environment) Python specific notes:The object exposes a writable attribute 'environment'. This is the setter. [const] QProcess_ProcessError errorDescription: Method QProcess::ProcessError QProcess::error() [event] void error(const QProcess_ProcessError error)Description: Signal declaration for QProcess::error(QProcess::ProcessError error) You can bind a procedure to this signal. [static] int execute(string program,string[] arguments)Description: Static method int QProcess::execute(const QString &program, const QStringList &arguments) This method is static and can be called without an instance. [static] int execute(string program)Description: Static method int QProcess::execute(const QString &program) This method is static and can be called without an instance. [const] int exitCodeDescription: Method int QProcess::exitCode() [const] QProcess_ExitStatus exitStatusDescription: Method QProcess::ExitStatus QProcess::exitStatus() [event] void finished(int exitCode)Description: Signal declaration for QProcess::finished(int exitCode) You can bind a procedure to this signal. [event] void finished(int exitCode,const QProcess_ExitStatus exitStatus)Description: Signal declaration for QProcess::finished(int exitCode, QProcess::ExitStatus exitStatus) You can bind a procedure to this signal. [const] bool isSequential?Description: Method bool QProcess::isSequential() This is a reimplementation of QIODevice::isSequential [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead void killDescription: Method void QProcess::kill() [static] new QProcess new(QObject ptr parent = 0)Description: Constructor QProcess::QProcess(QObject *parent) This method creates an object of class QProcess. Python specific notes:This method is the default initializer of the object [const] unsigned long pidDescription: Method Q_PID QProcess::pid() [const] QProcess_ProcessChannelMode processChannelModeDescription: Method QProcess::ProcessChannelMode QProcess::processChannelMode() Python specific notes:The object exposes a readable attribute 'processChannelMode'. This is the getter. void processChannelMode=(const QProcess_ProcessChannelMode mode)Description: Method void QProcess::setProcessChannelMode(QProcess::ProcessChannelMode mode) Python specific notes:The object exposes a writable attribute 'processChannelMode'. This is the setter. [const] QProcessEnvironment processEnvironmentDescription: Method QProcessEnvironment QProcess::processEnvironment() Python specific notes:The object exposes a readable attribute 'processEnvironment'. This is the getter. void processEnvironment=(const QProcessEnvironment environment)Description: Method void QProcess::setProcessEnvironment(const QProcessEnvironment &environment) Python specific notes:The object exposes a writable attribute 'processEnvironment'. This is the setter. string readAllStandardErrorDescription: Method QByteArray QProcess::readAllStandardError() string readAllStandardOutputDescription: Method QByteArray QProcess::readAllStandardOutput() [const] QProcess_ProcessChannel readChannelDescription: Method QProcess::ProcessChannel QProcess::readChannel() Python specific notes:The object exposes a readable attribute 'readChannel'. This is the getter. void readChannel=(const QProcess_ProcessChannel channel)Description: Method void QProcess::setReadChannel(QProcess::ProcessChannel channel) Python specific notes:The object exposes a writable attribute 'readChannel'. This is the setter. [event] void readChannelFinishedDescription: Signal declaration for QProcess::readChannelFinished() You can bind a procedure to this signal. [const] QProcess_ProcessChannelMode readChannelModeDescription: Method QProcess::ProcessChannelMode QProcess::readChannelMode() Python specific notes:The object exposes a readable attribute 'readChannelMode'. This is the getter. void readChannelMode=(const QProcess_ProcessChannelMode mode)Description: Method void QProcess::setReadChannelMode(QProcess::ProcessChannelMode mode) Python specific notes:The object exposes a writable attribute 'readChannelMode'. This is the setter. [event] void readyReadDescription: Signal declaration for QProcess::readyRead() You can bind a procedure to this signal. [event] void readyReadStandardErrorDescription: Signal declaration for QProcess::readyReadStandardError() You can bind a procedure to this signal. [event] void readyReadStandardOutputDescription: Signal declaration for QProcess::readyReadStandardOutput() You can bind a procedure to this signal. void setEnvironment(string[] environment)Description: Method void QProcess::setEnvironment(const QStringList &environment) Python specific notes:The object exposes a writable attribute 'environment'. This is the setter. void setProcessChannelMode(const QProcess_ProcessChannelMode mode)Description: Method void QProcess::setProcessChannelMode(QProcess::ProcessChannelMode mode) Python specific notes:The object exposes a writable attribute 'processChannelMode'. This is the setter. void setProcessEnvironment(const QProcessEnvironment environment)Description: Method void QProcess::setProcessEnvironment(const QProcessEnvironment &environment) Python specific notes:The object exposes a writable attribute 'processEnvironment'. This is the setter. void setReadChannel(const QProcess_ProcessChannel channel)Description: Method void QProcess::setReadChannel(QProcess::ProcessChannel channel) Python specific notes:The object exposes a writable attribute 'readChannel'. This is the setter. void setReadChannelMode(const QProcess_ProcessChannelMode mode)Description: Method void QProcess::setReadChannelMode(QProcess::ProcessChannelMode mode) Python specific notes:The object exposes a writable attribute 'readChannelMode'. This is the setter. void setStandardErrorFile(string fileName,const QIODevice_QFlags_OpenModeFlag mode = QIODevice::Truncate)Description: Method void QProcess::setStandardErrorFile(const QString &fileName, QFlags<QIODevice::OpenModeFlag> mode) void setStandardInputFile(string fileName)Description: Method void QProcess::setStandardInputFile(const QString &fileName) void setStandardOutputFile(string fileName,const QIODevice_QFlags_OpenModeFlag mode = QIODevice::Truncate)Description: Method void QProcess::setStandardOutputFile(const QString &fileName, QFlags<QIODevice::OpenModeFlag> mode) void setStandardOutputProcess(QProcess ptr destination)Description: Method void QProcess::setStandardOutputProcess(QProcess *destination) void setWorkingDirectory(string dir)Description: Method void QProcess::setWorkingDirectory(const QString &dir) Python specific notes:The object exposes a writable attribute 'workingDirectory'. This is the setter. void start(string program,string[] arguments,const QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite)Description: Method void QProcess::start(const QString &program, const QStringList &arguments, QFlags<QIODevice::OpenModeFlag> mode) void start(string program,const QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite)Description: Method void QProcess::start(const QString &program, QFlags<QIODevice::OpenModeFlag> mode) [static] bool startDetached(string program,string[] arguments,string workingDirectory,long long ptr pid = 0)Description: Static method bool QProcess::startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid) This method is static and can be called without an instance. [static] bool startDetached(string program,string[] arguments)Description: Static method bool QProcess::startDetached(const QString &program, const QStringList &arguments) This method is static and can be called without an instance. [static] bool startDetached(string program)Description: Static method bool QProcess::startDetached(const QString &program) This method is static and can be called without an instance. [event] void startedDescription: Signal declaration for QProcess::started() You can bind a procedure to this signal. [const] QProcess_ProcessState stateDescription: Method QProcess::ProcessState QProcess::state() [event] void stateChanged(const QProcess_ProcessState state)Description: Signal declaration for QProcess::stateChanged(QProcess::ProcessState state) You can bind a procedure to this signal. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [static] string[] systemEnvironmentDescription: Static method QStringList QProcess::systemEnvironment() This method is static and can be called without an instance. void terminateDescription: Method void QProcess::terminate() [static] string tr(string s,string c = 0)Description: Static method QString QProcess::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QProcess::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QProcess::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QProcess::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. bool waitForBytesWritten(int msecs = 30000)Description: Method bool QProcess::waitForBytesWritten(int msecs) This is a reimplementation of QIODevice::waitForBytesWritten bool waitForFinished(int msecs = 30000)Description: Method bool QProcess::waitForFinished(int msecs) bool waitForReadyRead(int msecs = 30000)Description: Method bool QProcess::waitForReadyRead(int msecs) This is a reimplementation of QIODevice::waitForReadyRead bool waitForStarted(int msecs = 30000)Description: Method bool QProcess::waitForStarted(int msecs) [const] string workingDirectoryDescription: Method QString QProcess::workingDirectory() Python specific notes:The object exposes a readable attribute 'workingDirectory'. This is the getter. void workingDirectory=(string dir)Description: Method void QProcess::setWorkingDirectory(const QString &dir) Python specific notes:The object exposes a writable attribute 'workingDirectory'. This is the setter. |