Qt: Add missing override keywords

This commit is contained in:
Jeffrey Pfau 2015-10-13 21:25:22 -07:00
parent e85bce67e5
commit 86dcb7b6c2
4 changed files with 11 additions and 11 deletions

View File

@ -19,15 +19,15 @@ Q_OBJECT
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;

View File

@ -25,11 +25,11 @@ public:
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;

View File

@ -52,7 +52,7 @@ public slots:
void showMessage(const QString& message);
protected:
void resizeEvent(QResizeEvent*);
virtual void resizeEvent(QResizeEvent*) override;
virtual void mouseMoveEvent(QMouseEvent*) override;
MessagePainter* messagePainter() { return &m_messagePainter; }

View File

@ -30,7 +30,7 @@ public:
protected:
bool eventFilter(QObject*, QEvent* event) override;
bool event(QEvent* event);
bool event(QEvent* event) override;
private slots:
void updateSensors();