CalendarSupport::FreeBusyItem Class

Header: #include <CalendarSupport/FreeBusyItem>
CMake: find_package(KPim6CalendarSupport REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::CalendarSupport)

Public Functions

FreeBusyItem(const KCalendarCore::Attendee &attendee, QWidget *parentWidget)
~FreeBusyItem()
KCalendarCore::Attendee attendee() const
QString email() const
KCalendarCore::FreeBusy::Ptr freeBusy() const
bool isDownloading() const
void setFreeBusy(const KCalendarCore::FreeBusy::Ptr &fb)
void setIsDownloading(bool d)
void setUpdateTimerID(int id)
void startDownload(bool forceDownload)
int updateTimerID() const

Signals

void attendeeChanged(const KCalendarCore::Attendee &attendee)

Detailed Description

The FreeBusyItem is the whole line for a given attendee..

Member Function Documentation

FreeBusyItem::FreeBusyItem(const KCalendarCore::Attendee &attendee, QWidget *parentWidget)

parentWidget is passed to Akonadi when fetching free/busy data.

[constexpr noexcept default] FreeBusyItem::~FreeBusyItem()

KCalendarCore::Attendee FreeBusyItem::attendee() const

[signal] void FreeBusyItem::attendeeChanged(const KCalendarCore::Attendee &attendee)

QString FreeBusyItem::email() const

KCalendarCore::FreeBusy::Ptr FreeBusyItem::freeBusy() const

See also setFreeBusy().

bool FreeBusyItem::isDownloading() const

See also setIsDownloading().

void FreeBusyItem::setFreeBusy(const KCalendarCore::FreeBusy::Ptr &fb)

See also freeBusy().

void FreeBusyItem::setIsDownloading(bool d)

See also isDownloading().

void FreeBusyItem::setUpdateTimerID(int id)

See also updateTimerID().

void FreeBusyItem::startDownload(bool forceDownload)

int FreeBusyItem::updateTimerID() const

See also setUpdateTimerID().