diff --git a/src/DockAreaWidget.h b/src/DockAreaWidget.h index 5361926..eaf290c 100644 --- a/src/DockAreaWidget.h +++ b/src/DockAreaWidget.h @@ -367,7 +367,8 @@ Q_SIGNALS: */ void viewToggled(bool Open); }; // class DockAreaWidget -} - // namespace ads +} // namespace ads + +Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockAreaWidget::DockAreaFlags) //----------------------------------------------------------------------------- #endif // DockAreaWidgetH diff --git a/src/DockManager.h b/src/DockManager.h index d549a68..9ebf8a2 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -617,5 +617,7 @@ Q_SIGNALS: void focusedDockWidgetChanged(ads::CDockWidget* old, ads::CDockWidget* now); }; // class DockManager } // namespace ads + +Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockManager::ConfigFlags) //----------------------------------------------------------------------------- #endif // DockManagerH diff --git a/src/DockWidget.h b/src/DockWidget.h index 39693f0..c20028b 100644 --- a/src/DockWidget.h +++ b/src/DockWidget.h @@ -600,7 +600,8 @@ Q_SIGNALS: */ void featuresChanged(ads::CDockWidget::DockWidgetFeatures features); }; // class DockWidget -} - // namespace ads +} // namespace ads + +Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockWidget::DockWidgetFeatures) //----------------------------------------------------------------------------- #endif // DockWidgetH diff --git a/src/ads_globals.h b/src/ads_globals.h index 9705544..777bd82 100644 --- a/src/ads_globals.h +++ b/src/ads_globals.h @@ -308,5 +308,6 @@ void repolishStyle(QWidget* w, eRepolishChildOptions Options = RepolishIgnoreChi } // namespace internal } // namespace ads +Q_DECLARE_OPERATORS_FOR_FLAGS(ads::DockWidgetAreas) //--------------------------------------------------------------------------- #endif // ads_globalsH