akonadi
recentcollectionaction.cpp
33 RecentCollectionAction::RecentCollectionAction(Akonadi::StandardActionManager::Type type, const Akonadi::Collection::List &selectedCollectionsList,const QAbstractItemModel *model, QMenu *menu)
62 void RecentCollectionAction::fillRecentCollection(Akonadi::StandardActionManager::Type type, const Akonadi::Collection::List &selectedCollectionsList)
72 const QModelIndex index = Akonadi::EntityTreeModel::modelIndexForCollection(mModel, Akonadi::Collection(mListRecentCollection.at(i).toLongLong()));
73 const Akonadi::Collection collection = mModel->data(index, Akonadi::CollectionModel::CollectionRole).value<Akonadi::Collection>();
109 void RecentCollectionAction::addRecentCollection(Akonadi::StandardActionManager::Type type, Akonadi::Collection::Id id)
Can create new items in this collection.
Definition: collection.h:89
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:99
static QModelIndex modelIndexForCollection(const QAbstractItemModel *model, const Collection &collection)
Returns a QModelIndex in model which points to collection.
Definition: entitytreemodel.cpp:1235
The actual collection object.
Definition: collectionmodel.h:66
Menu allowing to move a collection into another collection.
Definition: standardactionmanager.h:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Sun Apr 26 2015 12:33:57 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2015 The KDE developers.
Generated on Sun Apr 26 2015 12:33:57 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.