diff options
Diffstat (limited to 'src/notificationmonitor.h')
-rw-r--r-- | src/notificationmonitor.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/notificationmonitor.h b/src/notificationmonitor.h index e8b6501..cfa0e17 100644 --- a/src/notificationmonitor.h +++ b/src/notificationmonitor.h @@ -3,8 +3,6 @@ #include <QtCore/QObject> -#include "notification.h" - class NotificationMonitor : public QObject { Q_OBJECT @@ -14,8 +12,15 @@ public: static NotificationMonitor *instance(); +signals: + void incomingNotification(const QString &sender, const QIcon &icon, const QString &summary, const QString &body); + private: explicit NotificationMonitor(QObject *parent = 0); + +private slots: + friend class NotificationsAdaptor; + void Notify(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); }; #endif // NOTIFICATIONMONITOR_H |