Changeset View
Changeset View
Standalone View
Standalone View
effects/thumbnailaside/thumbnailaside.h
Show All 40 Lines | 40 | { | |||
---|---|---|---|---|---|
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | Q_PROPERTY(int maxWidth READ configuredMaxWidth) | 42 | Q_PROPERTY(int maxWidth READ configuredMaxWidth) | ||
43 | Q_PROPERTY(int spacing READ configuredSpacing) | 43 | Q_PROPERTY(int spacing READ configuredSpacing) | ||
44 | Q_PROPERTY(qreal opacity READ configuredOpacity) | 44 | Q_PROPERTY(qreal opacity READ configuredOpacity) | ||
45 | Q_PROPERTY(int screen READ configuredScreen) | 45 | Q_PROPERTY(int screen READ configuredScreen) | ||
46 | public: | 46 | public: | ||
47 | ThumbnailAsideEffect(); | 47 | ThumbnailAsideEffect(); | ||
48 | void reconfigure(ReconfigureFlags) override; | 48 | void reconfigure(ReconfigureFlags) override; | ||
49 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | 49 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) override; | ||
50 | void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override; | 50 | void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override; | ||
51 | 51 | | |||
52 | // for properties | 52 | // for properties | ||
53 | int configuredMaxWidth() const { | 53 | int configuredMaxWidth() const { | ||
54 | return maxwidth; | 54 | return maxwidth; | ||
55 | } | 55 | } | ||
56 | int configuredSpacing() const { | 56 | int configuredSpacing() const { | ||
57 | return spacing; | 57 | return spacing; | ||
Show All 34 Lines |