Changeset View
Changeset View
Standalone View
Standalone View
autotests/mock_effectshandler.h
Show All 26 Lines | |||||
27 | { | 27 | { | ||
28 | Q_OBJECT | 28 | Q_OBJECT | ||
29 | public: | 29 | public: | ||
30 | explicit MockEffectsHandler(KWin::CompositingType type); | 30 | explicit MockEffectsHandler(KWin::CompositingType type); | ||
31 | void activateWindow(KWin::EffectWindow *) override {} | 31 | void activateWindow(KWin::EffectWindow *) override {} | ||
32 | KWin::Effect *activeFullScreenEffect() const { | 32 | KWin::Effect *activeFullScreenEffect() const { | ||
33 | return nullptr; | 33 | return nullptr; | ||
34 | } | 34 | } | ||
35 | bool hasActiveFullScreenEffect() const override { | ||||
36 | return false; | ||||
37 | } | ||||
35 | int activeScreen() const override { | 38 | int activeScreen() const override { | ||
36 | return 0; | 39 | return 0; | ||
37 | } | 40 | } | ||
38 | KWin::EffectWindow *activeWindow() const override { | 41 | KWin::EffectWindow *activeWindow() const override { | ||
39 | return nullptr; | 42 | return nullptr; | ||
40 | } | 43 | } | ||
41 | void addRepaint(const QRect &) override {} | 44 | void addRepaint(const QRect &) override {} | ||
42 | void addRepaint(const QRegion &) override {} | 45 | void addRepaint(const QRegion &) override {} | ||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |