Akonadi::CollectionUtils Namespace Reference


QString defaultIconName (const Collection &col)
QString displayIconName (const Collection &col)
AKONADICORE_EXPORT Collection fromIndex (const QModelIndex &index)
bool hasValidHierarchicalRID (const Collection &col)
bool hasValidHierarchicalRID (const Item &item)
bool isFolder (const Collection &collection)
bool isReadOnly (const Collection &collection)
bool isResource (const Collection &collection)
bool isRoot (const Collection &collection)
bool isStructural (const Collection &collection)
bool isUnifiedMailbox (const Collection &collection)
bool isVirtualParent (const Collection &collection)

Detailed Description

Function Documentation

◆ fromIndex()

Collection Akonadi::CollectionUtils::fromIndex ( const QModelIndex index)

Returns the collection represented by index.

indexhas to be provided by an EntityTreeModel instance or a proxy model on top of one.

Definition at line 11 of file collectionutils.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 04:02:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.