summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-02-21 15:09:12 +0100
committerChristian Kandeler <christian.kandeler@nokia.com>2011-02-21 15:09:49 +0100
commit8c8a80c4837ade8ce72589e2cbdd55b1c9a0ee69 (patch)
treeb16f60e0bab69743120b68f689d6d73a4958152a /src/plugins
parent1d4cd9b7f28b867aee3815fabdbd9c0fe39a0bdb (diff)
downloadqt-creator-8c8a80c4837ade8ce72589e2cbdd55b1c9a0ee69.tar.gz
ProjectConfiguration: Make fromMap() function public, fix comments.
Reviewed-by: Tobias Hunger
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/projectexplorer/projectconfiguration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/projectconfiguration.h b/src/plugins/projectexplorer/projectconfiguration.h
index 0cfa99d6de..cffcb1f58e 100644
--- a/src/plugins/projectexplorer/projectconfiguration.h
+++ b/src/plugins/projectexplorer/projectconfiguration.h
@@ -57,7 +57,10 @@ public:
void setDisplayName(const QString &name);
void setDefaultDisplayName(const QString &name);
- // Note: Make sure subclasses call the superclasses toMap() method!
+ // Note: Make sure subclasses call the superclasses' fromMap() method!
+ virtual bool fromMap(const QVariantMap &map);
+
+ // Note: Make sure subclasses call the superclasses' toMap() method!
virtual QVariantMap toMap() const;
signals:
@@ -67,9 +70,6 @@ protected:
ProjectConfiguration(QObject *parent, const QString &id);
ProjectConfiguration(QObject *parent, const ProjectConfiguration *source);
- // Note: Make sure subclasses call the superclasses toMap() method!
- virtual bool fromMap(const QVariantMap &map);
-
private:
Q_DISABLE_COPY(ProjectConfiguration)