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

akonadi

  • Akonadi
  • ContactViewerDialog
Public Slots | Public Member Functions | List of all members
Akonadi::ContactViewerDialog Class Reference

#include <contactviewerdialog.h>

Inherits KDialog.

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.nosp@m.@kde.nosp@m..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
parentThe parent widget of the dialog.

Definition at line 64 of file contactviewerdialog.cpp.

ContactViewerDialog::~ContactViewerDialog ( )

Destroys the contact viewer dialog.

Definition at line 84 of file contactviewerdialog.cpp.

Member Function Documentation

Akonadi::Item ContactViewerDialog::contact ( ) const

Returns the contact that is currently displayed.

Definition at line 90 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 100 of file contactviewerdialog.cpp.

ContactViewer * ContactViewerDialog::viewer ( ) const

Returns the ContactViewer that is used by this dialog.

Definition at line 95 of file contactviewerdialog.cpp.


The documentation for this class was generated from the following files:
  • contactviewerdialog.h
  • contactviewerdialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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