akonadi/kabc
Akonadi::KABCItemEditor Class Reference
#include <kabcitemeditor.h>
Inheritance diagram for Akonadi::KABCItemEditor:

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
Definition at line 36 of file kabcitemeditor.h.
Constructor & Destructor Documentation
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] |
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] |
| 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:
KDE 4.2 API Reference