tests: Remove some asQWidget() calls

This commit is contained in:
Sergio Martins
2022-04-13 22:28:04 +01:00
parent 90bd78846a
commit 664798ee6e
4 changed files with 23 additions and 15 deletions

View File

@@ -70,6 +70,7 @@ public:
/// Returns true if the view received said event until timeout was reached
virtual bool tests_waitForEvent(QObject *w, QEvent::Type type, int timeout = 5000) const = 0;
virtual bool tests_waitForEvent(View *, QEvent::Type type, int timeout = 5000) const = 0;
virtual bool tests_waitForEvent(std::shared_ptr<Window>, QEvent::Type type, int timeout = 5000) const = 0;
#endif