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

akonadi

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

#include <contactgroupviewer.h>

Inheritance diagram for Akonadi::ContactGroupViewer:
Inheritance graph
[legend]

Public Slots

void setContactGroup (const Akonadi::Item &group)
 

Signals

void emailClicked (const QString &name, const QString &email)
 

Public Member Functions

 ContactGroupViewer (QWidget *parent=0)
 
 ~ContactGroupViewer ()
 
Akonadi::Item contactGroup () const
 
void setContactGroupFormatter (AbstractContactGroupFormatter *formatter)
 
- Public Member Functions inherited from Akonadi::ItemMonitor
 ItemMonitor ()
 
virtual ~ItemMonitor ()
 
Item item () const
 
void setItem (const Item &item)
 

Additional Inherited Members

- Protected Member Functions inherited from Akonadi::ItemMonitor
ItemFetchScope & fetchScope ()
 
void setFetchScope (const ItemFetchScope &fetchScope)
 

Detailed Description

A viewer component for contact groups in Akonadi.

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

Example:

using namespace Akonadi;
const Item group = ...
ContactGroupViewer *viewer = new ContactGroupViewer( this );
viewer->setContactGroup( group );
Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org
Since
4.4

Definition at line 57 of file contactgroupviewer.h.

Constructor & Destructor Documentation

ContactGroupViewer::ContactGroupViewer ( QWidget *  parent = 0)

Creates a new contact group viewer.

Parameters
parentThe parent widget.

Definition at line 152 of file contactgroupviewer.cpp.

ContactGroupViewer::~ContactGroupViewer ( )

Destroys the contact group viewer.

Definition at line 170 of file contactgroupviewer.cpp.

Member Function Documentation

Akonadi::Item ContactGroupViewer::contactGroup ( ) const

Returns the contact group that is currently displayed.

Definition at line 175 of file contactgroupviewer.cpp.

void Akonadi::ContactGroupViewer::emailClicked ( const QString &  name,
const QString &  email 
)
signal

This signal is emitted whenever the user has clicked on an email address in the viewer.

Parameters
nameThe name of the contact.
emailThe plain email address of the contact.
void ContactGroupViewer::setContactGroup ( const Akonadi::Item &  group)
slot

Sets the contact group that shall be displayed in the viewer.

Definition at line 180 of file contactgroupviewer.cpp.

void ContactGroupViewer::setContactGroupFormatter ( AbstractContactGroupFormatter *  formatter)

Sets the contact group formatter that should be used for formatting the contact group.

If formatter is 0, the standard formatter will be used.

Parameters
formatterthe formatter to use
Note
The contact viewer won't take ownership of the formatter.
Since
4.6

Definition at line 185 of file contactgroupviewer.cpp.


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