summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/declarativewatchlet.cpp')
-rw-r--r--libsowatch/declarativewatchlet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp
index 7e6768e..60538f8 100644
--- a/libsowatch/declarativewatchlet.cpp
+++ b/libsowatch/declarativewatchlet.cpp
@@ -54,6 +54,16 @@ void DeclarativeWatchlet::setSource(const QUrl &url)
}
}
+QDeclarativeEngine* DeclarativeWatchlet::engine()
+{
+ return _engine;
+}
+
+QDeclarativeContext* DeclarativeWatchlet::rootContext()
+{
+ return _engine->rootContext();
+}
+
void DeclarativeWatchlet::activate()
{
Watchlet::activate();