diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/FlatButton.h | 4 | ||||
-rw-r--r-- | src/ui/LoadingIndicator.h | 2 | ||||
-rw-r--r-- | src/ui/RaisedButton.h | 2 | ||||
-rw-r--r-- | src/ui/TextLabel.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/FlatButton.h b/src/ui/FlatButton.h index 764df6e9..3749a0d9 100644 --- a/src/ui/FlatButton.h +++ b/src/ui/FlatButton.h @@ -18,7 +18,7 @@ class FlatButtonStateMachine : public QStateMachine public: explicit FlatButtonStateMachine(FlatButton *parent); - ~FlatButtonStateMachine(); + ~FlatButtonStateMachine() override; void setOverlayOpacity(qreal opacity); void setCheckedOverlayProgress(qreal opacity); @@ -100,7 +100,7 @@ public: ui::Role role, QWidget *parent = nullptr, ui::ButtonPreset preset = ui::ButtonPreset::FlatPreset); - ~FlatButton(); + ~FlatButton() override; void applyPreset(ui::ButtonPreset preset); diff --git a/src/ui/LoadingIndicator.h b/src/ui/LoadingIndicator.h index e72a8c48..678ef611 100644 --- a/src/ui/LoadingIndicator.h +++ b/src/ui/LoadingIndicator.h @@ -14,7 +14,7 @@ class LoadingIndicator : public QWidget public: LoadingIndicator(QWidget *parent = nullptr); - void paintEvent(QPaintEvent *e); + void paintEvent(QPaintEvent *e) override; void start(); void stop(); diff --git a/src/ui/RaisedButton.h b/src/ui/RaisedButton.h index 74543262..47ef1acd 100644 --- a/src/ui/RaisedButton.h +++ b/src/ui/RaisedButton.h @@ -13,7 +13,7 @@ class RaisedButton : public FlatButton public: explicit RaisedButton(QWidget *parent = nullptr); explicit RaisedButton(const QString &text, QWidget *parent = nullptr); - ~RaisedButton(); + ~RaisedButton() override; protected: bool event(QEvent *event) override; diff --git a/src/ui/TextLabel.h b/src/ui/TextLabel.h index 1470d64e..56778dcc 100644 --- a/src/ui/TextLabel.h +++ b/src/ui/TextLabel.h @@ -22,7 +22,7 @@ signals: void contextMenuIsOpening(); protected: - bool eventFilter(QObject *obj, QEvent *event); + bool eventFilter(QObject *obj, QEvent *event) override; }; class TextLabel : public QTextBrowser |