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:
Orgad Shaneh
2016-06-05 22:22:11 +03:00
committed by Orgad Shaneh
parent 9a637ba3e3
commit c64f85cd5a
18 changed files with 56 additions and 77 deletions

View File

@@ -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();