KCalendarCore::CalendarPluginLoader Class

class KCalendarCore::CalendarPluginLoader

Provides access to a KCalendarCore::CalendarPlugin instance, if available. More...

Header: #include <KCalendarCore/CalendarPluginLoader>
CMake: find_package(KF6 REQUIRED COMPONENTS CalendarCore)
target_link_libraries(mytarget PRIVATE KF6::CalendarCore)
Since: 5.97
In QML: calendarPluginLoader

Properties

Static Public Members

bool hasPlugin()
KCalendarCore::CalendarPlugin *plugin()

Detailed Description

Property Documentation

[read-only] hasPlugin : const bool

Access functions:

bool hasPlugin()

[read-only] plugin : KCalendarCore::CalendarPlugin* const

Access functions:

KCalendarCore::CalendarPlugin *plugin()

Member Function Documentation

[static] bool CalendarPluginLoader::hasPlugin()

Returns true if there is a platform calendar available.

Note: Getter function for property hasPlugin.

[static] KCalendarCore::CalendarPlugin *CalendarPluginLoader::plugin()

Returns the platform calendar plugin.

Note: Getter function for property plugin.