23 #ifndef PHONON_VIDEOWIDGETINTERFACE_H
24 #define PHONON_VIDEOWIDGETINTERFACE_H
26 #include "videowidget.h"
29 #ifndef QT_NO_PHONON_VIDEO
40 virtual qreal brightness()
const = 0;
41 virtual void setBrightness(qreal) = 0;
42 virtual Phonon::VideoWidget::ScaleMode scaleMode()
const = 0;
43 virtual void setScaleMode(Phonon::VideoWidget::ScaleMode) = 0;
44 virtual qreal contrast()
const = 0;
45 virtual void setContrast(qreal) = 0;
46 virtual qreal hue()
const = 0;
47 virtual void setHue(qreal) = 0;
48 virtual qreal saturation()
const = 0;
49 virtual void setSaturation(qreal) = 0;
50 virtual QWidget *widget() = 0;
58 virtual QImage snapshot()
const = 0;
62 #ifdef PHONON_BACKEND_VERSION_4_4
63 namespace Phonon {
typedef VideoWidgetInterface44 VideoWidgetInterfaceLatest; }
65 namespace Phonon {
typedef VideoWidgetInterface VideoWidgetInterfaceLatest; }
69 Q_DECLARE_INTERFACE(Phonon::VideoWidgetInterface, "VideoWidgetInterface3.phonon.kde.org")
71 #endif //QT_NO_PHONON_VIDEO
74 #endif // PHONON_VIDEOWIDGETINTERFACE_H