summaryrefslogtreecommitdiff
path: root/notificationconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'notificationconn.h')
-rw-r--r--notificationconn.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/notificationconn.h b/notificationconn.h
index 9be3e20..da3e3c3 100644
--- a/notificationconn.h
+++ b/notificationconn.h
@@ -54,18 +54,20 @@ protected:
};
QByteArray packNotification(const Notification &n);
-
-private:
-
+ void sendNotification(const Notification &n);
private slots:
void handleConnected();
void handleMessageReceived();
+ void handleIncomingNotification(const QString &sender, const QIcon &icon, const QString &summary, int count, const QString &body, const QDateTime &dateTime);
void performTest();
private:
SAPConnection *_conn;
SAPSocket *_socket;
+ QHash<QString, short> _knownSenders;
+ int _lastSeqNumber;
+ int _lastNotifId;
};
#endif // NOTIFICATIONCONN_H