Verified Commit 6999e724 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Add a bit of documentation so that the doc appear on api.kde.org

parent 389ae418
Pipeline #94893 passed with stage
in 5 minutes and 43 seconds
......@@ -19,16 +19,24 @@
namespace CalendarSupport
{
class FreeBusyCalendarPrivate;
/// A FreeBusyCalendar exposes a FreeBusyItemModel as a KCalendarCore::Calendar::Ptr.
class CALENDARSUPPORT_EXPORT FreeBusyCalendar : public QObject
{
Q_OBJECT
public:
/// Constructor
explicit FreeBusyCalendar(QObject *parent = nullptr);
~FreeBusyCalendar() override;
/// Set the FreeBusyItemModel used by the FreeBusyCalendar.
void setModel(FreeBusyItemModel *model);
/// Get the FreeBusyItemModel used by the FreeBusyCalendar.
FreeBusyItemModel *model() const;
/// Get the calendar created from the FreeBusyItemModel.
KCalendarCore::Calendar::Ptr calendar() const;
private:
......
......@@ -15,6 +15,7 @@
namespace CalendarSupport
{
/// Model representing the free-busy periods
class CALENDARSUPPORT_EXPORT FreePeriodModel : public QAbstractTableModel
{
Q_OBJECT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment