KGAPI2::Calendar
#include <calendar.h>
Protected Attributes | |
QScopedPointer< Private > const | d |
Detailed Description
Constructor & Destructor Documentation
◆ Calendar() [1/2]
|
explicit |
Constructor.
Definition at line 33 of file calendar.cpp.
◆ Calendar() [2/2]
Calendar::Calendar | ( | const Calendar & | other | ) |
Copy constructor.
Definition at line 39 of file calendar.cpp.
◆ ~Calendar()
|
overridedefault |
Destructor.
Member Function Documentation
◆ addDefaultReminer()
void Calendar::addDefaultReminer | ( | const ReminderPtr & | reminder | ) |
Adds a default reminder for all events in the calendar.
- Parameters
-
reminder
Definition at line 162 of file calendar.cpp.
◆ backgroundColor()
|
nodiscard |
◆ defaultReminders()
RemindersList Calendar::defaultReminders | ( | ) | const |
Returns default reminders for all events in the calendar.
Definition at line 167 of file calendar.cpp.
◆ details()
|
nodiscard |
Returns detailed description of the calendar.
Definition at line 117 of file calendar.cpp.
◆ editable()
|
nodiscard |
Returns whether calendar is editable or read-only.
Definition at line 147 of file calendar.cpp.
◆ foregroundColor()
|
nodiscard |
◆ location()
|
nodiscard |
Returns geographic location of the calendar.
Definition at line 127 of file calendar.cpp.
◆ operator==()
bool Calendar::operator== | ( | const Calendar & | other | ) | const |
Definition at line 47 of file calendar.cpp.
◆ setBackgroundColor()
void Calendar::setBackgroundColor | ( | const QColor & | color | ) |
Sets calendar background color.
- Parameters
-
color
- Since
- 2.1
Definition at line 177 of file calendar.cpp.
◆ setDefaultReminders()
void Calendar::setDefaultReminders | ( | const RemindersList & | reminders | ) |
Sets default reminders for all new events in the calendar.
- Parameters
-
reminders
Definition at line 157 of file calendar.cpp.
◆ setDetails()
void Calendar::setDetails | ( | const QString & | details | ) |
Sets detailed description of a calendar.
- Parameters
-
details
Definition at line 122 of file calendar.cpp.
◆ setEditable()
void Calendar::setEditable | ( | const bool | editable | ) |
Sets calendar to read-only or editable.
- Parameters
-
editable
Definition at line 152 of file calendar.cpp.
◆ setForegroundColor()
void Calendar::setForegroundColor | ( | const QColor & | color | ) |
Sets calendar foreground color.
- Parameters
-
color
- Since
- 2.1
Definition at line 187 of file calendar.cpp.
◆ setLocation()
void Calendar::setLocation | ( | const QString & | location | ) |
Sets geographic location of the calendar.
- Parameters
-
location
Definition at line 132 of file calendar.cpp.
◆ setTimezone()
void Calendar::setTimezone | ( | const QString & | timezone | ) |
◆ setTitle()
void Calendar::setTitle | ( | const QString & | title | ) |
◆ setUid()
void Calendar::setUid | ( | const QString & | uid | ) |
◆ timezone()
|
nodiscard |
Returns timezone of the calendar.
Definition at line 137 of file calendar.cpp.
◆ title()
|
nodiscard |
Returns calendar title (name).
Definition at line 107 of file calendar.cpp.
◆ uid()
|
nodiscard |
Returns uID of the calendar.
Definition at line 102 of file calendar.cpp.
Member Data Documentation
◆ d
|
protected |
Definition at line 172 of file calendar.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.