Envision
A visual programming IDE for object-oriented languages
|
A wrapper class for a QProcess pointer. More...
Public Member Functions | |
~RunProcess () | |
QProcess * | process () const |
QProcess * | replaceProcess () |
Kills the current process and creates a new process. More... | |
Private Attributes | |
QProcess * | managedProcess_ {} |
A wrapper class for a QProcess pointer.
This way we can use a static RunProcess and make sure the managed QProcess is killed in the end.
An example use case can be found in the JavaRunner class.
OODebug::RunProcess::~RunProcess | ( | ) |
|
inline |
QProcess * OODebug::RunProcess::replaceProcess | ( | ) |
Kills the current process and creates a new process.
|
private |