diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-11 15:10:11 +0300 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-12-12 15:29:53 +0000 |
commit | 32e35a8839085d88ddbf289ba2669c6745e9a04a (patch) | |
tree | 8a009ea34d44114ee4cfabf275cdf95fb9bf159a /src/imports/audioengine/qaudioengine_openal_p.h | |
parent | c89e2ea249015142f59c8ea440b6e36bac6f96c9 (diff) |
Add missing override and remove redundant virtual
Change-Id: Ifd439abf21877adff57080489324bea729ee5279
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/imports/audioengine/qaudioengine_openal_p.h')
-rw-r--r-- | src/imports/audioengine/qaudioengine_openal_p.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/imports/audioengine/qaudioengine_openal_p.h b/src/imports/audioengine/qaudioengine_openal_p.h index 088cb3f22..c1dbf6aa2 100644 --- a/src/imports/audioengine/qaudioengine_openal_p.h +++ b/src/imports/audioengine/qaudioengine_openal_p.h @@ -123,28 +123,28 @@ public: QSoundSourcePrivate(QObject *parent); ~QSoundSourcePrivate(); - void play(); - void pause(); - void stop(); + void play() override; + void pause() override; + void stop() override; - QSoundSource::State state() const; + QSoundSource::State state() const override; bool isLooping() const; - void setLooping(bool looping); - void setPosition(const QVector3D& position); - void setDirection(const QVector3D& direction); - void setVelocity(const QVector3D& velocity); + void setLooping(bool looping) override; + void setPosition(const QVector3D& position) override; + void setDirection(const QVector3D& direction) override; + void setVelocity(const QVector3D& velocity) override; - QVector3D velocity() const; - QVector3D position() const; - QVector3D direction() const; + QVector3D velocity() const override; + QVector3D position() const override; + QVector3D direction() const override; - void setGain(qreal gain); - void setPitch(qreal pitch); - void setCone(qreal innerAngle, qreal outerAngle, qreal outerGain); + void setGain(qreal gain) override; + void setPitch(qreal pitch) override; + void setCone(qreal innerAngle, qreal outerAngle, qreal outerGain) override; - void bindBuffer(QSoundBuffer*); - void unbindBuffer(); + void bindBuffer(QSoundBuffer*) override; + void unbindBuffer() override; void checkState(); |