summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxnativeinterface.cpp
diff options
context:
space:
mode:
authorRafael Roquetto <[email protected]>2013-10-18 18:36:23 -0300
committerThe Qt Project <[email protected]>2013-10-29 19:59:17 +0100
commitcf239f69e1873573da1d17d1eeed326686f7cbef (patch)
tree23a7437490427185433ae5fabea87cfcf07155b1 /src/plugins/platforms/qnx/qqnxnativeinterface.cpp
parentae52bba5d441ea5fa1a56b956e90e00e2f688765 (diff)
QNX: Manage foreign mmrenderer windows
Manage and correctly set the z-order of a foreign created mmrenderer window by QtMultimedia Task-number: QTBUG-33816 Change-Id: I46273b945bf10991462fa72eb1ec8d00b0648988 Reviewed-by: Thomas McGuire <[email protected]>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxnativeinterface.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxnativeinterface.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp
index 4dd3444832a..8958a5c1e26 100644
--- a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp
+++ b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp
@@ -42,6 +42,7 @@
#include "qqnxnativeinterface.h"
#include "qqnxscreen.h"
+#include "qqnxwindow.h"
#include <QtGui/QScreen>
#include <QtGui/QWindow>
@@ -70,4 +71,12 @@ void *QQnxNativeInterface::nativeResourceForScreen(const QByteArray &resource, Q
return 0;
}
+void QQnxNativeInterface::setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value)
+{
+ if (name == QStringLiteral("mmRendererWindowName")) {
+ QQnxWindow *qnxWindow = static_cast<QQnxWindow*>(window);
+ qnxWindow->setMMRendererWindowName(value.toString());
+ }
+}
+
QT_END_NAMESPACE