akonadi
20 #ifndef AKONADI_SPECIALCOLLECTIONS_H
21 #define AKONADI_SPECIALCOLLECTIONS_H
23 #include "akonadi_export.h"
25 #include <QtCore/QObject>
27 #include "akonadi/collection.h"
28 #include <akonadi/item.h>
30 class KCoreConfigSkeleton;
36 class SpecialCollectionsPrivate;
79 bool hasCollection(
const QByteArray &type,
const AgentInstance &instance )
const;
85 Akonadi::Collection collection(
const QByteArray &type,
const AgentInstance &instance )
const;
95 bool registerCollection(
const QByteArray &type,
const Akonadi::Collection &collection );
101 bool hasDefaultCollection(
const QByteArray &type )
const;
107 Akonadi::Collection defaultCollection(
const QByteArray &type )
const;
122 void defaultCollectionsChanged();
136 friend class SpecialCollectionsRequestJobPrivate;
139 #if 1 // TODO do this only if building tests:
141 friend class LocalFoldersTest;
146 Q_PRIVATE_SLOT( d,
void collectionRemoved(
const Akonadi::Collection& ) )
147 Q_PRIVATE_SLOT( d,
void collectionStatisticsChanged( Akonadi::Collection::Id,
const Akonadi::CollectionStatistics& ) )
148 Q_PRIVATE_SLOT( d,
void collectionFetchJobFinished( KJob* ) )
154 #endif // AKONADI_SPECIALCOLLECTIONS_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:28 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.