summaryrefslogtreecommitdiffstats
path: root/qmake/property.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-09-06 12:21:38 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 15:39:31 +0200
commitdf175f190d17b3473ef4257cd393eda679060651 (patch)
tree5b134c26e27001a2f349a779e7d351d8d4aa6d04 /qmake/property.h
parent9c29beb9eaa35a0c62aca9abb369540fe4edc4d5 (diff)
introduce qmake variable abstractions
this is preparation for adapting to a new evaluator. Change-Id: I6fc59f5525735754a00afa6629fbfe257e84db97 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake/property.h')
-rw-r--r--qmake/property.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/qmake/property.h b/qmake/property.h
index 13767ff405..4748dd7f31 100644
--- a/qmake/property.h
+++ b/qmake/property.h
@@ -42,6 +42,8 @@
#ifndef PROPERTY_H
#define PROPERTY_H
+#include "library/proitems.h"
+
#include <qglobal.h>
#include <qstring.h>
#include <qhash.h>
@@ -55,14 +57,15 @@ class QMakeProperty
QSettings *settings;
void initSettings();
- QHash<QString, QString> m_values;
+ QHash<ProKey, ProString> m_values;
public:
QMakeProperty();
~QMakeProperty();
- bool hasValue(QString);
- QString value(const QString &);
+ bool hasValue(const ProKey &);
+ ProString value(const ProKey &);
+
void setValue(QString, const QString &);
void remove(const QString &);