coreplugin: simplify VariableManager

Change-Id: Id89dba3be538a29953b374e58df961835ea4207a
Reviewed-on: http://codereview.qt.nokia.com/1298
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-07-06 19:02:18 +02:00
committed by hjk
parent 258d168a91
commit ca7d5942a2
2 changed files with 12 additions and 14 deletions

View File

@@ -44,6 +44,7 @@ class AbstractMacroExpander;
}
namespace Core {
class VariableManagerPrivate;
class CORE_EXPORT VariableManager : public QObject
@@ -54,7 +55,7 @@ public:
VariableManager();
~VariableManager();
static VariableManager* instance();
static VariableManager *instance();
void insert(const QString &variable, const QString &value);
bool remove(const QString &variable);
@@ -71,7 +72,7 @@ signals:
void variableUpdateRequested(const QString &variable);
private:
QScopedPointer<VariableManagerPrivate> d;
VariableManagerPrivate *d;
};
} // namespace Core