equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #ifndef QVIDEOWIDGETCONTROL_H |
42 #ifndef QVIDEOWIDGETCONTROL_H |
43 #define QVIDEOWIDGETCONTROL_H |
43 #define QVIDEOWIDGETCONTROL_H |
44 |
44 |
45 #include <qvideowidget.h> |
45 #include "qvideowidget.h" |
46 #include <qmediacontrol.h> |
46 #include "qmediacontrol.h" |
47 |
47 |
48 #include <QtGui/qwidget.h> |
48 #include <QtGui/qwidget.h> |
49 |
49 |
50 QTM_BEGIN_NAMESPACE |
50 QTM_BEGIN_NAMESPACE |
51 |
51 |
58 public: |
58 public: |
59 virtual ~QVideoWidgetControl(); |
59 virtual ~QVideoWidgetControl(); |
60 |
60 |
61 virtual QWidget *videoWidget() = 0; |
61 virtual QWidget *videoWidget() = 0; |
62 |
62 |
63 virtual QVideoWidget::AspectRatioMode aspectRatioMode() const = 0; |
63 virtual Qt::AspectRatioMode aspectRatioMode() const = 0; |
64 virtual void setAspectRatioMode(QVideoWidget::AspectRatioMode mode) = 0; |
64 virtual void setAspectRatioMode(Qt::AspectRatioMode mode) = 0; |
65 |
65 |
66 virtual bool isFullScreen() const = 0; |
66 virtual bool isFullScreen() const = 0; |
67 virtual void setFullScreen(bool fullScreen) = 0; |
67 virtual void setFullScreen(bool fullScreen) = 0; |
68 |
68 |
69 virtual int brightness() const = 0; |
69 virtual int brightness() const = 0; |