summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchlet.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:44:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:44:40 +0200
commit24c7c2f6f1429103d922ef940c0e17a3d4778059 (patch)
tree76ab9ac2c9fade7db77f64424a17c478979d8a8b /libsowatch/declarativewatchlet.h
parentea5123cb6b30d5ab083ee3821269537b1d31b9f0 (diff)
downloadsowatch-24c7c2f6f1429103d922ef940c0e17a3d4778059.tar.gz
sowatch-24c7c2f6f1429103d922ef940c0e17a3d4778059.zip
ABI change: Watchlet now depends on Watch, not WatchServer
Diffstat (limited to 'libsowatch/declarativewatchlet.h')
-rw-r--r--libsowatch/declarativewatchlet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsowatch/declarativewatchlet.h b/libsowatch/declarativewatchlet.h
index 28b16a8..6433880 100644
--- a/libsowatch/declarativewatchlet.h
+++ b/libsowatch/declarativewatchlet.h
@@ -17,7 +17,7 @@ class SOWATCH_EXPORT DeclarativeWatchlet : public GraphicsWatchlet
{
Q_OBJECT
public:
- DeclarativeWatchlet(WatchServer* server, const QString& id);
+ DeclarativeWatchlet(Watch* watch, const QString& id);
~DeclarativeWatchlet();
void setSource(const QUrl& url);
@@ -26,10 +26,11 @@ public:
QDeclarativeContext* rootContext();
QDeclarativeItem* rootObject();
-protected:
void activate();
void deactivate();
+ void setNotificationsModel(NotificationsModel *model);
+
private:
void setRootObject(QDeclarativeItem* item);