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:
@@ -52,10 +52,6 @@ class CORE_EXPORT ModeManager : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ModeManager(Internal::MainWindow *mainWindow, Internal::FancyTabWidget *modeStack);
|
||||
virtual ~ModeManager();
|
||||
|
||||
static void init();
|
||||
static ModeManager *instance();
|
||||
|
||||
static IMode *currentMode();
|
||||
@@ -88,6 +84,14 @@ private slots:
|
||||
void enabledStateChanged();
|
||||
void handleStartup();
|
||||
void handleShutdown();
|
||||
|
||||
private:
|
||||
explicit ModeManager(Internal::MainWindow *mainWindow, Internal::FancyTabWidget *modeStack);
|
||||
virtual ~ModeManager();
|
||||
|
||||
static void init();
|
||||
|
||||
friend class Core::Internal::MainWindow;
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user