From 21c39152055131d87614f051ca08566bd51f268f Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 20 Nov 2012 18:27:28 +0100 Subject: Multimedia: examples coding style unification Change-Id: Iffae3a276bb2b01f871aee76dc069ce006d69fce Reviewed-by: David Schulz --- examples/spectrum/app/waveform.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'examples/spectrum/app/waveform.h') diff --git a/examples/spectrum/app/waveform.h b/examples/spectrum/app/waveform.h index 2aaec8049..019e86ac5 100644 --- a/examples/spectrum/app/waveform.h +++ b/examples/spectrum/app/waveform.h @@ -41,12 +41,10 @@ #ifndef WAVEFORM_H #define WAVEFORM_H -#include -#include +#include #include #include - -QT_FORWARD_DECLARE_CLASS(QByteArray) +#include /** * Widget which displays a section of the audio waveform. @@ -57,10 +55,12 @@ QT_FORWARD_DECLARE_CLASS(QByteArray) * outside the widget, it is moved to the right end of the tile array and * painted with the next section of the waveform. */ -class Waveform : public QWidget { +class Waveform : public QWidget +{ Q_OBJECT + public: - Waveform(QWidget *parent = 0); + explicit Waveform(QWidget *parent = 0); ~Waveform(); // QWidget @@ -197,7 +197,6 @@ private: qint64 m_windowPosition; qint64 m_windowLength; - }; #endif // WAVEFORM_H -- cgit v1.2.3