diff --git a/src/DockAreaTitleBar.h b/src/DockAreaTitleBar.h index 5b01528..426e07a 100644 --- a/src/DockAreaTitleBar.h +++ b/src/DockAreaTitleBar.h @@ -34,7 +34,7 @@ #include "ads_globals.h" -QT_FORWARD_DECLARE_CLASS(QAbstractButton); +QT_FORWARD_DECLARE_CLASS(QAbstractButton) namespace ads { diff --git a/src/DockAreaWidget.h b/src/DockAreaWidget.h index d7b5360..16f42d7 100644 --- a/src/DockAreaWidget.h +++ b/src/DockAreaWidget.h @@ -35,8 +35,8 @@ #include "ads_globals.h" #include "DockWidget.h" -QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); -QT_FORWARD_DECLARE_CLASS(QAbstractButton); +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) +QT_FORWARD_DECLARE_CLASS(QAbstractButton) namespace ads { diff --git a/src/DockContainerWidget.h b/src/DockContainerWidget.h index 50d3ae4..83ef086 100644 --- a/src/DockContainerWidget.h +++ b/src/DockContainerWidget.h @@ -35,7 +35,7 @@ #include "ads_globals.h" #include "DockWidget.h" -QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads diff --git a/src/DockManager.h b/src/DockManager.h index dcef92a..5daf893 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -36,8 +36,8 @@ #include "FloatingDockContainer.h" -QT_FORWARD_DECLARE_CLASS(QSettings); -QT_FORWARD_DECLARE_CLASS(QMenu); +QT_FORWARD_DECLARE_CLASS(QSettings) +QT_FORWARD_DECLARE_CLASS(QMenu) namespace ads { diff --git a/src/DockOverlay.h b/src/DockOverlay.h index ab9bb6e..88905e0 100644 --- a/src/DockOverlay.h +++ b/src/DockOverlay.h @@ -26,10 +26,11 @@ #include #include #include -QT_FORWARD_DECLARE_CLASS(QGridLayout); #include "ads_globals.h" +QT_FORWARD_DECLARE_CLASS(QGridLayout) + namespace ads { struct DockOverlayPrivate; diff --git a/src/DockWidget.h b/src/DockWidget.h index 5432f11..15f58d3 100644 --- a/src/DockWidget.h +++ b/src/DockWidget.h @@ -34,8 +34,8 @@ #include "ads_globals.h" -QT_FORWARD_DECLARE_CLASS(QToolBar); -QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); +QT_FORWARD_DECLARE_CLASS(QToolBar) +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads { diff --git a/src/ads_globals.h b/src/ads_globals.h index d017842..407bde3 100644 --- a/src/ads_globals.h +++ b/src/ads_globals.h @@ -37,7 +37,7 @@ #include #include -QT_FORWARD_DECLARE_CLASS(QAbstractButton); +QT_FORWARD_DECLARE_CLASS(QAbstractButton) #ifndef ADS_STATIC #ifdef ADS_SHARED_EXPORT @@ -60,7 +60,7 @@ QT_FORWARD_DECLARE_CLASS(QAbstractButton); // dumps to qDebug and std::cout after layout changes #define ADS_DEBUG_LEVEL 0 -QT_FORWARD_DECLARE_CLASS(QSplitter); +QT_FORWARD_DECLARE_CLASS(QSplitter) namespace ads {