Renamed MainWindowBase to MainWindow

As done for other controllers
This commit is contained in:
Sergio Martins
2022-03-25 10:47:20 +00:00
parent 63b5109113
commit 8656108e81
35 changed files with 165 additions and 165 deletions

View File

@@ -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;