summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildconfiguration.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-01-07 18:17:24 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2010-01-07 18:17:24 +0100
commita6ad773722a758df46813afd7af42625a0f3e276 (patch)
tree8a74e3bb0fe819603e3ce5ed867116e75acc8d64 /src/plugins/projectexplorer/buildconfiguration.h
parent8bb87fcda497d09ac3ba39b38b9c229d02022b09 (diff)
downloadqt-creator-a6ad773722a758df46813afd7af42625a0f3e276.tar.gz
Make method naming more consistent.
* Use id() for methods returning a string used to represent some type of object. * Use displayName() for strings that are meant to be user visible. * Quieten some warnings while touching the files anyway. * Move Factories to their products in the plugins where that was not done before. Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/buildconfiguration.h')
-rw-r--r--src/plugins/projectexplorer/buildconfiguration.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h
index 543a8580dc..8116927462 100644
--- a/src/plugins/projectexplorer/buildconfiguration.h
+++ b/src/plugins/projectexplorer/buildconfiguration.h
@@ -100,23 +100,23 @@ public:
virtual ~IBuildConfigurationFactory();
// used to show the list of possible additons to a project, returns a list of types
- virtual QStringList availableCreationTypes() const = 0;
+ virtual QStringList availableCreationIds() const = 0;
// used to translate the types to names to display to the user
- virtual QString displayNameForType(const QString &type) const = 0;
+ virtual QString displayNameForId(const QString &id) const = 0;
// creates build configuration(s) for given type and adds them to project
// if successfull returns the BuildConfiguration that should be shown in the
// project mode for editing
- virtual BuildConfiguration *create(const QString &type) const = 0;
+ virtual BuildConfiguration *create(const QString &id) const = 0;
// clones a given BuildConfiguration, should not add it to the project
virtual BuildConfiguration *clone(BuildConfiguration *source) const = 0;
// restores a BuildConfiguration with the name and adds it to the project
- virtual BuildConfiguration *restore(const QMap<QString, QVariant> &values) const = 0;
+ virtual BuildConfiguration *restore(const QVariantMap &values) const = 0;
signals:
- void availableCreationTypesChanged();
+ void availableCreationIdsChanged();
};
} // namespace ProjectExplorer