tests: Port some QWindow based utils to Window::Ptr

So it doesn't depend on Qt
This commit is contained in:
Sergio Martins
2022-04-13 23:49:29 +01:00
parent 664798ee6e
commit 924b32b3c5
9 changed files with 39 additions and 9 deletions

View File

@@ -37,6 +37,8 @@ public:
bool tests_waitForEvent(std::shared_ptr<Window>, QEvent::Type type, int timeout = 5000) const override;
bool tests_waitForResize(View *, int timeout = 2000) const override;
bool tests_waitForResize(Controller *, int timeout = 2000) const override;
void tests_sendEvent(std::shared_ptr<Window>, QEvent *) const override;
void tests_sendEvent(View *, QEvent *) const override;
#endif
};