Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/lockscreen.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 81 | private: | |||
---|---|---|---|---|---|
88 | KWayland::Client::Shell *m_shell = nullptr; | 88 | KWayland::Client::Shell *m_shell = nullptr; | ||
89 | }; | 89 | }; | ||
90 | 90 | | |||
91 | class HelperEffect : public Effect | 91 | class HelperEffect : public Effect | ||
92 | { | 92 | { | ||
93 | Q_OBJECT | 93 | Q_OBJECT | ||
94 | public: | 94 | public: | ||
95 | HelperEffect() {} | 95 | HelperEffect() {} | ||
96 | ~HelperEffect() {} | 96 | ~HelperEffect() override {} | ||
97 | 97 | | |||
98 | void windowInputMouseEvent(QEvent*) override { | 98 | void windowInputMouseEvent(QEvent*) override { | ||
99 | emit inputEvent(); | 99 | emit inputEvent(); | ||
100 | } | 100 | } | ||
101 | void grabbedKeyboardEvent(QKeyEvent *e) override { | 101 | void grabbedKeyboardEvent(QKeyEvent *e) override { | ||
102 | emit keyEvent(e->text()); | 102 | emit keyEvent(e->text()); | ||
103 | } | 103 | } | ||
104 | 104 | | |||
▲ Show 20 Lines • Show All 666 Lines • Show Last 20 Lines |