forked from qt-creator/qt-creator
RunConfigurationAspect: Streamline data serialization
Change-Id: I6f49dd9eeff53eafc51bd5238ca655437df12111 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -53,8 +53,8 @@ class ValgrindBaseSettings : public Analyzer::AbstractAnalyzerSubConfig
|
||||
public:
|
||||
ValgrindBaseSettings() {}
|
||||
|
||||
virtual QVariantMap toMap() const;
|
||||
virtual void fromMap(const QVariantMap &map);
|
||||
void toMap(QVariantMap &map) const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
|
||||
signals:
|
||||
void changed(); // sent when multiple values have changed simulatenously (e.g. fromMap)
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
ValgrindGlobalSettings();
|
||||
|
||||
QWidget *createConfigWidget(QWidget *parent);
|
||||
QVariantMap toMap() const;
|
||||
void toMap(QVariantMap &map) const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
virtual AbstractAnalyzerSubConfig *clone();
|
||||
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
ValgrindProjectSettings() {}
|
||||
|
||||
QWidget *createConfigWidget(QWidget *parent);
|
||||
QVariantMap toMap() const;
|
||||
void toMap(QVariantMap &map) const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
virtual AbstractAnalyzerSubConfig *clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user