diff --git a/libkwineffects/kwinanimationeffect.h b/libkwineffects/kwinanimationeffect.h --- a/libkwineffects/kwinanimationeffect.h +++ b/libkwineffects/kwinanimationeffect.h @@ -148,9 +148,8 @@ * If you shadow _windowClosed() or connect your slot to EffectsHandler::windowClosed() after _windowClosed() was connected, animations for closing windows will fail. */ AnimationEffect(); - ~AnimationEffect(); + ~AnimationEffect() override; - bool isActive() const; /** * Set and get predefined metatypes. * The first 24 bits are reserved for the AnimationEffect class - you can use the last 8 bits for custom hints. @@ -162,11 +161,12 @@ /** * Reimplemented from KWIn::Effect */ - QString debug(const QString ¶meter) const; - virtual void prePaintScreen( ScreenPrePaintData& data, int time ); - virtual void prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time ); - virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data ); - virtual void postPaintScreen(); + bool isActive() const override; + QString debug(const QString ¶meter) const override; + void prePaintScreen(ScreenPrePaintData &data, int time) override; + void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; + void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override; + void postPaintScreen() override; /** * Gaussian (bumper) animation curve for QEasingCurve