forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user