summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
commit49c64104c0750857858504b512955d9cc31e5c42 (patch)
tree1a74e10cf42f0f08b1af64e8470825e8e1c8ea41 /libsowatch/declarativewatchlet.cpp
parent24c7c2f6f1429103d922ef940c0e17a3d4778059 (diff)
downloadsowatch-49c64104c0750857858504b512955d9cc31e5c42.tar.gz
sowatch-49c64104c0750857858504b512955d9cc31e5c42.zip
update the rest of the watchlets
Diffstat (limited to 'libsowatch/declarativewatchlet.cpp')
-rw-r--r--libsowatch/declarativewatchlet.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp
index ed6ec26..3647575 100644
--- a/libsowatch/declarativewatchlet.cpp
+++ b/libsowatch/declarativewatchlet.cpp
@@ -84,14 +84,9 @@ void DeclarativeWatchlet::setSource(const QUrl &url)
}
}
-QDeclarativeEngine* DeclarativeWatchlet::engine()
+QDeclarativeContext* DeclarativeWatchlet::context()
{
- return _engine;
-}
-
-QDeclarativeContext* DeclarativeWatchlet::rootContext()
-{
- return _engine->rootContext();
+ return _context;
}
QDeclarativeItem* DeclarativeWatchlet::rootObject()