• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

  • Akonadi
  • Akonadi::ResourceScanJob
Public Member Functions | Protected Member Functions

Akonadi::ResourceScanJob Class Reference

#include <specialcollectionshelperjobs_p.h>

Inheritance diagram for Akonadi::ResourceScanJob:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ResourceScanJob (const QString &resourceId, KCoreConfigSkeleton *settings, QObject *parent=0)
 ~ResourceScanJob ()
QString resourceId () const
Akonadi::Collection rootResourceCollection () const
void setResourceId (const QString &resourceId)
Akonadi::Collection::List specialCollections () const

Protected Member Functions

virtual void doStart ()

Detailed Description

For internal use only.

Helper job for SpecialCollectionsRequestJob.

A Job that fetches all the collections of a resource, and returns only those that have a SpecialCollectionAttribute.

Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 45 of file specialcollectionshelperjobs_p.h.


Constructor & Destructor Documentation

Akonadi::ResourceScanJob::ResourceScanJob ( const QString &  resourceId,
KCoreConfigSkeleton *  settings,
QObject *  parent = 0 
) [explicit]

Creates a new ResourceScanJob.

Akonadi::ResourceScanJob::~ResourceScanJob (  ) 

Destroys this ResourceScanJob.


Member Function Documentation

virtual void Akonadi::ResourceScanJob::doStart (  )  [protected, virtual]

This method must be reimplemented in the concrete jobs.

It will be called after the job has been started and a connection to the Akonadi backend has been established.

Implements Akonadi::Job.

Reimplemented in Akonadi::DefaultResourceJob.

QString Akonadi::ResourceScanJob::resourceId (  )  const

Returns the resource ID of the resource being scanned.

Akonadi::Collection Akonadi::ResourceScanJob::rootResourceCollection (  )  const

Returns the root collection of the resource being scanned.

This function relies on there being a single top-level collection owned by this resource.

void Akonadi::ResourceScanJob::setResourceId ( const QString &  resourceId  ) 

Sets the resource ID of the resource to scan.

Akonadi::Collection::List Akonadi::ResourceScanJob::specialCollections (  )  const

Returns all the collections of this resource which have a SpecialCollectionAttribute.

These might include the root resource collection.


The documentation for this class was generated from the following file:
  • specialcollectionshelperjobs_p.h

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
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