diff options
| author | hjk <hjk@qt.io> | 2017-11-27 14:56:45 +0100 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@qt.io> | 2018-03-19 09:35:42 +0000 |
| commit | 50e8ba6e959c533491fc8b8e64e155468b333552 (patch) | |
| tree | ad9241a4821649093ba0ecd1d90af22972461e3c /plugins/haskell/haskellrunconfiguration.h | |
| parent | 53592d59133868de4d9e667f647fac126e9f930b (diff) | |
Adapt to upstream infrastructure changes
Change-Id: Ic3f470b1d3df47b90f054ef1e006927b9ee675ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'plugins/haskell/haskellrunconfiguration.h')
| -rw-r--r-- | plugins/haskell/haskellrunconfiguration.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.h b/plugins/haskell/haskellrunconfiguration.h index 9970d65..3b40694 100644 --- a/plugins/haskell/haskellrunconfiguration.h +++ b/plugins/haskell/haskellrunconfiguration.h @@ -30,15 +30,10 @@ namespace Haskell { namespace Internal { -class HaskellRunConfigurationFactory : public ProjectExplorer::IRunConfigurationFactory +class HaskellRunConfigurationFactory : public ProjectExplorer::RunConfigurationFactory { - Q_OBJECT - public: HaskellRunConfigurationFactory(); - - QList<ProjectExplorer::BuildTargetInfo> availableBuildTargets(ProjectExplorer::Target *parent, - CreationMode mode) const override; }; class HaskellRunConfiguration : public ProjectExplorer::RunConfiguration @@ -48,13 +43,15 @@ class HaskellRunConfiguration : public ProjectExplorer::RunConfiguration public: HaskellRunConfiguration(ProjectExplorer::Target *parent); - QWidget *createConfigurationWidget() override; - ProjectExplorer::Runnable runnable() const override; +private: + QWidget *createConfigurationWidget() final; + ProjectExplorer::Runnable runnable() const final; + void handleBuildSystemDataUpdated(); - bool fromMap(const QVariantMap &map) override; - QVariantMap toMap() const override; + bool fromMap(const QVariantMap &map) final; + QVariantMap toMap() const final; + void doAdditionalSetup(const ProjectExplorer::RunConfigurationCreationInfo &info) final; -private: QString m_executable; }; |
