ProjectExplorer: Add a RunConfigurationFactory::canHandle(Target *)

All RunConfiguration factories had some kind of canHandle(Target *)
implementation. Centralize this notion.

Change-Id: Ie24a355e857bddfd76b866859b8c7a42ffc83840
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2017-11-17 08:24:47 +01:00
parent 93bb5081ed
commit d1c9b33eb7
24 changed files with 63 additions and 138 deletions

View File

@@ -94,9 +94,6 @@ public:
static Core::Id idFromBuildTarget(const QString &target);
static QString buildTargetFromId(Core::Id id);
private:
bool canHandle(ProjectExplorer::Target *parent) const;
};
} // namespace Internal