forked from qt-creator/qt-creator
DeployConfigurationFactory: Properly extract the abstract class
Make DeployConfigurationFactory a true base class. Introduce the DefaultDeployConfigurationFactory as the implementation that actually creates DefaultDeployConfigurations. This mostly moves code around. The virtual canHandle method was mostly unused and was removed from most classes. Change-Id: I170d94c648e67f3fe52a76ffb5344f389ae49efc Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -72,9 +72,6 @@ public:
|
||||
QList<Core::Id> availableCreationIds(ProjectExplorer::Target *parent) const Q_DECL_OVERRIDE;
|
||||
// used to translate the ids to names to display to the user
|
||||
QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
bool canHandle(ProjectExplorer::Target *parent) const Q_DECL_OVERRIDE;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user