#include <contactgroupviewerdialog.h>
Inherits KDialog.
Public Slots | |
void | setContactGroup (const Akonadi::Item &group) |
Public Member Functions | |
ContactGroupViewerDialog (QWidget *parent=0) | |
~ContactGroupViewerDialog () | |
Akonadi::Item | contactGroup () const |
ContactGroupViewer * | viewer () const |
Detailed Description
A dialog for displaying a contact group in Akonadi.
This dialog provides a way to show a contact group from the Akonadi storage.
Example:
using namespace Akonadi; const Item group = ... ContactGroupViewerDialog *dlg = new ContactGroupViewerDialog( this ); dlg->setContactGroup( group ); dlg->show();
- Since:
- 4.4
Definition at line 58 of file contactgroupviewerdialog.h.
Constructor & Destructor Documentation
ContactGroupViewerDialog::ContactGroupViewerDialog | ( | QWidget * | parent = 0 | ) |
Creates a new contact group viewer dialog.
- Parameters:
-
parent The parent widget of the dialog.
Definition at line 39 of file contactgroupviewerdialog.cpp.
Destroys the contact group viewer dialog.
Definition at line 56 of file contactgroupviewerdialog.cpp.
Member Function Documentation
Akonadi::Item ContactGroupViewerDialog::contactGroup | ( | ) | const |
Returns the contact group that is currently displayed.
Definition at line 61 of file contactgroupviewerdialog.cpp.
void ContactGroupViewerDialog::setContactGroup | ( | const Akonadi::Item & | group | ) | [slot] |
Sets the contact group
that shall be displayed in the dialog.
Definition at line 71 of file contactgroupviewerdialog.cpp.
ContactGroupViewer * ContactGroupViewerDialog::viewer | ( | ) | const |
Returns the ContactGroupViewer that is used by this dialog.
Definition at line 66 of file contactgroupviewerdialog.cpp.
The documentation for this class was generated from the following files: