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

◆ defaultIconName()

QString Akonadi::CollectionUtils::defaultIconName ( const Collection & col)
inlinenodiscard

Definition at line 58 of file collectionutils.h.

◆ displayIconName()

QString Akonadi::CollectionUtils::displayIconName ( const Collection & col)
inlinenodiscard

Definition at line 94 of file collectionutils.h.

◆ fromIndex()

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

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.

◆ hasValidHierarchicalRID() [1/2]

bool Akonadi::CollectionUtils::hasValidHierarchicalRID ( const Collection & col)
inlinenodiscard

Definition at line 106 of file collectionutils.h.

◆ hasValidHierarchicalRID() [2/2]

bool Akonadi::CollectionUtils::hasValidHierarchicalRID ( const Item & item)
inlinenodiscard

Definition at line 116 of file collectionutils.h.

◆ isFolder()

bool Akonadi::CollectionUtils::isFolder ( const Collection & collection)
inlinenodiscard

Definition at line 47 of file collectionutils.h.

◆ isReadOnly()

bool Akonadi::CollectionUtils::isReadOnly ( const Collection & collection)
inlinenodiscard

Definition at line 27 of file collectionutils.h.

◆ isResource()

bool Akonadi::CollectionUtils::isResource ( const Collection & collection)
inlinenodiscard

Definition at line 37 of file collectionutils.h.

◆ isRoot()

bool Akonadi::CollectionUtils::isRoot ( const Collection & collection)
inlinenodiscard

Definition at line 32 of file collectionutils.h.

◆ isStructural()

bool Akonadi::CollectionUtils::isStructural ( const Collection & collection)
inlinenodiscard

Definition at line 42 of file collectionutils.h.

◆ isUnifiedMailbox()

bool Akonadi::CollectionUtils::isUnifiedMailbox ( const Collection & collection)
inlinenodiscard

Definition at line 53 of file collectionutils.h.

◆ isVirtualParent()

bool Akonadi::CollectionUtils::isVirtualParent ( const Collection & collection)
inlinenodiscard

Definition at line 22 of file collectionutils.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.