libkdepim
#include <addcontactjob.h>

| Public Member Functions | |
| AddContactJob (const KABC::Addressee &contact, QWidget *parentWidget, QObject *parent=0) | |
| AddContactJob (const KABC::Addressee &contact, const Akonadi::Collection &collection, QObject *parent=0) | |
| ~AddContactJob () | |
| void | showMessageBox (bool b) | 
| virtual void | start () | 
Detailed Description
A job to add a new contact to Akonadi.
The job will check whether a contact with the given email address already exists in Akonadi and adds it if it does not exist yet.
Definition at line 43 of file addcontactjob.h.
Constructor & Destructor Documentation
| AddContactJob::AddContactJob | ( | const KABC::Addressee & | contact, | 
| QWidget * | parentWidget, | ||
| QObject * | parent = 0 | ||
| ) | 
Creates a new add contact job.
If the contact is not found, the user will be presented a dialog to choose the address book where the new contact shall be stored.
- Parameters
- 
  contact The contact to add. parentWidget The widget that will be used as parent for dialog. parent The parent object. 
Definition at line 139 of file addcontactjob.cpp.
| AddContactJob::AddContactJob | ( | const KABC::Addressee & | contact, | 
| const Akonadi::Collection & | collection, | ||
| QObject * | parent = 0 | ||
| ) | 
Creates a new add contact job.
- Parameters
- 
  contact The contact to add. collection The address book collection where the contact shall be stored in. parent The parent object. 
Definition at line 144 of file addcontactjob.cpp.
| AddContactJob::~AddContactJob | ( | ) | 
Destroys the add email address job.
Definition at line 149 of file addcontactjob.cpp.
Member Function Documentation
| void AddContactJob::showMessageBox | ( | bool | b | ) | 
Definition at line 154 of file addcontactjob.cpp.
| 
 | virtual | 
Starts the job.
Definition at line 159 of file addcontactjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference