diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-11 19:17:07 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-11 19:17:07 +0200 |
commit | bf083973efd101e05d75882b63aad9bdfa37dfbc (patch) | |
tree | c07769c2a82e4b5bba8d3d02558eb4c69a531001 /libsowatch/watch.h | |
parent | bc899047089079dde323e84a57efe46ce6af653d (diff) | |
download | sowatch-bf083973efd101e05d75882b63aad9bdfa37dfbc.tar.gz sowatch-bf083973efd101e05d75882b63aad9bdfa37dfbc.zip |
store watchlets in model
Diffstat (limited to 'libsowatch/watch.h')
-rw-r--r-- | libsowatch/watch.h | 6 |
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; |