Remove duplicate DefaultSizeMode enum

It's already in Item_p.h
This commit is contained in:
Sergio Martins
2020-12-27 13:56:58 +00:00
parent d6dea6f426
commit a28e152a37
4 changed files with 15 additions and 18 deletions

View File

@@ -69,7 +69,9 @@ public:
* @brief Adds a widget to this MultiSplitter.
*/
void addWidget(QWidgetOrQuick *widget, KDDockWidgets::Location location,
Frame *relativeTo = nullptr, DefaultSizeMode = DefaultSizeMode::Fair, AddingOption option = {});
Frame *relativeTo = nullptr,
Layouting::Item::DefaultSizeMode = Layouting::Item::DefaultSizeMode::Fair,
AddingOption option = {});
/**
* Adds an entire MultiSplitter into this layout. The donor MultiSplitter will be deleted
@@ -78,7 +80,8 @@ public:
* of widgetBar when the whole splitter is dropped into this one.
*/
void addMultiSplitter(MultiSplitter *splitter, KDDockWidgets::Location location,
Frame *relativeTo = nullptr, DefaultSizeMode = DefaultSizeMode::Fair);
Frame *relativeTo = nullptr,
Layouting::Item::DefaultSizeMode = Layouting::Item::DefaultSizeMode::Fair);
/**
* @brief Removes an item from this MultiSplitter.