Akonadi::FetchJobCalendar Class

A KCalendarCore::Calendar that uses a one time IncidenceFetchJob to populate itself. More...

Header: #include <Akonadi/FetchJobCalendar>
CMake: find_package(KPim6AkonadiCalendar REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiCalendar)
Inherits: Akonadi::CalendarBase

Public Functions

FetchJobCalendar(QObject *parent = nullptr)
virtual ~FetchJobCalendar() override

Signals

void loadFinished(bool success, const QString &errorMessage)

Detailed Description

If you want a persistent calendar ( which monitors Akonadi for changes ) use an ETMCalendar.

Author: Sérgio Martins <sergio.martins@kdab.com>

See also ETMCalendar and CalendarBase.

Member Function Documentation

[explicit] FetchJobCalendar::FetchJobCalendar(QObject *parent = nullptr)

Creates a new FetchJobCalendar. Loading begins asynchronously.

See also loadFinished().

[override virtual noexcept] FetchJobCalendar::~FetchJobCalendar()

Destroys this FetchJobCalendar.

[signal] void FetchJobCalendar::loadFinished(bool success, const QString &errorMessage)

This signal is emitted when the IncidenceFetchJob finishes. success the success of the operation errorMessage if success is false, contains the error message