summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videowidget.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-08-27 12:51:35 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-08-28 12:30:33 (GMT)
commit76a7f0744cdfeb3ec25c77d4f237e60c74b7b141 (patch)
tree02a65a9bce2ff05ba363647b0e555531737920f2 /src/3rdparty/phonon/mmf/videowidget.h
parent1a551b57e5c9738ba81200dae6aa33ac8b6d2b96 (diff)
downloadQt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.zip
Qt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.tar.gz
Qt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.tar.bz2
Reformatted code to comply with Qt style
Diffstat (limited to 'src/3rdparty/phonon/mmf/videowidget.h')
-rw-r--r--src/3rdparty/phonon/mmf/videowidget.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/src/3rdparty/phonon/mmf/videowidget.h b/src/3rdparty/phonon/mmf/videowidget.h
index 799121b..e2e1f33 100644
--- a/src/3rdparty/phonon/mmf/videowidget.h
+++ b/src/3rdparty/phonon/mmf/videowidget.h
@@ -27,49 +27,49 @@ QT_BEGIN_NAMESPACE
namespace Phonon
{
- namespace MMF
- {
- class VideoOutput;
-
- class VideoWidget : public QObject
- , public Phonon::VideoWidgetInterface
- {
- Q_OBJECT
- Q_INTERFACES(Phonon::VideoWidgetInterface)
-
- public:
- VideoWidget(QWidget* parent);
- ~VideoWidget();
-
- // VideoWidgetInterface
- virtual Phonon::VideoWidget::AspectRatio aspectRatio() const;
- virtual void setAspectRatio(Phonon::VideoWidget::AspectRatio aspectRatio);
- virtual qreal brightness() const;
- virtual void setBrightness(qreal brightness);
- virtual Phonon::VideoWidget::ScaleMode scaleMode() const;
- virtual void setScaleMode(Phonon::VideoWidget::ScaleMode scaleMode);
- virtual qreal contrast() const;
- virtual void setContrast(qreal constrast);
- virtual qreal hue() const;
- virtual void setHue(qreal hue);
- virtual qreal saturation() const;
- virtual void setSaturation(qreal saturation);
- virtual QWidget *widget();
-
- VideoOutput& videoOutput();
-
- private:
- QScopedPointer<QWidget> m_widget;
-
- Phonon::VideoWidget::AspectRatio m_aspectRatio;
- qreal m_brightness;
- Phonon::VideoWidget::ScaleMode m_scaleMode;
- qreal m_contrast;
- qreal m_hue;
- qreal m_saturation;
-
- };
- }
+namespace MMF
+{
+class VideoOutput;
+
+class VideoWidget : public QObject
+ , public Phonon::VideoWidgetInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(Phonon::VideoWidgetInterface)
+
+public:
+ VideoWidget(QWidget* parent);
+ ~VideoWidget();
+
+ // VideoWidgetInterface
+ virtual Phonon::VideoWidget::AspectRatio aspectRatio() const;
+ virtual void setAspectRatio(Phonon::VideoWidget::AspectRatio aspectRatio);
+ virtual qreal brightness() const;
+ virtual void setBrightness(qreal brightness);
+ virtual Phonon::VideoWidget::ScaleMode scaleMode() const;
+ virtual void setScaleMode(Phonon::VideoWidget::ScaleMode scaleMode);
+ virtual qreal contrast() const;
+ virtual void setContrast(qreal constrast);
+ virtual qreal hue() const;
+ virtual void setHue(qreal hue);
+ virtual qreal saturation() const;
+ virtual void setSaturation(qreal saturation);
+ virtual QWidget *widget();
+
+ VideoOutput& videoOutput();
+
+private:
+ QScopedPointer<QWidget> m_widget;
+
+ Phonon::VideoWidget::AspectRatio m_aspectRatio;
+ qreal m_brightness;
+ Phonon::VideoWidget::ScaleMode m_scaleMode;
+ qreal m_contrast;
+ qreal m_hue;
+ qreal m_saturation;
+
+};
+}
}
QT_END_NAMESPACE