forked from qt-creator/qt-creator
QtSupport: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I24cb0cd088b74364320cdd34282d7b15305a93bf Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9a637ba3e3
commit
c64f85cd5a
@@ -40,7 +40,7 @@ class CORE_EXPORT MessageManager : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static QObject *instance();
|
||||
static MessageManager *instance();
|
||||
|
||||
static void showOutputPane();
|
||||
|
||||
@@ -55,10 +55,9 @@ public:
|
||||
|
||||
Q_DECLARE_FLAGS(PrintToOutputPaneFlags, PrintToOutputPaneFlag)
|
||||
|
||||
static void write(const QString &text); // imply NoModeSwitch
|
||||
|
||||
public slots:
|
||||
static void write(const QString &text, Core::MessageManager::PrintToOutputPaneFlags flags);
|
||||
static void write(const QString &text,
|
||||
Core::MessageManager::PrintToOutputPaneFlags flags = NoModeSwitch);
|
||||
|
||||
private:
|
||||
MessageManager();
|
||||
|
||||
Reference in New Issue
Block a user