Changeset View
Changeset View
Standalone View
Standalone View
effects/mousemark/mousemark.h
Show All 34 Lines | |||||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | Q_PROPERTY(int width READ configuredWidth) | 37 | Q_PROPERTY(int width READ configuredWidth) | ||
38 | Q_PROPERTY(QColor color READ configuredColor) | 38 | Q_PROPERTY(QColor color READ configuredColor) | ||
39 | public: | 39 | public: | ||
40 | MouseMarkEffect(); | 40 | MouseMarkEffect(); | ||
41 | ~MouseMarkEffect() override; | 41 | ~MouseMarkEffect() override; | ||
42 | void reconfigure(ReconfigureFlags) override; | 42 | void reconfigure(ReconfigureFlags) override; | ||
43 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | 43 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) override; | ||
44 | bool isActive() const override; | 44 | bool isActive() const override; | ||
45 | 45 | | |||
46 | // for properties | 46 | // for properties | ||
47 | int configuredWidth() const { | 47 | int configuredWidth() const { | ||
48 | return width; | 48 | return width; | ||
49 | } | 49 | } | ||
50 | QColor configuredColor() const { | 50 | QColor configuredColor() const { | ||
51 | return color; | 51 | return color; | ||
Show All 25 Lines |