Port LayoutWidget away from QWidget

DropArea and MDILayout now inherit from it, in addittion to QWidget.
This mean DropArea can now be split into View/Controller alone,
without having to port LayoutWidget and MDILayout in the same commit,
which would be hard to review.
This commit is contained in:
Sergio Martins
2022-04-24 12:57:20 +01:00
parent b08c49e788
commit 6ebb432932
27 changed files with 190 additions and 115 deletions

View File

@@ -21,7 +21,7 @@
#include "kddockwidgets/docks_export.h"
#include "kddockwidgets/KDDockWidgets.h"
#include "private/LayoutWidget_p.h"
#include "qtwidgets/views/View_qtwidgets.h"
namespace KDDockWidgets {
@@ -31,7 +31,7 @@ class DropArea;
namespace Views {
class DOCKS_EXPORT DropArea_qtwidgets : public LayoutWidget
class DOCKS_EXPORT DropArea_qtwidgets : public Views::View_qtwidgets<QWidget>
{
Q_OBJECT
public: