Akonadi::CalendarUtils

Akonadi::CalendarUtils Namespace Reference

Functions

AKONADI_CALENDAR_EXPORT QString displayName (Akonadi::ETMCalendar *calendar, const Akonadi::Collection &collection)
 
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event (const Akonadi::Item &item)
 
AKONADI_CALENDAR_EXPORT KCalendarCore::Incidence::Ptr incidence (const Akonadi::Item &item)
 
AKONADI_CALENDAR_EXPORT KCalendarCore::Journal::Ptr journal (const Akonadi::Item &item)
 
AKONADI_CALENDAR_EXPORT KCalendarCore::Todo::Ptr todo (const Akonadi::Item &item)
 

Detailed Description

Utility methods for dealing with calendar content in Akonadi items.

Since
5.20.42

Function Documentation

◆ displayName()

QString Akonadi::CalendarUtils::displayName ( Akonadi::ETMCalendar calendar,
const Akonadi::Collection collection 
)

Returns a suitable display name for the calendar (or calendar folder) collection.

This takes backend-specific special cases into account.

Definition at line 72 of file calendarutils.cpp.

◆ event()

KCalendarCore::Event::Ptr Akonadi::CalendarUtils::event ( const Akonadi::Item item)

Returns the event from an Akonadi item, or a null pointer if the item has no such payload.

Definition at line 33 of file calendarutils.cpp.

◆ incidence()

KCalendarCore::Incidence::Ptr Akonadi::CalendarUtils::incidence ( const Akonadi::Item item)

Returns the incidence from an Akonadi item, or a null pointer if the item has no such payload.

Definition at line 22 of file calendarutils.cpp.

◆ journal()

KCalendarCore::Journal::Ptr Akonadi::CalendarUtils::journal ( const Akonadi::Item item)

Returns the journal from an Akonadi item, or a null pointer if the item has no such payload.

Definition at line 59 of file calendarutils.cpp.

◆ todo()

KCalendarCore::Todo::Ptr Akonadi::CalendarUtils::todo ( const Akonadi::Item item)

Returns the todo from an Akonadi item, or a null pointer if the item has no such payload.

Definition at line 46 of file calendarutils.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Oct 6 2022 03:57:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.