Akonadi::CollectionUtils

Akonadi::CollectionUtils Namespace Reference

Functions

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.

Parameters
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-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.