summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/applicationrunconfiguration.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2009-10-08 18:37:18 +0200
committerdt <qtc-committer@nokia.com>2009-11-19 16:35:18 +0100
commit10a0647ddf5d3f80808cc311617410f4eb4eeeff (patch)
treeca0487dcc9b0cc45af883b039c0fec74e110ab0a /src/plugins/projectexplorer/applicationrunconfiguration.h
parent8adef29bf61ed55c045e53b5c81cc038a82ad57d (diff)
downloadqt-creator-10a0647ddf5d3f80808cc311617410f4eb4eeeff.tar.gz
Remove QSharedPointer<> for RunConfiguration
Diffstat (limited to 'src/plugins/projectexplorer/applicationrunconfiguration.h')
-rw-r--r--src/plugins/projectexplorer/applicationrunconfiguration.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/applicationrunconfiguration.h b/src/plugins/projectexplorer/applicationrunconfiguration.h
index dfa6134d89..bc667007ac 100644
--- a/src/plugins/projectexplorer/applicationrunconfiguration.h
+++ b/src/plugins/projectexplorer/applicationrunconfiguration.h
@@ -72,17 +72,17 @@ class LocalApplicationRunControlFactory : public IRunControlFactory
public:
LocalApplicationRunControlFactory ();
virtual ~LocalApplicationRunControlFactory();
- virtual bool canRun(const QSharedPointer<RunConfiguration> &runConfiguration, const QString &mode) const;
+ virtual bool canRun(RunConfiguration *runConfiguration, const QString &mode) const;
virtual QString displayName() const;
- virtual RunControl* create(const QSharedPointer<RunConfiguration> &runConfiguration, const QString &mode);
- virtual QWidget *configurationWidget(const QSharedPointer<RunConfiguration> &runConfiguration);
+ virtual RunControl* create(RunConfiguration *runConfiguration, const QString &mode);
+ virtual QWidget *configurationWidget(RunConfiguration *runConfiguration);
};
class LocalApplicationRunControl : public RunControl
{
Q_OBJECT
public:
- LocalApplicationRunControl(const QSharedPointer<LocalApplicationRunConfiguration> &runConfiguration);
+ LocalApplicationRunControl(LocalApplicationRunConfiguration *runConfiguration);
virtual ~LocalApplicationRunControl();
virtual void start();
virtual void stop();
@@ -92,8 +92,10 @@ private slots:
void slotAddToOutputWindow(const QString &line);
void slotError(const QString & error);
private:
- ApplicationLauncher m_applicationLauncher;
+ ProjectExplorer::ApplicationLauncher m_applicationLauncher;
QString m_executable;
+ QStringList m_commandLineArguments;
+ ProjectExplorer::ApplicationLauncher::Mode m_runMode;
};
} // namespace Internal