diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-25 04:53:46 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-25 04:53:46 +0200 |
commit | cf5d24b94d96b722c6d76c2225293a56a50d3c2b (patch) | |
tree | fece0c539fe4c40e1faae109f53c46ddc5b0d222 /libsowatch/declarativewatchlet.cpp | |
parent | 2b4e878938215ac743bdc36deace4c2a4cb0c7a2 (diff) | |
download | sowatch-cf5d24b94d96b722c6d76c2225293a56a50d3c2b.tar.gz sowatch-cf5d24b94d96b722c6d76c2225293a56a50d3c2b.zip |
watchlets working!
Diffstat (limited to 'libsowatch/declarativewatchlet.cpp')
-rw-r--r-- | libsowatch/declarativewatchlet.cpp | 10 |
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(); |