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

Nepomuk-Core

Signals | Public Member Functions | Properties | List of all members
ContactPin Class Reference

#include <contact-pin.h>

Inheritance diagram for ContactPin:
Inheritance graph
[legend]

Signals

void pinnedChanged ()

Public Member Functions

 ContactPin (QObject *parent=0)
Tp::AccountPtr account () const
KTp::ContactPtr contact () const
bool isPinned () const
PinnedContactsModel * model () const
void setAccount (const Tp::AccountPtr &account)
void setContact (const KTp::ContactPtr &contact)
void setModel (PinnedContactsModel *model)
Q_SCRIPTABLE void toggle ()

Properties

Tp::AccountPtr account
KTp::ContactPtr contact
PinnedContactsModel model
bool pinned

Detailed Description

Definition at line 27 of file contact-pin.h.

Constructor & Destructor Documentation

ContactPin::ContactPin ( QObject *  parent = 0)
explicit

Definition at line 24 of file contact-pin.cpp.

Member Function Documentation

Tp::AccountPtr ContactPin::account ( ) const
KTp::ContactPtr ContactPin::contact ( ) const
bool ContactPin::isPinned ( ) const

Definition at line 45 of file contact-pin.cpp.

PinnedContactsModel* ContactPin::model ( ) const
void ContactPin::pinnedChanged ( )
signal
void ContactPin::setAccount ( const Tp::AccountPtr &  account)

Definition at line 63 of file contact-pin.cpp.

void ContactPin::setContact ( const KTp::ContactPtr &  contact)

Definition at line 70 of file contact-pin.cpp.

void ContactPin::setModel ( PinnedContactsModel *  model)

Definition at line 76 of file contact-pin.cpp.

void ContactPin::toggle ( )

Definition at line 55 of file contact-pin.cpp.

Property Documentation

Tp::AccountPtr ContactPin::account
readwrite

Definition at line 31 of file contact-pin.h.

KTp::ContactPtr ContactPin::contact
readwrite

Definition at line 30 of file contact-pin.h.

PinnedContactsModel * ContactPin::model
readwrite

Definition at line 32 of file contact-pin.h.

bool ContactPin::pinned
read

Definition at line 33 of file contact-pin.h.


The documentation for this class was generated from the following files:
  • contact-pin.h
  • contact-pin.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