diff options
author | David Robillard <d@drobilla.net> | 2020-07-21 20:22:30 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-21 20:22:30 +0200 |
commit | 07a116a0fdc8883bf5631f01a4282e9417a55ac0 (patch) | |
tree | 6db2c303a47a9bde4db98bc7fb363ec6ef2891d8 /src | |
parent | 1388f80152473d031cb748c72ce5b680e9c6a43e (diff) | |
download | jalv-07a116a0fdc8883bf5631f01a4282e9417a55ac0.tar.gz jalv-07a116a0fdc8883bf5631f01a4282e9417a55ac0.tar.bz2 jalv-07a116a0fdc8883bf5631f01a4282e9417a55ac0.zip |
Add missing override specifiers
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_qt.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 7005e91..8a07c7b 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -60,20 +60,20 @@ public: FlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1); - ~FlowLayout(); + ~FlowLayout() override; - void addItem(QLayoutItem* item); + void addItem(QLayoutItem* item) override; int horizontalSpacing() const; int verticalSpacing() const; - Qt::Orientations expandingDirections() const; - bool hasHeightForWidth() const; - int heightForWidth(int) const; - int count() const; - QLayoutItem* itemAt(int index) const; - QSize minimumSize() const; - void setGeometry(const QRect &rect); - QSize sizeHint() const; - QLayoutItem* takeAt(int index); + Qt::Orientations expandingDirections() const override; + bool hasHeightForWidth() const override; + int heightForWidth(int) const override; + int count() const override; + QLayoutItem* itemAt(int index) const override; + QSize minimumSize() const override; + void setGeometry(const QRect &rect) override; + QSize sizeHint() const override; + QLayoutItem* takeAt(int index) override; private: int doLayout(const QRect &rect, bool testOnly) const; @@ -368,7 +368,7 @@ class Timer : public QTimer public: explicit Timer(Jalv* jalv) : _jalv(jalv) {} - void timerEvent(QTimerEvent* e) { + void timerEvent(QTimerEvent* e) override { jalv_update(_jalv); } |