Renamed MainWindowBase to MainWindow
As done for other controllers
This commit is contained in:
@@ -37,7 +37,7 @@ class Widget;
|
||||
|
||||
namespace KDDockWidgets {
|
||||
|
||||
class MainWindowBase;
|
||||
class MainWindow;
|
||||
class DropIndicatorOverlayInterface;
|
||||
class TabWidget;
|
||||
class DropArea;
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
/// you also need to override the overloads below.
|
||||
///@param parent Just forward to FloatingWindow's constructor.
|
||||
virtual View *createFloatingWindow(Controllers::FloatingWindow *controller,
|
||||
MainWindowBase *parent = nullptr,
|
||||
MainWindow *parent = nullptr,
|
||||
Qt::WindowFlags windowFlags = {}) const = 0;
|
||||
|
||||
///@brief Called internally by the framework to create a DropIndicatorOverlayInterface
|
||||
@@ -141,7 +141,7 @@ public:
|
||||
///@brief Called internally by the framework to create a SideBar
|
||||
///@param loc The side-bar location without the main window. Just forward into your SideBar sub-class ctor.
|
||||
///@param parent The MainWindow. Just forward into your SideBar sub-class ctor.
|
||||
virtual View *createSideBar(Controllers::SideBar *, MainWindowBase *parent) const = 0;
|
||||
virtual View *createSideBar(Controllers::SideBar *, MainWindow *parent) const = 0;
|
||||
|
||||
#ifdef KDDOCKWIDGETS_QTWIDGETS
|
||||
///@brief Called internally by the framework to create a title bar button
|
||||
@@ -177,11 +177,11 @@ public:
|
||||
View *createTabBar(Controllers::TabBar *tabBar, View *parent) const override;
|
||||
View *createSeparator(Controllers::Separator *, View *parent = nullptr) const override;
|
||||
View *createFloatingWindow(Controllers::FloatingWindow *,
|
||||
MainWindowBase *parent = nullptr,
|
||||
MainWindow *parent = nullptr,
|
||||
Qt::WindowFlags windowFlags = {}) const override;
|
||||
DropIndicatorOverlayInterface *createDropIndicatorOverlay(DropArea *) const override;
|
||||
QWidgetOrQuick *createRubberBand(QWidgetOrQuick *parent) const override;
|
||||
View *createSideBar(Controllers::SideBar *, MainWindowBase *parent) const override;
|
||||
View *createSideBar(Controllers::SideBar *, MainWindow *parent) const override;
|
||||
|
||||
#ifdef KDDOCKWIDGETS_QTWIDGETS
|
||||
QAbstractButton *createTitleBarButton(QWidget *parent, TitleBarButtonType) const override;
|
||||
|
||||
Reference in New Issue
Block a user