aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickwidgets/qquickwidget.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-03-26 21:34:42 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-03-27 09:28:29 +0000
commit9cd486186e1e4e78f4f1b7e4a9142008a254c8cd (patch)
tree34bbe45bfe86d28851ec8e5c501a2499c3499954 /src/quickwidgets/qquickwidget.h
parent5ac1654715b3e268d86570c860460f24697f2267 (diff)
QQuickWidget: expose the underlying QQuickWindow
There's a number of APIs (such as all the scenegraph-related signals) that are currently missing from QQuickWidget. Instead of duplicating every API in QQuickWidget, simply expose the underlying offscreen QQuickWindow. Task-number: QTBUG-45260 Change-Id: I1a89fe600ce675963ea24ee6dd56d6ca4fea9cd2 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/quickwidgets/qquickwidget.h')
-rw-r--r--src/quickwidgets/qquickwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quickwidgets/qquickwidget.h b/src/quickwidgets/qquickwidget.h
index b961a6eeaf..a8bf03edfb 100644
--- a/src/quickwidgets/qquickwidget.h
+++ b/src/quickwidgets/qquickwidget.h
@@ -90,6 +90,8 @@ public:
void setClearColor(const QColor &color);
+ QQuickWindow *quickWindow() const;
+
public Q_SLOTS:
void setSource(const QUrl&);
void setContent(const QUrl& url, QQmlComponent *component, QObject *item);