tests: Move some ifdefed code to their respective platforms

This commit is contained in:
Sergio Martins
2022-04-19 17:44:36 +01:00
parent 7632278ba8
commit 05deea3cd8
8 changed files with 73 additions and 18 deletions

View File

@@ -11,6 +11,7 @@
#pragma once
#include "KDDockWidgets.h"
#include "qtcommon/Platform_qt.h"
namespace KDDockWidgets {
@@ -27,6 +28,11 @@ public:
std::shared_ptr<Window> windowFromQWindow(QWindow *) const override;
FrameworkWidgetFactory *createDefaultFrameworkWidgetFactory() override;
Window::Ptr windowAt(QPoint globalPos) const override;
#ifdef DOCKS_DEVELOPER_MODE
void tests_initTests() const override;
void tests_cleanupTests() const override;
#endif
};
}