summaryrefslogtreecommitdiff
path: root/libsowatch/watch.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-11 19:17:07 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-11 19:17:07 +0200
commitbf083973efd101e05d75882b63aad9bdfa37dfbc (patch)
treec07769c2a82e4b5bba8d3d02558eb4c69a531001 /libsowatch/watch.h
parentbc899047089079dde323e84a57efe46ce6af653d (diff)
downloadsowatch-bf083973efd101e05d75882b63aad9bdfa37dfbc.tar.gz
sowatch-bf083973efd101e05d75882b63aad9bdfa37dfbc.zip
store watchlets in model
Diffstat (limited to 'libsowatch/watch.h')
-rw-r--r--libsowatch/watch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsowatch/watch.h b/libsowatch/watch.h
index b0a2a93..27e3d04 100644
--- a/libsowatch/watch.h
+++ b/libsowatch/watch.h
@@ -13,6 +13,9 @@
namespace sowatch
{
+class WatchletsModel;
+class NotificationsModel;
+
class SOWATCH_EXPORT Watch : public QObject, public QPaintDevice
{
Q_OBJECT
@@ -57,6 +60,9 @@ public:
virtual void queryCharging() = 0;
virtual bool charging() const = 0;
+ virtual void setWatchletsModel(WatchletsModel *model);
+ virtual void setNotificationsModel(NotificationsModel *model);
+
public slots:
/** Go back to the idle screen. */
virtual void displayIdleScreen() = 0;