Commit 8c8a80c4 authored by Christian Kandeler's avatar Christian Kandeler

ProjectConfiguration: Make fromMap() function public, fix comments.

Reviewed-by: Tobias Hunger
parent 1d4cd9b7
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment