ProjectExplorer: Implement RunConfiguration::do{Clone,Restore} in base

It's possible now.

Change-Id: I49ed73312aea1627a9543890431e2e379e3fb3ec
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-11-14 17:16:24 +01:00
parent 97053d9f2f
commit 9792547ef9
38 changed files with 25 additions and 249 deletions

View File

@@ -55,7 +55,7 @@ public:
Utils::OutputFormatter *createOutputFormatter() const final;
void initialize(Core::Id id);
void initialize(Core::Id id) override;
private:
bool fromMap(const QVariantMap &map) override;
@@ -97,10 +97,6 @@ public:
private:
bool canHandle(ProjectExplorer::Target *parent) const;
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent, Core::Id id) override;
ProjectExplorer::RunConfiguration *doRestore(ProjectExplorer::Target *parent,
const QVariantMap &map) override;
};
} // namespace Internal