Qt 4.8
|
#include <qprocess_p.h>
Classes | |
struct | Channel |
Public Functions | |
bool | _q_canReadStandardError () |
bool | _q_canReadStandardOutput () |
bool | _q_canWrite () |
void | _q_notified () |
bool | _q_processDied () |
bool | _q_startupNotification () |
qint64 | bytesAvailableFromStderr () const |
qint64 | bytesAvailableFromStdout () const |
void | cleanup () |
void | closeWriteChannel () |
bool | createChannel (Channel &channel) |
void | destroyPipe (Q_PIPE pipe[2]) |
void | execChild (const char *workingDirectory, char **path, char **argv, char **envp) |
void | findExitCode () |
void | flushPipeWriter () |
void | killProcess () |
qint64 | pipeWriterBytesToWrite () const |
bool | processStarted () |
QProcessPrivate () | |
qint64 | readFromStderr (char *data, qint64 maxlen) |
qint64 | readFromStdout (char *data, qint64 maxlen) |
void | startProcess () |
void | terminateProcess () |
bool | waitForBytesWritten (int msecs=30000) |
bool | waitForDeadChild () |
bool | waitForFinished (int msecs=30000) |
bool | waitForReadyRead (int msecs=30000) |
bool | waitForStarted (int msecs=30000) |
bool | waitForWrite (int msecs=30000) |
qint64 | writeToStdin (const char *data, qint64 maxlen) |
virtual | ~QProcessPrivate () |
Public Functions inherited from QIODevicePrivate | |
bool | isSequential () const |
virtual qint64 | peek (char *data, qint64 maxSize) |
virtual QByteArray | peek (qint64 maxSize) |
virtual bool | putCharHelper (char c) |
QIODevicePrivate () | |
virtual | ~QIODevicePrivate () |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static void | initializeProcessManager () |
static bool | startDetached (const QString &program, const QStringList &arguments, const QString &workingDirectory=QString(), qint64 *pid=0) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Additional Inherited Members | |
Public Types inherited from QIODevicePrivate | |
enum | AccessMode { Unset, Sequential, RandomAccess } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 240 of file qprocess_p.h.
QProcessPrivate::QProcessPrivate | ( | ) |
Definition at line 820 of file qprocess.cpp.
|
virtual |
Definition at line 858 of file qprocess.cpp.
bool QProcessPrivate::_q_canReadStandardError | ( | ) |
Definition at line 992 of file qprocess.cpp.
Referenced by pipeWriterBytesToWrite(), and qt_terminateApp().
bool QProcessPrivate::_q_canReadStandardOutput | ( | ) |
Definition at line 937 of file qprocess.cpp.
Referenced by pipeWriterBytesToWrite(), and qt_terminateApp().
bool QProcessPrivate::_q_canWrite | ( | ) |
Definition at line 1036 of file qprocess.cpp.
Referenced by pipeWriterBytesToWrite(), and qt_terminateApp().
void QProcessPrivate::_q_notified | ( | ) |
Definition at line 1325 of file qprocess_unix.cpp.
Referenced by pipeWriterBytesToWrite(), and qt_create_commandline().
bool QProcessPrivate::_q_processDied | ( | ) |
Definition at line 1080 of file qprocess.cpp.
Referenced by qt_create_commandline(), and qt_terminateApp().
bool QProcessPrivate::_q_startupNotification | ( | ) |
Definition at line 1149 of file qprocess.cpp.
Referenced by qt_create_commandline().
qint64 QProcessPrivate::bytesAvailableFromStderr | ( | ) | const |
Definition at line 963 of file qprocess_unix.cpp.
Referenced by pipeWriterBytesToWrite(), qt_create_commandline(), and qt_terminateApp().
qint64 QProcessPrivate::bytesAvailableFromStdout | ( | ) | const |
Definition at line 951 of file qprocess_unix.cpp.
Referenced by pipeWriterBytesToWrite(), qt_create_commandline(), and qt_terminateApp().
void QProcessPrivate::cleanup | ( | ) |
Definition at line 868 of file qprocess.cpp.
Referenced by qt_create_commandline(), and qt_create_pipe().
void QProcessPrivate::closeWriteChannel | ( | ) |
Definition at line 1178 of file qprocess.cpp.
bool QProcessPrivate::createChannel | ( | Channel & | channel | ) |
Definition at line 383 of file qprocess_unix.cpp.
Referenced by qt_create_commandline(), and qt_create_pipe().
void QProcessPrivate::destroyPipe | ( | Q_PIPE | pipe[2] | ) |
void QProcessPrivate::execChild | ( | const char * | workingDirectory, |
char ** | path, | ||
char ** | argv, | ||
char ** | envp | ||
) |
Definition at line 770 of file qprocess_unix.cpp.
void QProcessPrivate::findExitCode | ( | ) |
Definition at line 1293 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
void QProcessPrivate::flushPipeWriter | ( | ) |
Definition at line 774 of file qprocess_win.cpp.
|
static |
void QProcessPrivate::killProcess | ( | ) |
Definition at line 1021 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
qint64 QProcessPrivate::pipeWriterBytesToWrite | ( | ) | const |
Definition at line 781 of file qprocess_win.cpp.
bool QProcessPrivate::processStarted | ( | ) |
Definition at line 835 of file qprocess_unix.cpp.
Referenced by qt_create_commandline(), and qt_terminateApp().
Definition at line 985 of file qprocess_unix.cpp.
Referenced by qt_create_commandline().
Definition at line 975 of file qprocess_unix.cpp.
Referenced by qt_create_commandline().
|
static |
Definition at line 1365 of file qprocess_unix.cpp.
Referenced by _q_notified(), pipeWriterBytesToWrite(), and QProcess::startDetached().
void QProcessPrivate::startProcess | ( | ) |
Definition at line 562 of file qprocess_unix.cpp.
Referenced by qt_create_commandline().
void QProcessPrivate::terminateProcess | ( | ) |
Definition at line 1012 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
bool QProcessPrivate::waitForBytesWritten | ( | int | msecs = 30000 | ) |
Definition at line 1154 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
bool QProcessPrivate::waitForDeadChild | ( | ) |
Definition at line 1299 of file qprocess_unix.cpp.
bool QProcessPrivate::waitForFinished | ( | int | msecs = 30000 | ) |
Definition at line 1221 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
bool QProcessPrivate::waitForReadyRead | ( | int | msecs = 30000 | ) |
Definition at line 1082 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
bool QProcessPrivate::waitForStarted | ( | int | msecs = 30000 | ) |
Definition at line 1054 of file qprocess_unix.cpp.
Referenced by qt_terminateApp().
bool QProcessPrivate::waitForWrite | ( | int | msecs = 30000 | ) |
Definition at line 1285 of file qprocess_unix.cpp.
Referenced by pipeWriterBytesToWrite().
Definition at line 995 of file qprocess_unix.cpp.
Referenced by pipeWriterBytesToWrite().
QStringList QProcessPrivate::arguments |
Definition at line 324 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), and qt_create_commandline().
Q_PIPE QProcessPrivate::childStartedPipe[2] |
Definition at line 334 of file qprocess_p.h.
bool QProcessPrivate::crashed |
Definition at line 369 of file qprocess_p.h.
Referenced by qt_terminateApp().
QSocketNotifier* QProcessPrivate::deathNotifier |
Definition at line 339 of file qprocess_p.h.
Q_PIPE QProcessPrivate::deathPipe[2] |
Definition at line 335 of file qprocess_p.h.
bool QProcessPrivate::dying |
Definition at line 313 of file qprocess_p.h.
bool QProcessPrivate::emittedBytesWritten |
Definition at line 315 of file qprocess_p.h.
bool QProcessPrivate::emittedReadyRead |
Definition at line 314 of file qprocess_p.h.
QProcessEnvironment QProcessPrivate::environment |
Definition at line 328 of file qprocess_p.h.
Referenced by qt_create_commandline().
QRingBuffer QProcessPrivate::errorReadBuffer |
Definition at line 331 of file qprocess_p.h.
int QProcessPrivate::exitCode |
Definition at line 367 of file qprocess_p.h.
Referenced by qt_terminateApp().
QProcess::ExitStatus QProcessPrivate::exitStatus |
Definition at line 368 of file qprocess_p.h.
QString QProcessPrivate::nativeArguments |
Definition at line 326 of file qprocess_p.h.
Referenced by qt_create_commandline().
QTimer* QProcessPrivate::notifier |
Definition at line 342 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), and qt_create_commandline().
QRingBuffer QProcessPrivate::outputReadBuffer |
Definition at line 330 of file qprocess_p.h.
Q_PID QProcessPrivate::pid |
Definition at line 310 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), qt_create_commandline(), and qt_terminateApp().
QWindowsPipeWriter* QProcessPrivate::pipeWriter |
Definition at line 343 of file qprocess_p.h.
Referenced by flushPipeWriter(), pipeWriterBytesToWrite(), qt_create_pipe(), and qt_terminateApp().
QProcess::ProcessChannel QProcessPrivate::processChannel |
Definition at line 305 of file qprocess_p.h.
QProcess::ProcessChannelMode QProcessPrivate::processChannelMode |
Definition at line 306 of file qprocess_p.h.
Referenced by qt_create_commandline(), and qt_create_pipe().
QProcess::ProcessError QProcessPrivate::processError |
Definition at line 307 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), qt_create_commandline(), qt_create_pipe(), and qt_terminateApp().
QWinEventNotifier* QProcessPrivate::processFinishedNotifier |
Definition at line 344 of file qprocess_p.h.
Referenced by qt_create_commandline().
QProcess::ProcessState QProcessPrivate::processState |
Definition at line 308 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), and qt_create_commandline().
QString QProcessPrivate::program |
Definition at line 323 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), and qt_create_commandline().
int QProcessPrivate::sequenceNumber |
Definition at line 311 of file qprocess_p.h.
int QProcessPrivate::serial |
Definition at line 371 of file qprocess_p.h.
QSocketNotifier* QProcessPrivate::startupSocketNotifier |
Definition at line 338 of file qprocess_p.h.
Channel QProcessPrivate::stderrChannel |
Definition at line 319 of file qprocess_p.h.
Referenced by qt_create_commandline(), and qt_create_pipe().
Channel QProcessPrivate::stdinChannel |
Definition at line 317 of file qprocess_p.h.
Referenced by createChannel(), pipeWriterBytesToWrite(), qt_create_commandline(), qt_create_pipe(), and QProcess::setStandardOutputProcess().
Channel QProcessPrivate::stdoutChannel |
Definition at line 318 of file qprocess_p.h.
Referenced by createChannel(), qt_create_commandline(), qt_create_pipe(), and QProcess::setStandardOutputProcess().
QString QProcessPrivate::workingDirectory |
Definition at line 309 of file qprocess_p.h.
Referenced by qt_create_commandline().
QRingBuffer QProcessPrivate::writeBuffer |
Definition at line 332 of file qprocess_p.h.
Referenced by pipeWriterBytesToWrite(), and qt_terminateApp().