kalarm/lib
shellprocess.cpp
Go to the documentation of this file.
57 connect(this, SIGNAL(finished(int,QProcess::ExitStatus)), SLOT(slotExited(int,QProcess::ExitStatus)));
Definition: shellprocess.h:69
void shellExited(ShellProcess *)
Signal emitted when the shell process execution completes.
QByteArray trimmed() const
void enqueue(const T &t)
Definition: shellprocess.h:71
void writeStdin(const char *buffer, int bufflen)
Writes a string to the process's STDIN.
Definition: shellprocess.cpp:104
Definition: shellprocess.h:68
Definition: shellprocess.h:67
int lastIndexOf(char ch, int from) const
T dequeue()
static bool authorised()
Returns whether the user is authorised to run shell commands.
Definition: shellprocess.cpp:215
bool isEmpty() const
T & head()
Definition: shellprocess.h:72
static const QByteArray & shellPath()
Determines which shell to use.
Definition: shellprocess.cpp:180
QString errorMessage() const
Returns the error message corresponding to the command exit status.
Definition: shellprocess.cpp:153
void stdinExit()
Tell the process to exit once any outstanding STDIN strings have been written.
Definition: shellprocess.cpp:141
QByteArray mid(int pos, int len) const
Definition: shellprocess.h:66
char * data()
execute a process through the shell
Definition: shellprocess.h:70
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 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:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.