CalendarSupport::FreeBusyCalendar Class
A FreeBusyCalendar exposes a FreeBusyItemModel as a KCalendarCore::Calendar::Ptr. More...
| Header: | #include <CalendarSupport/FreeBusyCalendar> |
| CMake: | find_package(KPim6CalendarSupport REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::CalendarSupport) |
| Inherits: | QObject |
Public Functions
| FreeBusyCalendar(QObject *parent = nullptr) | |
| virtual | ~FreeBusyCalendar() override |
| KCalendarCore::Calendar::Ptr | calendar() const |
| CalendarSupport::FreeBusyItemModel * | model() const |
| void | setModel(CalendarSupport::FreeBusyItemModel *model) |
Detailed Description
Member Function Documentation
[explicit] FreeBusyCalendar::FreeBusyCalendar(QObject *parent = nullptr)
FreeBusyCalendar Constructor parent
[override virtual noexcept] FreeBusyCalendar::~FreeBusyCalendar()
KCalendarCore::Calendar::Ptr FreeBusyCalendar::calendar() const
calendar Returns the calendar created from the FreeBusyItemModel.
CalendarSupport::FreeBusyItemModel *FreeBusyCalendar::model() const
model Returns the FreeBusyItemModel used by the FreeBusyCalendar.
See also setModel().
void FreeBusyCalendar::setModel(CalendarSupport::FreeBusyItemModel *model)
setModel Set the FreeBusyItemModel used by the FreeBusyCalendar. model
See also model().