Changeset View
Changeset View
Standalone View
Standalone View
autotests/mock_effectshandler.h
Show First 20 Lines • Show All 245 Lines • ▼ Show 20 Line(s) | 29 | public: | |||
---|---|---|---|---|---|
246 | void showCursor() override {} | 246 | void showCursor() override {} | ||
247 | 247 | | |||
248 | void startInteractiveWindowSelection(std::function<void(KWin::EffectWindow*)> callback) override { | 248 | void startInteractiveWindowSelection(std::function<void(KWin::EffectWindow*)> callback) override { | ||
249 | callback(nullptr); | 249 | callback(nullptr); | ||
250 | } | 250 | } | ||
251 | void startInteractivePositionSelection(std::function<void (const QPoint &)> callback) override { | 251 | void startInteractivePositionSelection(std::function<void (const QPoint &)> callback) override { | ||
252 | callback(QPoint(-1, -1)); | 252 | callback(QPoint(-1, -1)); | ||
253 | } | 253 | } | ||
254 | void showOnScreenMessage(const QString &message, const QString &iconName = QString()) override { | ||||
255 | Q_UNUSED(message) | ||||
256 | Q_UNUSED(iconName) | ||||
257 | } | ||||
258 | void hideOnScreenMessage() override {} | ||||
254 | 259 | | |||
255 | private: | 260 | private: | ||
256 | bool m_animationsSuported = true; | 261 | bool m_animationsSuported = true; | ||
257 | }; | 262 | }; | ||
258 | #endif | 263 | #endif |