summaryrefslogtreecommitdiff
path: root/libsowatch/watchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-07 01:37:21 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-07 01:37:21 +0200
commit6003bf81107dd9be51589c074b74c5af82bfc8ab (patch)
tree502193634979c12b45c2a013668d21556e2c7050 /libsowatch/watchlet.cpp
parentae37832316d905889c82706b351b3c037c9e1ab6 (diff)
downloadsowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.tar.gz
sowatch-6003bf81107dd9be51589c074b74c5af82bfc8ab.zip
testing qml notifications
Diffstat (limited to 'libsowatch/watchlet.cpp')
-rw-r--r--libsowatch/watchlet.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsowatch/watchlet.cpp b/libsowatch/watchlet.cpp
index dcd9103..03ede41 100644
--- a/libsowatch/watchlet.cpp
+++ b/libsowatch/watchlet.cpp
@@ -50,5 +50,17 @@ void Watchlet::deactivate()
void Watchlet::setNotificationsModel(NotificationsModel *model)
{
+ Q_UNUSED(model);
+}
+bool Watchlet::handlesNotification(Notification *notification) const
+{
+ Q_UNUSED(notification);
+ return false;
+}
+
+void Watchlet::openNotification(Notification *notification)
+{
+ Q_UNUSED(notification);
+ qDebug() << "Watchlet" << _id << "does not override openNotification()";
}