From cf5d24b94d96b722c6d76c2225293a56a50d3c2b Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 25 Sep 2011 04:53:46 +0200 Subject: watchlets working! --- libsowatch/declarativewatchlet.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libsowatch/declarativewatchlet.cpp') 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(); -- cgit v1.2.3