akonadi
Akonadi::SpecialCollectionsPrivate Class Reference
#include <specialcollections_p.h>
Public Member Functions | |
SpecialCollectionsPrivate (KCoreConfigSkeleton *settings, SpecialCollections *qq) | |
void | beginBatchRegister () |
void | collectionRemoved (const Collection &col) |
AgentInstance | defaultResource () const |
QString | defaultResourceId () const |
void | emitChanged (const QString &resourceId) |
void | endBatchRegister () |
void | forgetFoldersForResource (const QString &resourceId) |
Public Attributes | |
bool | mBatchMode |
QHash< QString, QHash < QByteArray, Collection > > | mFoldersForResource |
Monitor * | mMonitor |
KCoreConfigSkeleton * | mSettings |
QSet< QString > | mToEmitChangedFor |
SpecialCollections * | q |
Detailed Description
For internal use only.
Definition at line 42 of file specialcollections_p.h.
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 102 of file specialcollections.cpp.
void SpecialCollectionsPrivate::endBatchRegister | ( | ) |
- See also:
- beginBatchRegister() This method is used by SpecialCollectionsRequestJob.
Definition at line 109 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 121 of file specialcollections.cpp.
The documentation for this class was generated from the following files: