diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-27 12:51:35 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-28 12:30:33 (GMT) |
commit | 76a7f0744cdfeb3ec25c77d4f237e60c74b7b141 (patch) | |
tree | 02a65a9bce2ff05ba363647b0e555531737920f2 /src/3rdparty/phonon/mmf/videooutput.h | |
parent | 1a551b57e5c9738ba81200dae6aa33ac8b6d2b96 (diff) | |
download | Qt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.zip Qt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.tar.gz Qt-76a7f0744cdfeb3ec25c77d4f237e60c74b7b141.tar.bz2 |
Reformatted code to comply with Qt style
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/videooutput.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.h b/src/3rdparty/phonon/mmf/videooutput.h index b8e22ca..0da6ea0 100644 --- a/src/3rdparty/phonon/mmf/videooutput.h +++ b/src/3rdparty/phonon/mmf/videooutput.h @@ -26,43 +26,43 @@ QT_BEGIN_NAMESPACE namespace Phonon { - namespace MMF - { - class VideoOutputObserver; - - class VideoOutput : public QWidget - { - Q_OBJECT - - public: - explicit VideoOutput(QWidget* parent); - ~VideoOutput(); - - void setFrameSize(const QSize& size); - void setObserver(VideoOutputObserver* observer); - - protected: - #ifndef PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET - // Override QWidget functions - QSize sizeHint() const; - void paintEvent(QPaintEvent* event); - void resizeEvent(QResizeEvent* event); - void moveEvent(QMoveEvent* event); - QPaintEngine* paintEngine() const; - #endif // PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET +namespace MMF +{ +class VideoOutputObserver; + +class VideoOutput : public QWidget +{ + Q_OBJECT + +public: + explicit VideoOutput(QWidget* parent); + ~VideoOutput(); + + void setFrameSize(const QSize& size); + void setObserver(VideoOutputObserver* observer); + +protected: +#ifndef PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET + // Override QWidget functions + QSize sizeHint() const; + void paintEvent(QPaintEvent* event); + void resizeEvent(QResizeEvent* event); + void moveEvent(QMoveEvent* event); + QPaintEngine* paintEngine() const; +#endif // PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET #ifdef PHONON_MMF_DEBUG_VIDEO_OUTPUT - public: - void dump(); +public: + void dump(); #endif - - private: - QSize m_frameSize; - - // Not owned - VideoOutputObserver* m_observer; - }; - } + +private: + QSize m_frameSize; + + // Not owned + VideoOutputObserver* m_observer; +}; +} } QT_END_NAMESPACE |