summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videooutput.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-06 14:44:39 (GMT)
committeraxis <qt-info@nokia.com>2009-11-06 14:44:39 (GMT)
commitdaf5f511ee813fc4fffba64bed558d0413270388 (patch)
tree37fefb6189943606d184d2159577f7f2ce67b5db /src/3rdparty/phonon/mmf/videooutput.h
parent89b6de9091adbf0645ffe2aba59cb17cb233c170 (diff)
parentded84966823eac0ae0275a2a7676d647d4d856ff (diff)
downloadQt-daf5f511ee813fc4fffba64bed558d0413270388.zip
Qt-daf5f511ee813fc4fffba64bed558d0413270388.tar.gz
Qt-daf5f511ee813fc4fffba64bed558d0413270388.tar.bz2
Merge branch '4.6-s60' into 4.6
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.h')
-rw-r--r--src/3rdparty/phonon/mmf/videooutput.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.h b/src/3rdparty/phonon/mmf/videooutput.h
index 7bc0b52..db4d127 100644
--- a/src/3rdparty/phonon/mmf/videooutput.h
+++ b/src/3rdparty/phonon/mmf/videooutput.h
@@ -30,6 +30,7 @@ namespace Phonon
{
namespace MMF
{
+class AncestorMoveMonitor;
class VideoOutputObserver;
class VideoOutput : public QWidget
@@ -37,12 +38,14 @@ class VideoOutput : public QWidget
Q_OBJECT
public:
- explicit VideoOutput(QWidget* parent);
+ VideoOutput(AncestorMoveMonitor* ancestorMoveMonitor, QWidget* parent);
~VideoOutput();
void setFrameSize(const QSize& size);
void setObserver(VideoOutputObserver* observer);
+ void ancestorMoved();
+
protected:
// Override QWidget functions
QSize sizeHint() const;
@@ -55,11 +58,17 @@ private:
void dump() const;
void videoOutputRegionChanged();
+ void registerForAncestorMoved();
+
private:
- QSize m_frameSize;
+ // Not owned
+ AncestorMoveMonitor* m_ancestorMoveMonitor;
// Not owned
- VideoOutputObserver* m_observer;
+ VideoOutputObserver* m_observer;
+
+ QSize m_frameSize;
+
};
}
}