From 4bc56bff80046b74926289be8825726296f39791 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 14 Sep 2014 19:47:14 +0200 Subject: Prepare new plan for notification eavesdropping --- src/notificationmonitor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/notificationmonitor.h') diff --git a/src/notificationmonitor.h b/src/notificationmonitor.h index de9a0e7..eac06ff 100644 --- a/src/notificationmonitor.h +++ b/src/notificationmonitor.h @@ -3,6 +3,7 @@ #include #include +#include #include "notification.h" @@ -22,12 +23,12 @@ private: explicit NotificationMonitor(QObject *parent = 0); private slots: - void handleNotification(const QString &app_name, uint replaces_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantHash &hints, int expire_timeout); - void handleClosedNotification(uint id); - friend class NotificationAdaptor; + void handleServiceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); private: - QHash _pendingNotifications; + QHash _notifications; }; #endif // NOTIFICATIONMONITOR_H -- cgit v1.2.3