summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/spectrum/app
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/spectrum/app')
-rw-r--r--examples/multimedia/spectrum/app/levelmeter.h2
-rw-r--r--examples/multimedia/spectrum/app/mainwidget.h2
-rw-r--r--examples/multimedia/spectrum/app/progressbar.h2
-rw-r--r--examples/multimedia/spectrum/app/spectrograph.h6
-rw-r--r--examples/multimedia/spectrum/app/waveform.h4
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/multimedia/spectrum/app/levelmeter.h b/examples/multimedia/spectrum/app/levelmeter.h
index f44da308f..075e9af96 100644
--- a/examples/multimedia/spectrum/app/levelmeter.h
+++ b/examples/multimedia/spectrum/app/levelmeter.h
@@ -57,7 +57,7 @@ public:
explicit LevelMeter(QWidget *parent = 0);
~LevelMeter();
- void paintEvent(QPaintEvent *event);
+ void paintEvent(QPaintEvent *event) override;
public slots:
void reset();
diff --git a/examples/multimedia/spectrum/app/mainwidget.h b/examples/multimedia/spectrum/app/mainwidget.h
index 449a021c4..c8bbce022 100644
--- a/examples/multimedia/spectrum/app/mainwidget.h
+++ b/examples/multimedia/spectrum/app/mainwidget.h
@@ -75,7 +75,7 @@ public:
~MainWidget();
// QObject
- void timerEvent(QTimerEvent *event);
+ void timerEvent(QTimerEvent *event) override;
public slots:
void stateChanged(QAudio::Mode mode, QAudio::State state);
diff --git a/examples/multimedia/spectrum/app/progressbar.h b/examples/multimedia/spectrum/app/progressbar.h
index 6b8032541..f6fed3f66 100644
--- a/examples/multimedia/spectrum/app/progressbar.h
+++ b/examples/multimedia/spectrum/app/progressbar.h
@@ -56,7 +56,7 @@ public:
~ProgressBar();
void reset();
- void paintEvent(QPaintEvent *event);
+ void paintEvent(QPaintEvent *event) override;
public slots:
void bufferLengthChanged(qint64 length);
diff --git a/examples/multimedia/spectrum/app/spectrograph.h b/examples/multimedia/spectrum/app/spectrograph.h
index c75e31416..64182feec 100644
--- a/examples/multimedia/spectrum/app/spectrograph.h
+++ b/examples/multimedia/spectrum/app/spectrograph.h
@@ -60,11 +60,11 @@ public:
void setParams(int numBars, qreal lowFreq, qreal highFreq);
// QObject
- void timerEvent(QTimerEvent *event);
+ void timerEvent(QTimerEvent *event) override;
// QWidget
- void paintEvent(QPaintEvent *event);
- void mousePressEvent(QMouseEvent *event);
+ void paintEvent(QPaintEvent *event) override;
+ void mousePressEvent(QMouseEvent *event) override;
signals:
void infoMessage(const QString &message, int intervalMs);
diff --git a/examples/multimedia/spectrum/app/waveform.h b/examples/multimedia/spectrum/app/waveform.h
index b49416b20..213461e92 100644
--- a/examples/multimedia/spectrum/app/waveform.h
+++ b/examples/multimedia/spectrum/app/waveform.h
@@ -64,8 +64,8 @@ public:
~Waveform();
// QWidget
- void paintEvent(QPaintEvent *event);
- void resizeEvent(QResizeEvent *event);
+ void paintEvent(QPaintEvent *event) override;
+ void resizeEvent(QResizeEvent *event) override;
void initialize(const QAudioFormat &format, qint64 audioBufferSize, qint64 windowDurationUs);
void reset();