Akonadi::RecentContactsCollections Class Reference
#include <recentcontactscollections_p.h>
Inheritance diagram for Akonadi::RecentContactsCollections:

Public Member Functions | |
Akonadi::Collection | collection (const AgentInstance &instance) const |
Akonadi::Collection | defaultCollection () const |
bool | hasCollection (const AgentInstance &instance) const |
bool | hasDefaultCollection () const |
bool | registerCollection (const Akonadi::Collection &collection) |
Static Public Member Functions | |
static RecentContactsCollections * | self () |
Detailed Description
- Since:
- 4.4
Definition at line 39 of file recentcontactscollections_p.h.
Member Function Documentation
Akonadi::Collection Akonadi::RecentContactsCollections::collection | ( | const AgentInstance & | instance | ) | const |
Returns the recent contacts collection in the given agent instance
, or an invalid collection if such a collection is unknown.
Akonadi::Collection Akonadi::RecentContactsCollections::defaultCollection | ( | ) | const |
Returns the recent contacts collection in the default resource, or an invalid collection if such a collection is unknown.
bool Akonadi::RecentContactsCollections::hasCollection | ( | const AgentInstance & | instance | ) | const |
Returns whether the given agent instance
has a recent contacts collection.
bool Akonadi::RecentContactsCollections::hasDefaultCollection | ( | ) | const |
Returns whether the default resource has a recent contacts collection.
bool Akonadi::RecentContactsCollections::registerCollection | ( | const Akonadi::Collection & | collection | ) |
Registers the given collection
as a recent contacts collection.
The collection must be owned by a valid resource.
static RecentContactsCollections* Akonadi::RecentContactsCollections::self | ( | ) | [static] |
Returns the global RecentContactsCollections instance.
The documentation for this class was generated from the following file: