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

akonadi/kabc

Akonadi::KABCItemEditor

Akonadi::KABCItemEditor Class Reference

#include <kabcitemeditor.h>

Inheritance diagram for Akonadi::KABCItemEditor:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 31 of file kabcitemeditor.h.


Public Types

enum  Mode { CreateMode, EditMode }

Public Slots

void loadContact (const Item &contact)
void saveContact ()
void setDefaultCollection (const Collection &collection)

Signals

void contactStored (const Item &contact)
void error (const QString &errorMsg)

Public Member Functions

 KABCItemEditor (Mode mode, QWidget *parent=0)
virtual ~KABCItemEditor ()

Member Enumeration Documentation

enum Akonadi::KABCItemEditor::Mode

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

Definition at line 36 of file kabcitemeditor.h.


Constructor & Destructor Documentation

KABCItemEditor::KABCItemEditor ( Mode  mode,
QWidget *  parent = 0 
) [explicit]

Creates a new contact editor.

Parameters:
mode The mode of the editor.
parent The parent widget of the editor.

Definition at line 267 of file kabcitemeditor.cpp.

KABCItemEditor::~KABCItemEditor (  )  [virtual]

Destroys the contact editor.

Definition at line 275 of file kabcitemeditor.cpp.


Member Function Documentation

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

This signal is emitted when the contact has been saved back to the storage.

void Akonadi::KABCItemEditor::error ( const QString &  errorMsg  )  [signal]

This signal is emitted when an error occurred during the save.

errorMsg The error message.

void KABCItemEditor::loadContact ( const Item &  contact  )  [slot]

Loads the contact into the editor.

Definition at line 279 of file kabcitemeditor.cpp.

void KABCItemEditor::saveContact (  )  [slot]

Saves the contact from the editor back to the storage.

Definition at line 293 of file kabcitemeditor.cpp.

void KABCItemEditor::setDefaultCollection ( const Collection &  collection  )  [slot]

Sets the collection which shall be used to store new contacts.

Definition at line 322 of file kabcitemeditor.cpp.


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