aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellrunconfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/haskellrunconfiguration.h')
-rw-r--r--plugins/haskell/haskellrunconfiguration.h19
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;
};