From df175f190d17b3473ef4257cd393eda679060651 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Sep 2012 12:21:38 +0200 Subject: introduce qmake variable abstractions this is preparation for adapting to a new evaluator. Change-Id: I6fc59f5525735754a00afa6629fbfe257e84db97 Reviewed-by: Daniel Teske Reviewed-by: Joerg Bornemann --- qmake/property.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'qmake/property.h') 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 #include #include @@ -55,14 +57,15 @@ class QMakeProperty QSettings *settings; void initSettings(); - QHash m_values; + QHash 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 &); -- cgit v1.2.3