From 8c8a80c4837ade8ce72589e2cbdd55b1c9a0ee69 Mon Sep 17 00:00:00 2001
From: Christian Kandeler <christian.kandeler@nokia.com>
Date: Mon, 21 Feb 2011 15:09:12 +0100
Subject: [PATCH] ProjectConfiguration: Make fromMap() function public, fix
 comments.

Reviewed-by: Tobias Hunger
---
 src/plugins/projectexplorer/projectconfiguration.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/projectexplorer/projectconfiguration.h b/src/plugins/projectexplorer/projectconfiguration.h
index 0cfa99d6de7..cffcb1f58ed 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)
 
-- 
GitLab