Changeset View
Changeset View
Standalone View
Standalone View
effects/slide/slide.h
Show All 29 Lines | |||||
30 | { | 30 | { | ||
31 | 31 | | |||
32 | class SlideEffect | 32 | class SlideEffect | ||
33 | : public Effect | 33 | : public Effect | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | public: | 36 | public: | ||
37 | SlideEffect(); | 37 | SlideEffect(); | ||
38 | virtual void reconfigure(ReconfigureFlags); | 38 | void reconfigure(ReconfigureFlags) override; | ||
39 | virtual void prePaintScreen(ScreenPrePaintData& data, int time); | 39 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
40 | virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data); | 40 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | ||
41 | virtual void postPaintScreen(); | 41 | void postPaintScreen() override; | ||
42 | virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time); | 42 | void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) override; | ||
43 | virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); | 43 | void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | ||
44 | virtual bool isActive() const; | 44 | bool isActive() const override; | ||
45 | 45 | | |||
46 | int requestedEffectChainPosition() const override { | 46 | int requestedEffectChainPosition() const override { | ||
47 | return 50; | 47 | return 50; | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | private Q_SLOTS: | 50 | private Q_SLOTS: | ||
51 | void slotDesktopChanged(int old, int current); | 51 | void slotDesktopChanged(int old, int current); | ||
52 | 52 | | |||
Show All 18 Lines |