diff options
Diffstat (limited to 'libsowatch')
-rw-r--r-- | libsowatch/declarativewatchwrapper.cpp | 4 | ||||
-rw-r--r-- | libsowatch/declarativewatchwrapper.h | 1 | ||||
-rw-r--r-- | libsowatch/watch.h | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/libsowatch/declarativewatchwrapper.cpp b/libsowatch/declarativewatchwrapper.cpp index 968c3e2..d06ef3b 100644 --- a/libsowatch/declarativewatchwrapper.cpp +++ b/libsowatch/declarativewatchwrapper.cpp @@ -41,10 +41,6 @@ void DeclarativeWatchWrapper::activate() // Emit the active signal emit activeChanged(); - - // Since a notification currently causes the active watchlet to be deactivated, - // we can assume the notifications list only changes when we are deactivated. - emit notificationsChanged(); } } diff --git a/libsowatch/declarativewatchwrapper.h b/libsowatch/declarativewatchwrapper.h index 74f569c..4cc0bf4 100644 --- a/libsowatch/declarativewatchwrapper.h +++ b/libsowatch/declarativewatchwrapper.h @@ -32,7 +32,6 @@ signals: void buttonReleased(int button); void activeChanged(); - void notificationsChanged(); private: WatchServer *_server; diff --git a/libsowatch/watch.h b/libsowatch/watch.h index 60a66bd..5e0233b 100644 --- a/libsowatch/watch.h +++ b/libsowatch/watch.h @@ -41,7 +41,9 @@ public: virtual void setDateTime(const QDateTime& dateTime) = 0; /** Asynchronously queries battery date/time from the watch; once the * query is finished, dateTimeChanged() will be signaled and dateTime() - * will return the updated value. */ + * will return the updated value. + * This is not mandatory and returning currentDateTime() is just fine. + */ virtual void queryDateTime() = 0; /** Gets the current date/time as last fetched from the watch. */ virtual QDateTime dateTime() const = 0; |