summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildconfiguration.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2009-12-08 12:21:11 +0100
committerdt <qtc-committer@nokia.com>2009-12-08 17:59:21 +0100
commit14eb1f66e9621ea73f1e5da18fd062813816072c (patch)
treeae4764c5312752d823caa2edbd2774e75517fdf5 /src/plugins/projectexplorer/buildconfiguration.h
parent4d93981be224ec1705ebe58461b8fb51d2d7cf62 (diff)
downloadqt-creator-14eb1f66e9621ea73f1e5da18fd062813816072c.tar.gz
Remove BuildConfiguration::setValue/value
Diffstat (limited to 'src/plugins/projectexplorer/buildconfiguration.h')
-rw-r--r--src/plugins/projectexplorer/buildconfiguration.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h
index b4651a807d..543a8580dc 100644
--- a/src/plugins/projectexplorer/buildconfiguration.h
+++ b/src/plugins/projectexplorer/buildconfiguration.h
@@ -57,8 +57,7 @@ public:
QString displayName() const;
void setDisplayName(const QString &name);
- QMap<QString, QVariant> toMap() const;
- void setValuesFromMap(QMap<QString, QVariant> map);
+ virtual void toMap(QMap<QString, QVariant> &map) const;
QList<BuildStep *> buildSteps() const;
void insertBuildStep(int position, BuildStep *step);
@@ -82,16 +81,13 @@ signals:
protected:
BuildConfiguration(Project *project);
+ BuildConfiguration(Project *project, const QMap<QString, QVariant> &map);
BuildConfiguration(BuildConfiguration *source);
- // TODO remove those
- QVariant value(const QString &key) const;
- void setValue(const QString &key, QVariant value);
-
private:
QList<BuildStep *> m_buildSteps;
QList<BuildStep *> m_cleanSteps;
- QHash<QString, QVariant> m_values;
+ QString m_displayName;
Project *m_project;
};
@@ -117,7 +113,7 @@ public:
virtual BuildConfiguration *clone(BuildConfiguration *source) const = 0;
// restores a BuildConfiguration with the name and adds it to the project
- virtual BuildConfiguration *restore() const = 0;
+ virtual BuildConfiguration *restore(const QMap<QString, QVariant> &values) const = 0;
signals:
void availableCreationTypesChanged();