From 406332eb6b3199d19388f359d04c9f184e6082b5 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 9 Aug 2012 04:03:20 +0200 Subject: watch status UI --- sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp') diff --git a/sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp b/sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp index 8ba6e88..672abd8 100644 --- a/sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp +++ b/sowatchui/qmlapplicationviewer/qmlapplicationviewer.cpp @@ -125,6 +125,11 @@ QmlApplicationViewer *QmlApplicationViewer::create() #endif } +QDeclarativeContext * QmlApplicationViewer::rootContext() +{ + return d->view->rootContext(); +} + void QmlApplicationViewer::setMainQmlFile(const QString &file) { d->mainQmlFile = d->adjustPath(file); -- cgit v1.2.3