23#ifndef PHONON_VIDEOWIDGETINTERFACE_H
24#define PHONON_VIDEOWIDGETINTERFACE_H
26#include "videowidget.h"
29#ifndef QT_NO_PHONON_VIDEO
33class VideoWidgetInterface
36 virtual ~VideoWidgetInterface() {}
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;
55class VideoWidgetInterface44 :
public VideoWidgetInterface
58 virtual QImage snapshot()
const = 0;
62#ifdef PHONON_BACKEND_VERSION_4_4
63namespace Phonon {
typedef VideoWidgetInterface44 VideoWidgetInterfaceLatest; }
65namespace Phonon {
typedef VideoWidgetInterface VideoWidgetInterfaceLatest; }
68Q_DECLARE_INTERFACE(Phonon::VideoWidgetInterface44,
"VideoWidgetInterface44.phonon.kde.org")
69Q_DECLARE_INTERFACE(Phonon::VideoWidgetInterface, "VideoWidgetInterface3.phonon.kde.
org")
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.