Akonadi
processcontrol.h
52 void start(const QString &application, const QStringList &arguments = QStringList(), CrashPolicy policy = RestartOnCrash);
Q_OBJECTQ_OBJECT
void start()
Starts the process with the previously set application and arguments.
Definition: processcontrol.cpp:158
void processErrorMessages(const QString &errorMsg)
This signal is emitted whenever the observed application writes something to stderr.
Q_SLOTSQ_SLOTS
ProcessError
CrashPolicy
These enums describe the behaviour when the observed application crashed.
Definition: processcontrol.h:40
ProcessControl(QObject *parent=nullptr)
Creates a new process control.
Definition: processcontrol.cpp:27
void unableToStart()
Emitted if the process could not be started since it terminated too often.
void setShutdownTimeout(std::chrono::milliseconds timeout)
Sets the time (in msecs) we wait for the process to shut down before we send terminate/kill signals.
Definition: processcontrol.cpp:258
bool isRunning() const
Returns true if the process is currently running.
Definition: processcontrol.cpp:253
ExitStatus
Q_SIGNALSQ_SIGNALS
void restartOnceWhenFinished()
Restart the application the next time it exits normally.
Definition: processcontrol.h:80
void restarted()
This signal is emitted when the server is restarted after a crash.
QObject * parent() const const
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.