38 std::shared_ptr<Core::View> focusedView()
const override;
41 int screenNumberFor(std::shared_ptr<Core::Window>)
const override;
45 bool isProcessingAppQuitEvent()
const override;
47 QString applicationName()
const override;
49 void setMouseCursor(
Qt::CursorShape,
bool discardLast =
false)
override;
50 void restoreMouseCursor()
override;
53 bool isLeftMouseButtonPressed()
const override;
57 QPoint cursorPos()
const override;
58 void setCursorPos(
QPoint)
override;
63 std::shared_ptr<Core::Window> qobjectAsWindow(
QObject *)
const;
67 std::shared_ptr<Core::Screen> primaryScreen()
const override;
69 void runDelayed(
int ms, Core::DelayedCall *)
override;
73 bool supportsAeroSnap()
const override;
75#ifdef DOCKS_DEVELOPER_MODE
79 static bool isGammaray();
81 bool tests_waitForWindowActive(std::shared_ptr<Core::Window>,
int timeout = 5000)
const override;
82 bool tests_waitForEvent(Core::Object *w,
QEvent::Type type,
int timeout = 5000)
const override;
84 bool tests_waitForEvent(std::shared_ptr<Core::Window>,
QEvent::Type type,
85 int timeout = 5000)
const override;
86 void tests_initPlatform_impl()
override;
87 void tests_deinitPlatform_impl()
override;
88 bool tests_wait(
int ms)
const override;
90 void tests_pressOn(
QPoint globalPos, std::shared_ptr<Core::Window> receiver)
override;
93 void tests_doubleClickOn(
QPoint globalPos, std::shared_ptr<Core::Window> receiver)
override;
96 void installMessageHandler()
override;
97 void uninstallMessageHandler()
override;
100 static void maybeSetOffscreenQPA(
int argc,
char **argv);
102 bool tests_waitForResize(
Core::View *,
int timeout = 2000)
const override;
103 bool tests_waitForResize(
Core::Controller *,
int timeout = 2000)
const override;
104 bool tests_waitForDeleted(
Core::View *,
int timeout = 2000)
const override;
105 bool tests_waitForDeleted(
Core::Controller *,
int timeout = 2000)
const override;
110 int screenNumberForQWindow(
QWindow *)
const;
113 class GlobalEventFilter;
114 GlobalEventFilter *
const m_globalEventFilter;