Changeset View
Changeset View
Standalone View
Standalone View
effects/slideback/slideback.h
Show All 28 Lines | |||||
29 | 29 | | |||
30 | class SlideBackEffect | 30 | class SlideBackEffect | ||
31 | : public Effect | 31 | : public Effect | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | public: | 34 | public: | ||
35 | SlideBackEffect(); | 35 | SlideBackEffect(); | ||
36 | 36 | | |||
37 | virtual void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time); | 37 | void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; | ||
38 | virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); | 38 | void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | ||
39 | virtual void postPaintWindow(EffectWindow* w); | 39 | void postPaintWindow(EffectWindow* w) override; | ||
40 | 40 | | |||
41 | virtual void prePaintScreen(ScreenPrePaintData &data, int time); | 41 | void prePaintScreen(ScreenPrePaintData &data, int time) override; | ||
42 | virtual void postPaintScreen(); | 42 | void postPaintScreen() override; | ||
43 | virtual bool isActive() const; | 43 | bool isActive() const override; | ||
44 | 44 | | |||
45 | int requestedEffectChainPosition() const override { | 45 | int requestedEffectChainPosition() const override { | ||
46 | return 50; | 46 | return 50; | ||
47 | } | 47 | } | ||
48 | 48 | | |||
49 | public Q_SLOTS: | 49 | public Q_SLOTS: | ||
50 | void slotWindowAdded(KWin::EffectWindow *w); | 50 | void slotWindowAdded(KWin::EffectWindow *w); | ||
51 | void slotWindowDeleted(KWin::EffectWindow *w); | 51 | void slotWindowDeleted(KWin::EffectWindow *w); | ||
Show All 29 Lines |