Changeset View
Changeset View
Standalone View
Standalone View
effects/windowgeometry/windowgeometry.h
Show All 27 Lines | |||||
28 | 28 | | |||
29 | class WindowGeometry : public Effect | 29 | class WindowGeometry : public Effect | ||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | Q_PROPERTY(bool handlesMoves READ isHandlesMoves) | 32 | Q_PROPERTY(bool handlesMoves READ isHandlesMoves) | ||
33 | Q_PROPERTY(bool handlesResizes READ isHandlesResizes) | 33 | Q_PROPERTY(bool handlesResizes READ isHandlesResizes) | ||
34 | public: | 34 | public: | ||
35 | WindowGeometry(); | 35 | WindowGeometry(); | ||
36 | ~WindowGeometry(); | 36 | ~WindowGeometry() override; | ||
37 | 37 | | |||
38 | inline bool provides(Effect::Feature ef) { | 38 | inline bool provides(Effect::Feature ef) override { | ||
39 | return ef == Effect::GeometryTip; | 39 | return ef == Effect::GeometryTip; | ||
40 | } | 40 | } | ||
41 | void reconfigure(ReconfigureFlags); | 41 | void reconfigure(ReconfigureFlags) override; | ||
42 | void paintScreen(int mask, QRegion region, ScreenPaintData &data); | 42 | void paintScreen(int mask, QRegion region, ScreenPaintData &data) 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 90; | 46 | return 90; | ||
47 | } | 47 | } | ||
48 | 48 | | |||
49 | // for properties | 49 | // for properties | ||
50 | bool isHandlesMoves() const { | 50 | bool isHandlesMoves() const { | ||
51 | return iHandleMoves; | 51 | return iHandleMoves; | ||
Show All 22 Lines |