mirror of https://github.com/mgba-emu/mgba.git
Qt: Add missing override keywords
This commit is contained in:
parent
b597d5197b
commit
4c176ef51b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue