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

akonadi/contact

  • Akonadi
  • RecentContactsCollectionRequestJob
Public Member Functions | List of all members
Akonadi::RecentContactsCollectionRequestJob Class Reference

#include <recentcontactscollectionrequestjob.h>

Inherits SpecialCollectionsRequestJob.

Public Member Functions

 RecentContactsCollectionRequestJob (QObject *parent=0)
 
 ~RecentContactsCollectionRequestJob ()
 
void requestCollection (const AgentInstance &instance)
 
void requestDefaultCollection ()
 

Detailed Description

A job to request the collection used for storing recent contacts.

Use this job to retrieve the collection that is used for storing recent contacts (e.g. by email clients).

Example:

RecentContactsCollectionRequestJob *job = new RecentContactsCollectionRequestJob( this );
job->requestDefaultCollection();
connect( job, SIGNAL( result( KJob* ) ), this, SLOT( requestDone( KJob* ) ) );
...
MyClass::requestDone( KJob *job )
{
if ( job->error() )
return;
RecentContactsCollectionRequestJob *requestJob = qobject_cast<RecentContactsCollectionRequestJob*>( job );
const Collection collection = requestJob->collection();
...
}
Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org
Since
4.4

Definition at line 65 of file recentcontactscollectionrequestjob.h.

Constructor & Destructor Documentation

RecentContactsCollectionRequestJob::RecentContactsCollectionRequestJob ( QObject *  parent = 0)
explicit

Creates a new recent contacts collection request job.

Definition at line 36 of file recentcontactscollectionrequestjob.cpp.

RecentContactsCollectionRequestJob::~RecentContactsCollectionRequestJob ( )

Destroys the recent contacts collection request job.

Definition at line 58 of file recentcontactscollectionrequestjob.cpp.

Member Function Documentation

void RecentContactsCollectionRequestJob::requestCollection ( const AgentInstance &  instance)

Requests the recent contacts collection in the given resource instance.

Definition at line 67 of file recentcontactscollectionrequestjob.cpp.

void RecentContactsCollectionRequestJob::requestDefaultCollection ( )

Requests the recent contacts collection in the default resource.

Definition at line 62 of file recentcontactscollectionrequestjob.cpp.


The documentation for this class was generated from the following files:
  • recentcontactscollectionrequestjob.h
  • recentcontactscollectionrequestjob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

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