1From c1fe551662dc30aa67ae6725088c4c472ac0bfef Mon Sep 17 00:00:00 2001 2From: Jeffy Chen <jeffy.chen@rock-chips.com> 3Date: Fri, 30 Nov 2018 17:50:55 +0800 4Subject: [PATCH 11/28] qwindow: Add interface to override win id for video 5 window 6 7Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 8--- 9 src/gui/kernel/qwindow.h | 7 +++++++ 10 1 file changed, 7 insertions(+) 11 12diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h 13index 7aae7fff..0cb46424 100644 14--- a/src/gui/kernel/qwindow.h 15+++ b/src/gui/kernel/qwindow.h 16@@ -404,6 +404,13 @@ template <> inline const QWindow *qobject_cast<const QWindow*>(const QObject *o) 17 Q_GUI_EXPORT QDebug operator<<(QDebug, const QWindow *); 18 #endif 19 20+// Inherit this to overrid window id for video window 21+class Q_GUI_EXPORT QVideoWindowAbstractInterface 22+{ 23+public: 24+ virtual WId videoWinId() const = 0; 25+}; 26+ 27 QT_END_NAMESPACE 28 29 #endif // QWINDOW_H 30-- 312.20.1 32 33