KCalendarCore::CalendarPlugin Class

class KCalendarCore::CalendarPlugin

A plugin that provides calendar data. More...

Header: #include <KCalendarCore/CalendarPlugin>
CMake: find_package(KF6 REQUIRED COMPONENTS CalendarCore)
target_link_libraries(mytarget PRIVATE KF6::CalendarCore)
Since: 5.85
Inherits: QObject

Public Functions

virtual QList<KCalendarCore::Calendar::Ptr> calendars() const = 0

Signals

Detailed Description

It allows calendar applications to consume data provided by multiple sources, e.g. local ical files or remote calendars.

Member Function Documentation

[pure virtual] QList<KCalendarCore::Calendar::Ptr> CalendarPlugin::calendars() const

The set of calendars defined by this plugin.

Returns QList of calendars.

[signal] void CalendarPlugin::calendarsChanged()

Emitted when the set of calendars changed.