Qt: Add missing override keywords
Jeffrey Pfau jeffrey@endrift.com
Tue, 13 Oct 2015 21:25:22 -0700
4 files changed,
11 insertions(+),
11 deletions(-)
M
src/platform/qt/AudioProcessorQt.h
→
src/platform/qt/AudioProcessorQt.h
@@ -19,15 +19,15 @@
public: AudioProcessorQt(QObject* parent = nullptr); - virtual void setInput(GBAThread* input); + virtual void setInput(GBAThread* input) override; virtual unsigned sampleRate() const override; public slots: - virtual void start(); - virtual void pause(); + virtual void start() override; + virtual void pause() override; - virtual void setBufferSamples(int samples); - virtual void inputParametersChanged(); + virtual void setBufferSamples(int samples) override; + virtual void inputParametersChanged() override; virtual void requestSampleRate(unsigned) override;
M
src/platform/qt/AudioProcessorSDL.h
→
src/platform/qt/AudioProcessorSDL.h
@@ -25,11 +25,11 @@
virtual unsigned sampleRate() const override; public slots: - virtual void start(); - virtual void pause(); + virtual void start() override; + virtual void pause() override; - virtual void setBufferSamples(int samples); - virtual void inputParametersChanged(); + virtual void setBufferSamples(int samples) override; + virtual void inputParametersChanged() override; virtual void requestSampleRate(unsigned) override;
M
src/platform/qt/Display.h
→
src/platform/qt/Display.h
@@ -52,7 +52,7 @@
void showMessage(const QString& message); protected: - void resizeEvent(QResizeEvent*); + virtual void resizeEvent(QResizeEvent*) override; virtual void mouseMoveEvent(QMouseEvent*) override; MessagePainter* messagePainter() { return &m_messagePainter; }
M
src/platform/qt/SensorView.h
→
src/platform/qt/SensorView.h
@@ -30,7 +30,7 @@ SensorView(GameController* controller, InputController* input, QWidget* parent = nullptr);
protected: bool eventFilter(QObject*, QEvent* event) override; - bool event(QEvent* event); + bool event(QEvent* event) override; private slots: void updateSensors();