Commit 2dda8692 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent d938b258
......@@ -47,8 +47,8 @@ class CollapsableButton : public QWidget
void toggled();
protected:
virtual void paintEvent(QPaintEvent *ev);
virtual void mouseReleaseEvent(QMouseEvent *ev);
void paintEvent(QPaintEvent *ev) Q_DECL_OVERRIDE;
void mouseReleaseEvent(QMouseEvent *ev) Q_DECL_OVERRIDE;
private:
bool mCollapsed;
......
......@@ -38,9 +38,9 @@ class KCMKScreen : public KCModule
virtual ~KCMKScreen();
public Q_SLOTS:
virtual void load();
virtual void save();
virtual void defaults();
void load() Q_DECL_OVERRIDE;
void save() Q_DECL_OVERRIDE;
void defaults() Q_DECL_OVERRIDE;
void changed();
private:
......
......@@ -37,13 +37,13 @@ class UnifiedOutputConfig : public OutputConfig
explicit UnifiedOutputConfig(const KScreen::ConfigPtr &config, QWidget *parent);
virtual ~UnifiedOutputConfig();
void setOutput(const KScreen::OutputPtr &output);
void setOutput(const KScreen::OutputPtr &output) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotResolutionChanged(const QSize &size);
private:
virtual void initUi();
void initUi() Q_DECL_OVERRIDE;
KScreen::OutputPtr createFakeOutput();
QString findBestMode(const KScreen::OutputPtr &output, const QSize &size);
......
......@@ -53,7 +53,7 @@ class Widget : public QWidget
KScreen::ConfigPtr currentConfig() const;
protected:
virtual bool eventFilter(QObject *object, QEvent *event);
bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
Q_SIGNALS:
void changed();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment