--- a/qtmobility/plugins/multimedia/wmp/qevrvideooverlay.h Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/plugins/multimedia/wmp/qevrvideooverlay.h Mon May 03 13:18:40 2010 +0300
@@ -68,8 +68,8 @@
QSize nativeSize() const;
- QVideoWidget::AspectRatioMode aspectRatioMode() const;
- void setAspectRatioMode(QVideoWidget::AspectRatioMode mode);
+ Qt::AspectRatioMode aspectRatioMode() const;
+ void setAspectRatioMode(Qt::AspectRatioMode mode);
void repaint();
@@ -97,6 +97,9 @@
HRESULT STDMETHODCALLTYPE ShutdownObject();
HRESULT STDMETHODCALLTYPE DetachObject();
+public Q_SLOTS:
+ void openStateChanged(long state);
+
private:
typedef HRESULT (WINAPI *PtrMFCreateVideoPresenter)(IUnknown*, REFIID, REFIID, void**);
@@ -105,7 +108,7 @@
PtrMFCreateVideoPresenter ptrMFCreateVideoPresenter;
IMFVideoPresenter *m_presenter;
IMFVideoDisplayControl *m_displayControl;
- QVideoWidget::AspectRatioMode m_aspectRatioMode;
+ Qt::AspectRatioMode m_aspectRatioMode;
QSize m_sizeHint;
QRect m_displayRect;
WId m_winId;