summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchwrapper.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-14 00:11:51 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-14 00:11:51 +0200
commit758cec1a767c056aaf9da36fd411cdf4a8fba32e (patch)
tree341cb8705e2e6c02d713860c8403ac8a3630a78a /libsowatch/declarativewatchwrapper.cpp
parent542d3489f45111aaca5514495af3847cf39e335b (diff)
downloadsowatch-758cec1a767c056aaf9da36fd411cdf4a8fba32e.tar.gz
sowatch-758cec1a767c056aaf9da36fd411cdf4a8fba32e.zip
rewrite live notifications handling using models
Diffstat (limited to 'libsowatch/declarativewatchwrapper.cpp')
-rw-r--r--libsowatch/declarativewatchwrapper.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/libsowatch/declarativewatchwrapper.cpp b/libsowatch/declarativewatchwrapper.cpp
index ebf92b5..968c3e2 100644
--- a/libsowatch/declarativewatchwrapper.cpp
+++ b/libsowatch/declarativewatchwrapper.cpp
@@ -23,19 +23,6 @@ bool DeclarativeWatchWrapper::active() const
return _active;
}
-QList<QObject*> DeclarativeWatchWrapper::notifications() const
-{
- // TODO: Figure out a better way for this; QAbstractListModel, etc.
- QList<Notification*> nl = _server->liveNotifications();
- QList<QObject*> ol;
- foreach (Notification* n, nl) {
- QObject * o = n;
- ol.append(o);
- }
- qDebug() << "notifications to declarative: " << ol;
- return ol;
-}
-
void DeclarativeWatchWrapper::vibrate(int msecs)
{
if (_active) {