• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • SpecialCollectionsPrivate
Public Member Functions | Public Attributes
Akonadi::SpecialCollectionsPrivate Class Reference

#include <specialcollections_p.h>

List of all members.

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


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 145 of file specialcollections.cpp.

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

Definition at line 152 of file specialcollections.cpp.

void SpecialCollectionsPrivate::forgetFoldersForResource ( const QString &  resourceId)

Forgets all folders owned by the given resource.

This method is used by SpecialCollectionsRequestJob.

Definition at line 164 of file specialcollections.cpp.


The documentation for this class was generated from the following files:
  • specialcollections_p.h
  • agentbase.cpp
  • specialcollections.cpp

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • 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.5
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