00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AKONADI_RECENTCONTACTSCOLLECTIONS_P_H
00023 #define AKONADI_RECENTCONTACTSCOLLECTIONS_P_H
00024
00025 #include "akonadi-contact_export.h"
00026
00027 #include "akonadi/specialcollections.h"
00028
00029 namespace Akonadi {
00030
00031 class RecentContactsCollectionsPrivate;
00032
00039 class AKONADI_CONTACT_EXPORT RecentContactsCollections : public SpecialCollections
00040 {
00041 Q_OBJECT
00042
00043 public:
00047 static RecentContactsCollections *self();
00048
00052 bool hasCollection( const AgentInstance &instance ) const;
00053
00058 Akonadi::Collection collection( const AgentInstance &instance ) const;
00059
00065 bool registerCollection( const Akonadi::Collection &collection );
00066
00070 bool hasDefaultCollection() const;
00071
00076 Akonadi::Collection defaultCollection() const;
00077
00078 private:
00079
00080 friend class RecentContactsCollectionsPrivate;
00081
00082 RecentContactsCollections( RecentContactsCollectionsPrivate *dd );
00083
00084 RecentContactsCollectionsPrivate *const d;
00085
00086 };
00087
00088 }
00089
00090 #endif