Nepomuk-Core
#include <persistent-contact.h>
Signals | |
void | contactChanged (KTp::ContactPtr) |
Public Member Functions | |
virtual | ~PersistentContact () |
Tp::AccountPtr | account () const |
QString | accountId () const |
KTp::ContactPtr | contact () const |
QString | contactId () const |
void | setAccountManager (const Tp::AccountManagerPtr &accountManager) |
Static Public Member Functions | |
static Tp::SharedPtr < KTp::PersistentContact > | create (const QString &accountId, const QString &contactId) |
Detailed Description
Object monitors a specific account/contact identifier and will populate it with the most up-to-date contact as connections get destroyed/created.
Definition at line 33 of file persistent-contact.h.
Constructor & Destructor Documentation
|
virtual |
Definition at line 53 of file persistent-contact.cpp.
Member Function Documentation
Tp::AccountPtr KTp::PersistentContact::account | ( | ) | const |
- Warning
- This may be null if no accountManager is set or the account has been deleted
Definition at line 86 of file persistent-contact.cpp.
QString KTp::PersistentContact::accountId | ( | ) | const |
Definition at line 63 of file persistent-contact.cpp.
KTp::ContactPtr KTp::PersistentContact::contact | ( | ) | const |
The contact object for these ID.
- Warning
- This may be null if no accountManager is set or if you are offline
Definition at line 81 of file persistent-contact.cpp.
|
signal |
Signals that the contact object has been replaced.
QString KTp::PersistentContact::contactId | ( | ) | const |
Definition at line 58 of file persistent-contact.cpp.
|
static |
Definition at line 40 of file persistent-contact.cpp.
void KTp::PersistentContact::setAccountManager | ( | const Tp::AccountManagerPtr & | accountManager | ) |
Definition at line 68 of file persistent-contact.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.