• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • KTp
  • PersistentContact
Signals | Public Member Functions | Static Public Member Functions | List of all members
KTp::PersistentContact Class Reference

#include <persistent-contact.h>

Inheritance diagram for KTp::PersistentContact:
Inheritance graph
[legend]

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

KTp::PersistentContact::~PersistentContact ( )
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.

void KTp::PersistentContact::contactChanged ( KTp::ContactPtr  )
signal

Signals that the contact object has been replaced.

QString KTp::PersistentContact::contactId ( ) const

Definition at line 58 of file persistent-contact.cpp.

KTp::PersistentContactPtr KTp::PersistentContact::create ( const QString &  accountId,
const QString &  contactId 
)
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:
  • persistent-contact.h
  • persistent-contact.cpp
This file is part of the KDE documentation.
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.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal