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:
|
public:
|
||||||
AudioProcessorQt(QObject* parent = nullptr);
|
AudioProcessorQt(QObject* parent = nullptr);
|
||||||
|
|
||||||
virtual void setInput(GBAThread* input);
|
virtual void setInput(GBAThread* input) override;
|
||||||
virtual unsigned sampleRate() const override;
|
virtual unsigned sampleRate() const override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void start();
|
virtual void start() override;
|
||||||
virtual void pause();
|
virtual void pause() override;
|
||||||
|
|
||||||
virtual void setBufferSamples(int samples);
|
virtual void setBufferSamples(int samples) override;
|
||||||
virtual void inputParametersChanged();
|
virtual void inputParametersChanged() override;
|
||||||
|
|
||||||
virtual void requestSampleRate(unsigned) override;
|
virtual void requestSampleRate(unsigned) override;
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,11 @@ public:
|
||||||
virtual unsigned sampleRate() const override;
|
virtual unsigned sampleRate() const override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void start();
|
virtual void start() override;
|
||||||
virtual void pause();
|
virtual void pause() override;
|
||||||
|
|
||||||
virtual void setBufferSamples(int samples);
|
virtual void setBufferSamples(int samples) override;
|
||||||
virtual void inputParametersChanged();
|
virtual void inputParametersChanged() override;
|
||||||
|
|
||||||
virtual void requestSampleRate(unsigned) override;
|
virtual void requestSampleRate(unsigned) override;
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ public slots:
|
||||||
void showMessage(const QString& message);
|
void showMessage(const QString& message);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent*);
|
virtual void resizeEvent(QResizeEvent*) override;
|
||||||
virtual void mouseMoveEvent(QMouseEvent*) override;
|
virtual void mouseMoveEvent(QMouseEvent*) override;
|
||||||
|
|
||||||
MessagePainter* messagePainter() { return &m_messagePainter; }
|
MessagePainter* messagePainter() { return &m_messagePainter; }
|
||||||
|
|
|
@ -30,7 +30,7 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject*, QEvent* event) override;
|
bool eventFilter(QObject*, QEvent* event) override;
|
||||||
bool event(QEvent* event);
|
bool event(QEvent* event) override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void updateSensors();
|
void updateSensors();
|
||||||
|
|
Loading…
Reference in New Issue