equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #ifndef QVIDEOWINDOWCONTROL_H |
42 #ifndef QVIDEOWINDOWCONTROL_H |
43 #define QVIDEOWINDOWCONTROL_H |
43 #define QVIDEOWINDOWCONTROL_H |
44 |
44 |
45 #include <qmediacontrol.h> |
45 #include "qmediacontrol.h" |
46 #include <qvideowidget.h> |
46 #include "qvideowidget.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 |
67 |
67 |
68 virtual void repaint() = 0; |
68 virtual void repaint() = 0; |
69 |
69 |
70 virtual QSize nativeSize() const = 0; |
70 virtual QSize nativeSize() const = 0; |
71 |
71 |
72 virtual QVideoWidget::AspectRatioMode aspectRatioMode() const = 0; |
72 virtual Qt::AspectRatioMode aspectRatioMode() const = 0; |
73 virtual void setAspectRatioMode(QVideoWidget::AspectRatioMode mode) = 0; |
73 virtual void setAspectRatioMode(Qt::AspectRatioMode mode) = 0; |
74 |
74 |
75 virtual int brightness() const = 0; |
75 virtual int brightness() const = 0; |
76 virtual void setBrightness(int brightness) = 0; |
76 virtual void setBrightness(int brightness) = 0; |
77 |
77 |
78 virtual int contrast() const = 0; |
78 virtual int contrast() const = 0; |