• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akonadi/kabc

ContactEditorDialog Class Reference

#include <contacteditordialog.h>

Inheritance diagram for ContactEditorDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file contacteditordialog.h.


Public Types

enum  Mode { CreateMode, EditMode }

Signals

void contactStored (const Akonadi::Item &contact)

Public Member Functions

 ContactEditorDialog (Mode mode, QAbstractItemModel *collectionModel, QWidget *parent=0)
void setContact (const Akonadi::Item &contact)
 ~ContactEditorDialog ()

Member Enumeration Documentation

enum ContactEditorDialog::Mode

Enumerator:
CreateMode  Creates a new contact.
EditMode  Edits an existing contact.

Definition at line 38 of file contacteditordialog.h.


Constructor & Destructor Documentation

ContactEditorDialog::ContactEditorDialog ( Mode  mode,
QAbstractItemModel *  collectionModel,
QWidget *  parent = 0 
)

Creates a new contact editor dialog.

Parameters:
mode The mode of the dialog.
collectionModel The collection model.
parent The parent widget of the dialog.

Definition at line 33 of file contacteditordialog.cpp.

ContactEditorDialog::~ContactEditorDialog (  ) 

Destroys the contact editor dialog.

Definition at line 71 of file contacteditordialog.cpp.


Member Function Documentation

void ContactEditorDialog::contactStored ( const Akonadi::Item &  contact  )  [signal]

This signal is emitted whenever a contact was updated or stored.

Parameters:
contact The data reference of the contact.

void ContactEditorDialog::setContact ( const Akonadi::Item &  contact  ) 

Sets the contact to edit when in EditMode.

Definition at line 75 of file contacteditordialog.cpp.


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

akonadi/kabc

Skip menu "akonadi/kabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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