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

akonadi

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

#include <specialcollections_p.h>

Public Member Functions

 SpecialCollectionsPrivate (KCoreConfigSkeleton *settings, SpecialCollections *qq)
 
void beginBatchRegister ()
 
void collectionFetchJobFinished (KJob *)
 
void collectionRemoved (const Collection &collection)
 
void collectionStatisticsChanged (Akonadi::Collection::Id, const Akonadi::CollectionStatistics &)
 
AgentInstance defaultResource () const
 
QString defaultResourceId () const
 
void emitChanged (const QString &resourceId)
 
void endBatchRegister ()
 
void forgetFoldersForResource (const QString &resourceId)
 

Public Attributes

bool mBatchMode
 
QString mDefaultResourceId
 
QHash< QString, QHash
< QByteArray, Collection > > 
mFoldersForResource
 
Monitor * mMonitor
 
KCoreConfigSkeleton * mSettings
 
QSet< QString > mToEmitChangedFor
 
SpecialCollections * q
 

Detailed Description

Definition at line 44 of file specialcollections_p.h.

Constructor & Destructor Documentation

SpecialCollectionsPrivate::SpecialCollectionsPrivate ( KCoreConfigSkeleton *  settings,
SpecialCollections *  qq 
)

In order to know if items are added or deleted from one of our specialcollection folders, we have to watch all mail item add/move/delete notifications and check for the parent to see if it is one we care about

Definition at line 41 of file specialcollections.cpp.

Member Function Documentation

void SpecialCollectionsPrivate::beginBatchRegister ( )

Avoids emitting the foldersChanged() signal until endBatchRegister() is called.

This is used to avoid emitting repeated signals when multiple folders are registered in a row. This method is used by SpecialCollectionsRequestJob.

Definition at line 144 of file specialcollections.cpp.

void SpecialCollectionsPrivate::endBatchRegister ( )
See also
beginBatchRegister() This method is used by SpecialCollectionsRequestJob.

Definition at line 151 of file specialcollections.cpp.

void SpecialCollectionsPrivate::forgetFoldersForResource ( const QString &  resourceId)

Forgets all folders owned by the given resource.

This method is used by SpecialCollectionsRequestJob.

Parameters
resourceIdthe identifier of the resource for which to forget folders

Definition at line 163 of file specialcollections.cpp.


The documentation for this class was generated from the following files:
  • specialcollections_p.h
  • specialcollections.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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