diff options
author | Javier S. Pedro <dev.git@javispedro.com> | 2014-09-14 20:56:29 +0200 |
---|---|---|
committer | Javier S. Pedro <dev.git@javispedro.com> | 2014-09-14 20:56:29 +0200 |
commit | 6a581ace4f14c30f1c66daf28064d7aefde546fc (patch) | |
tree | 9b777dc1669832a6bc785b313edf88bf19c36425 /src/notificationmonitor.h | |
parent | 4bc56bff80046b74926289be8825726296f39791 (diff) | |
download | salmeta-6a581ace4f14c30f1c66daf28064d7aefde546fc.tar.gz salmeta-6a581ace4f14c30f1c66daf28064d7aefde546fc.zip |
simplify notification monitoring for now
Diffstat (limited to 'src/notificationmonitor.h')
-rw-r--r-- | src/notificationmonitor.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/notificationmonitor.h b/src/notificationmonitor.h index eac06ff..e8b6501 100644 --- a/src/notificationmonitor.h +++ b/src/notificationmonitor.h @@ -2,8 +2,6 @@ #define NOTIFICATIONMONITOR_H #include <QtCore/QObject> -#include <QtCore/QHash> -#include <QtDBus/QDBusServiceWatcher> #include "notification.h" @@ -16,19 +14,8 @@ public: static NotificationMonitor *instance(); -signals: - void newNotification(Notification *notification); - private: explicit NotificationMonitor(QObject *parent = 0); - -private slots: - void handleServiceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); - -private: - QDBusServiceWatcher *_watcher; - QHash<uint, Notification*> _pendingNotifications; - QHash<uint, Notification*> _notifications; }; #endif // NOTIFICATIONMONITOR_H |