• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi/contact

Akonadi::ContactViewerDialog

Akonadi::ContactViewerDialog Class Reference

A dialog for displaying a contact in Akonadi. More...

#include <contactviewerdialog.h>

Inherits KDialog.

List of all members.

Public Slots

void setContact (const Akonadi::Item &contact)

Public Member Functions

 ContactViewerDialog (QWidget *parent=0)
 ~ContactViewerDialog ()
Akonadi::Item contact () const
ContactViewer * viewer () const

Detailed Description

A dialog for displaying a contact in Akonadi.

This dialog provides a way to show a contact from the Akonadi storage.

Example:

 using namespace Akonadi;

 const Item contact = ...

 ContactViewerDialog *dlg = new ContactViewerDialog( this );
 dlg->setContact( contact );
 dlg->show();
Author:
Tobias Koenig <tokoe@kde.org>
Since:
4.4

Definition at line 65 of file contactviewerdialog.h.


Constructor & Destructor Documentation

ContactViewerDialog::ContactViewerDialog ( QWidget *  parent = 0  )  [explicit]

Creates a new contact viewer dialog.

Parameters:
parent The parent widget of the dialog.

Definition at line 39 of file contactviewerdialog.cpp.

ContactViewerDialog::~ContactViewerDialog (  ) 

Destroys the contact viewer dialog.

Definition at line 56 of file contactviewerdialog.cpp.


Member Function Documentation

Akonadi::Item ContactViewerDialog::contact (  )  const

Returns the contact that is currently displayed.

Definition at line 61 of file contactviewerdialog.cpp.

void ContactViewerDialog::setContact ( const Akonadi::Item &  contact  )  [slot]

Sets the contact that shall be displayed in the dialog.

Definition at line 71 of file contactviewerdialog.cpp.

ContactViewer * ContactViewerDialog::viewer (  )  const

Returns the ContactViewer that is used by this dialog.

Definition at line 66 of file contactviewerdialog.cpp.


The documentation for this class was generated from the following files:
  • contactviewerdialog.h
  • contactviewerdialog.cpp

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal