ApplicationLauncher Class
(ProjectExplorer::ApplicationLauncher)The ApplicationLauncher class is the application launcher of the ProjectExplorer plugin. More...
| Header: | #include <ApplicationLauncher> |
| Inherits: | QObject |
Public Types
| enum | Mode { Console, Gui } |
Public Functions
| ApplicationLauncher(QObject *parent = nullptr) | |
| Utils::ProcessHandle | applicationPID() const |
| void | bringToForeground() |
| QString | errorString() const |
| bool | isRemoteRunning() const |
| bool | isRunning() const |
| QProcess::ProcessError | processError() const |
| void | setProcessChannelMode(QProcess::ProcessChannelMode mode) |
| void | start(const Runnable &runnable) |
| void | start(const Runnable &runnable, const IDevice::ConstPtr &device) |
| void | stop() |
- 31 public functions inherited from QObject
Signals
| void | appendMessage(const QString &message, Utils::OutputFormat format, bool appendNewLine = true) |
| void | error(QProcess::ProcessError error) |
| void | finished(bool success) |
| void | processExited(int exitCode, QProcess::ExitStatus) |
| void | processStarted() |
| void | remoteProcessStarted() |
| void | remoteStderr(const QString &output) |
| void | remoteStdout(const QString &output) |
| void | reportError(const QString &errorOutput) |
| void | reportProgress(const QString &progressOutput) |
- 2 signals inherited from QObject
Static Public Members
| QString | msgWinCannotRetrieveDebuggingOutput() |
- 10 static public members inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The ApplicationLauncher class is the application launcher of the ProjectExplorer plugin.
Encapsulates processes running in a console or as GUI processes, captures debug output of GUI processes on Windows (outputDebugString()).
See also Utils::ConsoleProcess.
Member Function Documentation
ApplicationLauncher::ApplicationLauncher(QObject *parent = nullptr)
Default constructs an instance of ApplicationLauncher.