Move Frame::Options enum to KDDockWidgets.h
So we can forward declare Frame and not include private headers in FrameworkWidgetFactory.h
This commit is contained in:
@@ -51,6 +51,14 @@ namespace KDDockWidgets
|
||||
AddingOption_StartHidden ///< Don't show the dock widget when adding it
|
||||
};
|
||||
|
||||
///@internal
|
||||
enum FrameOption {
|
||||
FrameOption_None = 0,
|
||||
FrameOption_AlwaysShowsTabs = 1,
|
||||
FrameOption_IsCentralFrame = 2
|
||||
};
|
||||
Q_DECLARE_FLAGS(FrameOptions, FrameOption)
|
||||
|
||||
///@internal
|
||||
inline Location oppositeLocation(Location loc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user