summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-03-18 05:09:01 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-03-18 05:10:46 (GMT)
commit00dea4c917e8bbc598ba5a5afe90280fd4e5bf8a (patch)
treec76cd7e711773a5f6104425fd86c9b9f71ac27d1 /src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h
parent19c41b7de6596453f16d52f05953b153cd40e36e (diff)
downloadQt-00dea4c917e8bbc598ba5a5afe90280fd4e5bf8a.zip
Qt-00dea4c917e8bbc598ba5a5afe90280fd4e5bf8a.tar.gz
Qt-00dea4c917e8bbc598ba5a5afe90280fd4e5bf8a.tar.bz2
Replace AspectRatioMode enum from QVideoWidget with Qt::AspectRatioMode.
Task-number: QTBUG-9118 Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h')
-rw-r--r--src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h b/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h
index 6a4c0f3..28b48af 100644
--- a/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h
+++ b/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.h
@@ -67,8 +67,8 @@ public:
QWidget *videoWidget();
- QVideoWidget::AspectRatioMode aspectRatioMode() const;
- void setAspectRatioMode(QVideoWidget::AspectRatioMode mode);
+ Qt::AspectRatioMode aspectRatioMode() const;
+ void setAspectRatioMode(Qt::AspectRatioMode mode);
bool isFullScreen() const;
void setFullScreen(bool fullScreen);
@@ -99,7 +99,7 @@ private:
GstElement *m_videoSink;
QGstreamerVideoWidget *m_widget;
WId m_windowId;
- QVideoWidget::AspectRatioMode m_aspectRatioMode;
+ Qt::AspectRatioMode m_aspectRatioMode;
bool m_fullScreen;
};