tests: Port away from a few Qt specific waitForEvent
Removes a bunch of asQWidget() from the tests
This commit is contained in:
@@ -32,6 +32,10 @@ public:
|
||||
|
||||
#ifdef DOCKS_DEVELOPER_MODE
|
||||
bool tests_waitForWindowActive(std::shared_ptr<Window>, int timeout = 5000) const override;
|
||||
bool tests_waitForEvent(QObject *w, QEvent::Type type, int timeout = 5000) const override;
|
||||
bool tests_waitForEvent(View *, 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;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user