[effects/backgroundcontrast] Use override keyword
Test Plan: Compiles. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16262
This commit is contained in:
parent
a1bc918d34
commit
899bd4de3f
1 changed files with 7 additions and 7 deletions
|
@ -46,19 +46,19 @@ class ContrastEffect : public KWin::Effect
|
|||
Q_OBJECT
|
||||
public:
|
||||
ContrastEffect();
|
||||
~ContrastEffect();
|
||||
~ContrastEffect() override;
|
||||
|
||||
static bool supported();
|
||||
static bool enabledByDefault();
|
||||
|
||||
static QMatrix4x4 colorMatrix(qreal contrast, qreal intensity, qreal saturation);
|
||||
void reconfigure(ReconfigureFlags flags);
|
||||
void prePaintScreen(ScreenPrePaintData &data, int time);
|
||||
void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time);
|
||||
void drawWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data);
|
||||
void paintEffectFrame(EffectFrame *frame, QRegion region, double opacity, double frameOpacity);
|
||||
void reconfigure(ReconfigureFlags flags) override;
|
||||
void prePaintScreen(ScreenPrePaintData &data, int time) override;
|
||||
void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override;
|
||||
void drawWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override;
|
||||
void paintEffectFrame(EffectFrame *frame, QRegion region, double opacity, double frameOpacity) override;
|
||||
|
||||
virtual bool provides(Feature feature);
|
||||
bool provides(Feature feature) override;
|
||||
|
||||
int requestedEffectChainPosition() const override {
|
||||
return 76;
|
||||
|
|
Loading…
Reference in a new issue