From 9949c02b0f814ad94a27864a5c39689f090299b6 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 23 Nov 2014 19:53:30 +0100 Subject: port to sailfish with qt 5.2 --- notificationconn.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'notificationconn.h') 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 _knownSenders; + int _lastSeqNumber; + int _lastNotifId; }; #endif // NOTIFICATIONCONN_H -- cgit v1.2.3