KDE3Support
k3procio.cpp
Go to the documentation of this file.
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
int length() const
virtual bool start(RunMode runmode=NotifyOnExit, Communication comm=NoCommunication)
Starts the process.
Definition: k3process.cpp:239
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void receivedStdout(K3Process *proc, char *buffer, int buflen)
Emitted, when output from the child process has been received on stdout.
void ackRead()
Call this after you have finished processing a readReady() signal.
Definition: k3procio.cpp:197
bool writeStdin(const char *buffer, int buflen)
Transmit data to the child process' stdin.
Definition: k3process.cpp:560
void truncate(int pos)
bool start(RunMode runmode=NotifyOnExit, bool includeStderr=false)
Starts the process.
Definition: k3procio.cpp:96
void receivedStderr(K3Process *proc, char *buffer, int buflen)
Emitted, when output from the child process has been received on stderr.
bool writeStdin(const QString &line, bool appendnewline=true)
Writes text to stdin of the process.
Definition: k3procio.cpp:113
int readln(QString &line, bool autoAck=true, bool *partial=0)
Reads a line of text (up to and including '\n').
Definition: k3procio.cpp:225
void wroteStdin(K3Process *proc)
Emitted after all the data that has been specified by a prior call to writeStdin() has actually been ...
Definition: k3process.h:127
virtual bool kill(int signo=SIGTERM)
Stop the process (by sending it a signal).
Definition: k3process.cpp:429
void received(K3Process *proc, char *buffer, int buflen)
Definition: k3procio.cpp:190
QTextCodec * codecForName(const QByteArray &name)
void clearArguments()
Clear a command line argument list that has been set by using operator<<.
Definition: k3process.cpp:234
char * data()
void enableReadSignals(bool enable)
Turns readReady() signals on and off.
Definition: k3procio.cpp:216
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setComm(Communication comm)
Sets the communication mode to be passed to K3Process::start() by start().
Definition: k3procio.cpp:91
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.