class Collection


Module akonadi
Namespace Akonadi
Class Collection
Inherits Akonadi::Entity
Represents a collection of PIM items.

This class represents a collection of PIM items, such as a folder on a mail- or groupware-server.

Collections are hierarchical, i.e., they may have a parent collection.

using namespace Akonadi;

// fetching all collections recursive, starting at the root collection CollectionFetchJob *job = new CollectionFetchJob( Collection.root(), CollectionFetchJob.Recursive ); if ( job->exec() ) { Collection.List collections = job->collections(); foreach( const Collection &collection, collections ) { qDebug() << "Name:" << collection.name(); } }

Author Volker Krause

See also akonadi_concepts_collections "Akonadi Collection Concept"



enums

enum details

methods