Changeset View
Changeset View
Standalone View
Standalone View
effects/colorpicker/colorpicker.h
Show All 30 Lines | |||||
31 | { | 31 | { | ||
32 | 32 | | |||
33 | class ColorPickerEffect : public Effect, protected QDBusContext | 33 | class ColorPickerEffect : public Effect, protected QDBusContext | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | Q_CLASSINFO("D-Bus Interface", "org.kde.kwin.ColorPicker") | 36 | Q_CLASSINFO("D-Bus Interface", "org.kde.kwin.ColorPicker") | ||
37 | public: | 37 | public: | ||
38 | ColorPickerEffect(); | 38 | ColorPickerEffect(); | ||
39 | virtual ~ColorPickerEffect(); | 39 | ~ColorPickerEffect() override; | ||
40 | void paintScreen(int mask, QRegion region, ScreenPaintData &data) override; | 40 | void paintScreen(int mask, QRegion region, ScreenPaintData &data) override; | ||
41 | void postPaintScreen() override; | 41 | void postPaintScreen() override; | ||
42 | bool isActive() const override; | 42 | bool isActive() const override; | ||
43 | 43 | | |||
44 | int requestedEffectChainPosition() const override { | 44 | int requestedEffectChainPosition() const override { | ||
45 | return 50; | 45 | return 50; | ||
46 | } | 46 | } | ||
47 | 47 | | |||
Show All 18 Lines |