From a1bc918d344d9110053d2caa80c68646413c7f0f Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Wed, 17 Oct 2018 00:56:05 +0300 Subject: [PATCH] [effects/coverswitch] Use override keyword Test Plan: Compiles. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16264 --- effects/coverswitch/coverswitch.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/effects/coverswitch/coverswitch.h b/effects/coverswitch/coverswitch.h index 5915010e35..4c3b15b0df 100644 --- a/effects/coverswitch/coverswitch.h +++ b/effects/coverswitch/coverswitch.h @@ -50,15 +50,15 @@ class CoverSwitchEffect // TODO: mirror colors public: CoverSwitchEffect(); - ~CoverSwitchEffect(); + ~CoverSwitchEffect() override; - virtual void reconfigure(ReconfigureFlags); - virtual void prePaintScreen(ScreenPrePaintData& data, int time); - virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data); - virtual void postPaintScreen(); - virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); - virtual void windowInputMouseEvent(QEvent* e); - virtual bool isActive() const; + void reconfigure(ReconfigureFlags) override; + void prePaintScreen(ScreenPrePaintData &data, int time) override; + void paintScreen(int mask, QRegion region, ScreenPaintData &data) override; + void postPaintScreen(); + void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override; + void windowInputMouseEvent(QEvent *e) override; + bool isActive() const override; static bool supported();