diff --git a/src/DockContainerWidget.h b/src/DockContainerWidget.h index 0bc674b..8a323ba 100644 --- a/src/DockContainerWidget.h +++ b/src/DockContainerWidget.h @@ -265,7 +265,7 @@ public: */ void closeOtherAreas(CDockAreaWidget* KeepOpenArea); -signals: +Q_SIGNALS: /** * This signal is emitted if one or multiple dock areas has been added to * the internal list of dock areas. diff --git a/src/DockManager.h b/src/DockManager.h index c3924d3..9681d09 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -506,7 +506,7 @@ public: */ void setSplitterSizes(CDockAreaWidget *ContainedArea, const QList& sizes); -public slots: +public Q_SLOTS: /** * Opens the perspective with the given name. */ @@ -519,7 +519,7 @@ public slots: */ void setDockWidgetFocused(CDockWidget* DockWidget); -signals: +Q_SIGNALS: /** * This signal is emitted if the list of perspectives changed */ diff --git a/src/DockWidget.h b/src/DockWidget.h index ed1a3d2..4d2328e 100644 --- a/src/DockWidget.h +++ b/src/DockWidget.h @@ -58,7 +58,7 @@ private: DockWidgetPrivate* d; ///< private data (pimpl) friend struct DockWidgetPrivate; -private slots: +private Q_SLOTS: /** * Adjusts the toolbar icon sizes according to the floating state */ @@ -484,7 +484,7 @@ public: // reimplements QFrame ----------------------------------------------- */ virtual bool event(QEvent *e) override; -public slots: +public Q_SLOTS: /** * This property controls whether the dock widget is open or closed. * The toogleViewAction triggers this slot @@ -545,7 +545,7 @@ public slots: void showNormal(); -signals: +Q_SIGNALS: /** * This signal is emitted if the dock widget is opened or closed */ diff --git a/src/FloatingDockContainer.h b/src/FloatingDockContainer.h index 1265332..559cf2f 100644 --- a/src/FloatingDockContainer.h +++ b/src/FloatingDockContainer.h @@ -118,7 +118,7 @@ private: friend class CDockAreaWidget; friend class CFloatingWidgetTitleBar; -private slots: +private Q_SLOTS: void onDockAreasAddedOrRemoved(); void onDockAreaCurrentChanged(int Index);