akonadi
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();
- Since:
- 4.4
Constructor & Destructor Documentation
Akonadi::ContactViewerDialog::ContactViewerDialog | ( | QWidget * | parent = 0 | ) | [explicit] |
Creates a new contact viewer dialog.
- Parameters:
-
parent The parent widget of the dialog.
Akonadi::ContactViewerDialog::~ContactViewerDialog | ( | ) |
Destroys the contact viewer dialog.
Member Function Documentation
Akonadi::Item Akonadi::ContactViewerDialog::contact | ( | ) | const |
Returns the contact that is currently displayed.
void Akonadi::ContactViewerDialog::setContact | ( | const Akonadi::Item & | contact | ) | [slot] |
Sets the contact
that shall be displayed in the dialog.
ContactViewer* Akonadi::ContactViewerDialog::viewer | ( | ) | const |
Returns the ContactViewer that is used by this dialog.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:21 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:21 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.