Por all usages of QWindop/windowHandle to KDDockWidgets::Window

Removes a lot of asQWidget() code and is also prepared for non-Qt
views.
This commit is contained in:
Sergio Martins
2022-04-09 19:21:56 +01:00
parent 5a8f176860
commit d6fd54cec4
40 changed files with 556 additions and 135 deletions

View File

@@ -24,6 +24,7 @@ public:
~Platform_qtquick() override;
const char *name() const override;
std::shared_ptr<ViewWrapper> qobjectAsView(QObject *) const override;
std::shared_ptr<Window> windowFromQWindow(QWindow *) const override;
private:
void init();