Commit 94a6a7e5 authored by Tobias Hunger's avatar Tobias Hunger

LocalApplicationRunControl: De-noise a bit

Change-Id: If4e5eebea2502bba3a85b8f8f87a9a81514f4fb5
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 3d3f96c4
......@@ -44,9 +44,9 @@ class LocalApplicationRunControlFactory : public IRunControlFactory
Q_OBJECT
public:
LocalApplicationRunControlFactory ();
virtual ~LocalApplicationRunControlFactory();
virtual bool canRun(RunConfiguration *runConfiguration, RunMode mode) const;
virtual RunControl* create(RunConfiguration *runConfiguration, RunMode mode, QString *errorMessage);
~LocalApplicationRunControlFactory();
bool canRun(RunConfiguration *runConfiguration, RunMode mode) const;
RunControl* create(RunConfiguration *runConfiguration, RunMode mode, QString *errorMessage);
};
class LocalApplicationRunControl : public RunControl
......@@ -54,10 +54,10 @@ class LocalApplicationRunControl : public RunControl
Q_OBJECT
public:
LocalApplicationRunControl(LocalApplicationRunConfiguration *runConfiguration, RunMode mode);
virtual ~LocalApplicationRunControl();
virtual void start();
virtual StopResult stop();
virtual bool isRunning() const;
~LocalApplicationRunControl();
void start();
StopResult stop();
bool isRunning() const;
private slots:
void processStarted();
void processExited(int exitCode, QProcess::ExitStatus status);
......@@ -67,7 +67,6 @@ private:
QString m_executable;
QString m_commandLineArguments;
ApplicationLauncher::Mode m_runMode;
ProcessHandle m_applicationProcessHandle;
bool m_running;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment