forked from qt-creator/qt-creator
Unify pattern used for privates and constructors
In the 'managers' from ICore Change-Id: Iab98c9e0947b759843a62e3777ba46be3b304b06 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -43,16 +43,13 @@ class AbstractMacroExpander;
|
||||
|
||||
namespace Core {
|
||||
|
||||
class VariableManagerPrivate;
|
||||
namespace Internal { class MainWindow; }
|
||||
|
||||
class CORE_EXPORT VariableManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
VariableManager();
|
||||
~VariableManager();
|
||||
|
||||
static VariableManager *instance();
|
||||
|
||||
static void insert(const QByteArray &variable, const QString &value);
|
||||
@@ -78,6 +75,12 @@ public:
|
||||
|
||||
signals:
|
||||
void variableUpdateRequested(const QByteArray &variable);
|
||||
|
||||
private:
|
||||
VariableManager();
|
||||
~VariableManager();
|
||||
|
||||
friend class Core::Internal::MainWindow;
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user