Changeset View
Changeset View
Standalone View
Standalone View
effects/startupfeedback/startupfeedback.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | class StartupFeedbackEffect | 32 | class StartupFeedbackEffect | ||
33 | : public Effect | 33 | : public Effect | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | Q_PROPERTY(int type READ type) | 36 | Q_PROPERTY(int type READ type) | ||
37 | public: | 37 | public: | ||
38 | StartupFeedbackEffect(); | 38 | StartupFeedbackEffect(); | ||
39 | virtual ~StartupFeedbackEffect(); | 39 | ~StartupFeedbackEffect() override; | ||
40 | 40 | | |||
41 | virtual void reconfigure(ReconfigureFlags flags); | 41 | void reconfigure(ReconfigureFlags flags) override; | ||
42 | virtual void prePaintScreen(ScreenPrePaintData& data, int time); | 42 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
43 | virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data); | 43 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | ||
44 | virtual void postPaintScreen(); | 44 | void postPaintScreen() override; | ||
45 | virtual bool isActive() const; | 45 | bool isActive() const override; | ||
46 | 46 | | |||
47 | int requestedEffectChainPosition() const override { | 47 | int requestedEffectChainPosition() const override { | ||
48 | return 90; | 48 | return 90; | ||
49 | } | 49 | } | ||
50 | 50 | | |||
51 | int type() const { | 51 | int type() const { | ||
52 | return int(m_type); | 52 | return int(m_type); | ||
53 | } | 53 | } | ||
Show All 40 Lines |