akonadi
collectionfetchjob.cpp
    114 CollectionFetchJob::CollectionFetchJob( const Collection &collection, Type type, QObject *parent )
  139 CollectionFetchJob::CollectionFetchJob( const Collection::List & cols, Type type, QObject * parent )
  154 CollectionFetchJob::CollectionFetchJob( const QList<Collection::Id> & cols, Type type, QObject * parent )
  189       // other elements in the list, if type is Recusrive, we could end up with duplicates in the result.
  199         // No need to connect to the collectionsReceived signal here. This job is internal. The (aggregated)
  207         connect( subJob, SIGNAL(collectionsReceived(Akonadi::Collection::List)), SLOT(subJobCollectionReceived(Akonadi::Collection::List)));
  346         QList<Collection::Id>::iterator i = qLowerBound( ancestors.begin(), ancestors.end(), parent.id() );
  387         connect( subJob, SIGNAL(collectionsReceived(Akonadi::Collection::List)), SLOT(subJobCollectionReceived(Akonadi::Collection::List)) );
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval. ...
Definition: collectionfetchscope.cpp:134
Collection::List collections() const 
Returns the list of fetched collection. 
Definition: collectionfetchjob.cpp:175
AKONADI_DEPRECATED void includeUnsubscribed(bool include=true)
Include also unsubscribed collections. 
Definition: collectionfetchjob.cpp:417
CollectionFetchJob(const Collection &collection, Type type=FirstLevel, QObject *parent=0)
Creates a new collection fetch job. 
Definition: collectionfetchjob.cpp:114
Specifies which parts of a collection should be fetched from the Akonadi storage. ...
Definition: collectionfetchscope.h:68
Only list direct sub-collections of the base collection. 
Definition: collectionfetchjob.h:63
CollectionFetchScope & fetchScope()
Returns the collection fetch scope. 
Definition: collectionfetchjob.cpp:437
List the roots of a list of fetched collections. 
Definition: collectionfetchjob.h:65
Job that fetches collections from the Akonadi storage. 
Definition: collectionfetchjob.h:53
void collectionsReceived(const Akonadi::Collection::List &collections)
This signal is emitted whenever the job has received collections. 
virtual void doHandleResponse(const QByteArray &tag, const QByteArray &data)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data...
Definition: collectionfetchjob.cpp:301
Only retrieve the immediate parent collection. 
Definition: collectionfetchscope.h:76
static int parseCollection(const QByteArray &data, Collection &collection, int start=0)
Parse a collection description. 
Definition: protocolhelper.cpp:129
Only fetch the base collection. 
Definition: collectionfetchjob.h:62
Collection parentCollection() const 
Returns the parent collection of this object. 
Definition: entity.cpp:186
Retrieve all ancestors, up to Collection::root() 
Definition: collectionfetchscope.h:77
static QByteArray hierarchicalRidToByteArray(const Collection &col)
Converts the given collection's hierarchical RID into a protocol representation. 
Definition: protocolhelper.cpp:282
void setFetchScope(const CollectionFetchScope &fetchScope)
Sets the collection fetch scope. 
Definition: collectionfetchjob.cpp:431
virtual void doStart()
This method must be reimplemented in the concrete jobs. 
Definition: collectionfetchjob.cpp:182
AKONADI_DEPRECATED void includeStatistics(bool include=true)
Include also statistics about the collections. 
Definition: collectionfetchjob.cpp:424
Definition: job_p.h:31
virtual ~CollectionFetchJob()
Destroys the collection fetch job. 
Definition: collectionfetchjob.cpp:171
No ancestor retrieval at all (the default) 
Definition: collectionfetchscope.h:75
AKONADI_DEPRECATED void setResource(const QString &resource)
Sets a resource identifier to limit collection listing to one resource. 
Definition: collectionfetchjob.cpp:327
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference