Multimedia: examples coding style unification

Change-Id: Iffae3a276bb2b01f871aee76dc069ce006d69fce
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2012-11-20 18:27:28 +01:00
committed by The Qt Project
parent 9f4d6e824c
commit 21c3915205
69 changed files with 394 additions and 466 deletions

View File

@@ -41,9 +41,8 @@
#ifndef PLAYERCONTROLS_H
#define PLAYERCONTROLS_H
#include <qmediaplayer.h>
#include <QtWidgets/qwidget.h>
#include <QMediaPlayer>
#include <QWidget>
QT_BEGIN_NAMESPACE
class QAbstractButton;
@@ -51,16 +50,14 @@ class QAbstractSlider;
class QComboBox;
QT_END_NAMESPACE
QT_USE_NAMESPACE
class PlayerControls : public QWidget
{
Q_OBJECT
public:
PlayerControls(QWidget *parent = 0);
QMediaPlayer::State state() const;
int volume() const;
bool isMuted() const;
qreal playbackRate() const;
@@ -98,4 +95,4 @@ private:
QComboBox *rateBox;
};
#endif
#endif // PLAYERCONTROLS_H