diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-25 13:18:57 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-25 13:18:57 (GMT) |
commit | 9bcdcc33e1abd202a5b0ec156ff22624bd21740c (patch) | |
tree | 1dc9ed420b6f470efb9b98d1ba42085213aa147b /src/3rdparty/phonon/mmf/videooutput.h | |
parent | 4135d048eb7999927dc39a73df138922d4ba6278 (diff) | |
download | Qt-9bcdcc33e1abd202a5b0ec156ff22624bd21740c.zip Qt-9bcdcc33e1abd202a5b0ec156ff22624bd21740c.tar.gz Qt-9bcdcc33e1abd202a5b0ec156ff22624bd21740c.tar.bz2 |
Modified video player to call updateGeometry on video display widget; having no effect at present
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/videooutput.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.h b/src/3rdparty/phonon/mmf/videooutput.h index 8b08402..d6cfc6f 100644 --- a/src/3rdparty/phonon/mmf/videooutput.h +++ b/src/3rdparty/phonon/mmf/videooutput.h @@ -33,7 +33,18 @@ namespace Phonon VideoOutput(QWidget* parent); ~VideoOutput(); + void setFrameSize(const QSize& size); + + protected: + // QWidget + QSize sizeHint() const; + void paintEvent(QPaintEvent* event); + void resizeEvent(QResizeEvent* event); + void moveEvent(QMoveEvent* event); + QPaintEngine* paintEngine() const; + private: + QSize m_frameSize; }; } |