KDE3Support
Go to the documentation of this file.
25 #include <QtCore/QObject>
27 #include <sys/types.h>
32 class QSocketNotifier;
33 class K3ProcessPrivate;
160 Q_DECLARE_FLAGS(Communication, CommunicationFlag)
238 void clearArguments();
266 virtual bool start(RunMode runmode = NotifyOnExit,
267 Communication comm = NoCommunication);
275 virtual bool kill(
int signo = SIGTERM);
281 bool isRunning()
const;
312 bool wait(
int timeout = -1);
320 bool normalExit()
const;
328 bool signalled()
const;
337 bool coreDumped()
const;
345 int exitStatus()
const;
353 int exitSignal()
const;
385 bool writeStdin(
const char *buffer,
int buflen);
435 const QList<QByteArray> &
args() {
return arguments; }
446 void setRunPrivileged(
bool keepPrivileges);
453 bool runPrivileged()
const;
469 void setWorkingDirectory(
const QString &dir);
486 void setUseShell(
bool useShell,
const char *shell = 0);
517 void setUsePty(Communication comm,
bool addUtmp);
530 enum { PrioLowest = 20, PrioLow = 10, PrioLower = 5, PrioNormal = 0,
531 PrioHigher = -5, PrioHigh = -10, PrioHighest = -19 };
538 bool setPriority(
int prio);
568 void receivedStdout(
K3Process *proc,
char *buffer,
int buflen);
588 void receivedStdout(
int fd,
int &len);
605 void receivedStderr(
K3Process *proc,
char *buffer,
int buflen);
623 void slotChildOutput(
int fdno);
630 void slotChildError(
int fdno);
638 void slotSendData(
int dummy);
646 void setupEnvironment();
704 virtual int setupCommunication(Communication comm);
718 virtual int commSetupDoneP();
725 virtual int commSetupDoneC();
734 virtual void processHasExited(
int state);
761 virtual void commClose();
776 void setBinaryExecutable(
const char *filename);
815 int childOutput(
int fdno);
822 int childError(
int fdno);
844 K3ProcessPrivate*
const d;
847 Q_DECLARE_OPERATORS_FOR_FLAGS(K3Process::Communication)
849 class K3ShellProcessPrivate;
878 virtual bool start(
RunMode runmode = NotifyOnExit,
879 Communication comm = NoCommunication);
884 K3ShellProcessPrivate*
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:46:30 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.