akonadi
entitytreemodel.h
327 //sebsauer, 2009-05-07; to be able here to keep the akonadi_next EntityTreeModel compatible with
331 ItemIdRole = Qt::UserRole + 1,
332 ItemRole = Qt::UserRole + 2,
333 MimeTypeRole = Qt::UserRole + 3,
335 CollectionIdRole = Qt::UserRole + 10,
336 CollectionRole = Qt::UserRole + 11,
355 UserRole = Qt::UserRole + 500,
356 TerminalUserRole = 2000,
376 FetchingState
387 UserHeaders = 10,
388 EndHeaderGroup = 32
389 // Note that we're splitting up available roles for the header data hack and int(EndRole / TerminalUserRole) == 32
411 LazyPopulation
531 InvisibleCollectionFetch
548 virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
555 virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
558 virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
596 virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith | Qt::MatchWrap)) const;
628 static QModelIndex modelIndexForCollection(const QAbstractItemModel *model, const Collection &collection);
683 virtual QVariant entityData(const Collection &collection, int column, int role = Qt::DisplayRole) const;
689 virtual QVariant entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const;
701 virtual bool entityMatch(const Collection &collection, const QVariant &value, Qt::MatchFlags flags) const;
742 Q_PRIVATE_SLOT(d_func(), void monitoredCollectionAdded(const Akonadi::Collection &, const Akonadi::Collection &))
745 Q_PRIVATE_SLOT(d_func(), void monitoredCollectionMoved(const Akonadi::Collection &, const Akonadi::Collection &,
748 Q_PRIVATE_SLOT(d_func(), void monitoredItemAdded(const Akonadi::Item &, const Akonadi::Collection &))
750 Q_PRIVATE_SLOT(d_func(), void monitoredItemChanged(const Akonadi::Item &, const QSet<QByteArray> &))
751 Q_PRIVATE_SLOT(d_func(), void monitoredItemMoved(const Akonadi::Item &, const Akonadi::Collection &,
754 Q_PRIVATE_SLOT(d_func(), void monitoredItemLinked(const Akonadi::Item &, const Akonadi::Collection &))
755 Q_PRIVATE_SLOT(d_func(), void monitoredItemUnlinked(const Akonadi::Item &, const Akonadi::Collection &))
Parts available in the model for the item.
Definition: entitytreemodel.h:343
Returns the number of unread items in a collection.
Definition: entitytreemodel.h:350
Header information for a tree with collections and items.
Definition: entitytreemodel.h:384
Provides statistics information of a Collection.
Definition: collectionstatistics.h:69
Returns the FetchState of a particular item.
Definition: entitytreemodel.h:351
ItemPopulationStrategy
Describes how the model should populated its items.
Definition: entitytreemodel.h:408
Do not include items in the model.
Definition: entitytreemodel.h:409
Fetches collections in the root collection recursively. This is the default.
Definition: entitytreemodel.h:530
typedef MatchFlags
Fetches first level collections in the root collection.
Definition: entitytreemodel.h:529
There is no fetch of items in this collection in progress.
Definition: entitytreemodel.h:375
Returns the progress of synchronization in percent for a particular collection.
Definition: entitytreemodel.h:352
Header information for a collection-only tree.
Definition: entitytreemodel.h:385
HeaderGroup
Describes what header information the model shall return.
Definition: entitytreemodel.h:383
Returns whether a Collection has been populated, i.e. whether its items have been fetched...
Definition: entitytreemodel.h:353
Role used to implement amazing completion.
Definition: entitytreemodel.h:340
Definition: itemfetchscope.h:29
The parent collection of the entity.
Definition: entitytreemodel.h:341
Retrieve items immediately when their parent is in the model. This is the default.
Definition: entitytreemodel.h:410
Returns original name for collection.
Definition: entitytreemodel.h:354
Fetches nothing. This creates an empty model.
Definition: entitytreemodel.h:528
Header information for a list of items.
Definition: entitytreemodel.h:386
Parts available in the Akonadi server for the item.
Definition: entitytreemodel.h:344
typedef DropActions
A model for collections and items together.
Definition: entitytreemodel.h:318
FetchState
Describes the state of fetch jobs related to particular collections.
Definition: entitytreemodel.h:374
Ordered list of child items if available.
Definition: entitytreemodel.h:339
The akonadi:/ Url of the entity as a string. Item urls will contain the mimetype. ...
Definition: entitytreemodel.h:349
CollectionFetchStrategy
Describes what collections shall be fetched by and represent in the model.
Definition: entitytreemodel.h:527
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.