Multimedia: examples coding style unification
Change-Id: Iffae3a276bb2b01f871aee76dc069ce006d69fce Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -41,24 +41,23 @@
|
||||
#ifndef VIDEOPLAYER_H
|
||||
#define VIDEOPLAYER_H
|
||||
|
||||
#include <qmediaplayer.h>
|
||||
|
||||
#include <QtGui/QMovie>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include <QMediaPlayer>
|
||||
#include <QMovie>
|
||||
#include <QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAbstractButton;
|
||||
class QSlider;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
||||
class VideoItem;
|
||||
|
||||
class VideoPlayer : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
VideoPlayer(QWidget *parent = 0, Qt::WindowFlags flags = 0);
|
||||
VideoPlayer(QWidget *parent = 0);
|
||||
~VideoPlayer();
|
||||
|
||||
QSize sizeHint() const { return QSize(800, 600); }
|
||||
@@ -81,5 +80,5 @@ private:
|
||||
QSlider *positionSlider;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // VIDEOPLAYER_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user