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

libkdepim

  • KPIM
  • AddContactJob
Public Member Functions | List of all members
KPIM::AddContactJob Class Reference

#include <addcontactjob.h>

Inheritance diagram for KPIM::AddContactJob:
Inheritance graph
[legend]

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
contactThe contact to add.
parentWidgetThe widget that will be used as parent for dialog.
parentThe 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
contactThe contact to add.
collectionThe address book collection where the contact shall be stored in.
parentThe 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.

void AddContactJob::start ( )
virtual

Starts the job.

Definition at line 159 of file addcontactjob.cpp.


The documentation for this class was generated from the following files:
  • addcontactjob.h
  • addcontactjob.cpp
This file is part of the KDE documentation.
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.

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

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