diff -r 74b30151afd6 -r 77bc263e1626 phonebookui/pbkcommonui/inc/cntpresencelistener.h --- a/phonebookui/pbkcommonui/inc/cntpresencelistener.h Wed Jul 21 11:09:07 2010 +0300 +++ b/phonebookui/pbkcommonui/inc/cntpresencelistener.h Wed Jul 21 11:21:49 2010 +0300 @@ -31,6 +31,11 @@ QTM_USE_NAMESPACE +/** + Presence listener for contact card. It provides aggregated + presence information for a contact and separately for each + valid QContactOnlineAccount. +*/ class CntPresenceListener : public QObject { friend class TestCntPresenceListener; @@ -50,7 +55,9 @@ bool parsePresence(QList buddyList); signals: - void accountPresenceUpdated(QString accountUri, bool online); + /// account-specific presence status + void accountPresenceUpdated(const QString& accountUri, bool online); + /// aggregated presence status for this contact void fullPresenceUpdated(bool online); private: