KGAPI2::Calendar
#include <calendar.h>

Public Member Functions | |
Calendar () | |
Calendar (const Calendar &other) | |
~Calendar () override | |
void | addDefaultReminer (const ReminderPtr &reminder) |
QColor | backgroundColor () const |
RemindersList | defaultReminders () const |
QString | details () const |
bool | editable () const |
QColor | foregroundColor () const |
QString | location () const |
bool | operator== (const Calendar &other) const |
void | setBackgroundColor (const QColor &color) |
void | setDefaultReminders (const RemindersList &reminders) |
void | setDetails (const QString &details) |
void | setEditable (const bool editable) |
void | setForegroundColor (const QColor &color) |
void | setLocation (const QString &location) |
void | setTimezone (const QString &timezone) |
void | setTitle (const QString &title) |
void | setUid (const QString &uid) |
QString | timezone () const |
QString | title () const |
QString | uid () const |
![]() | |
Object () | |
Object (const Object &other) | |
virtual | ~Object () |
QString | etag () const |
bool | operator== (const Object &other) const |
void | setEtag (const QString &etag) |
Protected Attributes | |
QScopedPointer< Private > const | d |
Detailed Description
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 33 of file calendar.cpp.
Calendar::Calendar | ( | const Calendar & | other | ) |
Copy constructor.
Definition at line 39 of file calendar.cpp.
|
overridedefault |
Destructor.
Member Function Documentation
void Calendar::addDefaultReminer | ( | const ReminderPtr & | reminder | ) |
Adds a default reminder for all events in the calendar.
- Parameters
-
reminder
Definition at line 161 of file calendar.cpp.
QColor Calendar::backgroundColor | ( | ) | const |
RemindersList Calendar::defaultReminders | ( | ) | const |
Returns default reminders for all events in the calendar.
Definition at line 166 of file calendar.cpp.
QString Calendar::details | ( | ) | const |
Returns detailed description of the calendar.
Definition at line 116 of file calendar.cpp.
bool Calendar::editable | ( | ) | const |
Returns whether calendar is editable or read-only.
Definition at line 146 of file calendar.cpp.
QColor Calendar::foregroundColor | ( | ) | const |
QString Calendar::location | ( | ) | const |
Returns geographic location of the calendar.
Definition at line 126 of file calendar.cpp.
void Calendar::setBackgroundColor | ( | const QColor & | color | ) |
Sets calendar background color.
- Parameters
-
color
- Since
- 2.1
Definition at line 176 of file calendar.cpp.
void Calendar::setDefaultReminders | ( | const RemindersList & | reminders | ) |
Sets default reminders for all new events in the calendar.
- Parameters
-
reminders
Definition at line 156 of file calendar.cpp.
void Calendar::setDetails | ( | const QString & | details | ) |
Sets detailed description of a calendar.
- Parameters
-
details
Definition at line 121 of file calendar.cpp.
void Calendar::setEditable | ( | const bool | editable | ) |
Sets calendar to read-only or editable.
- Parameters
-
editable
Definition at line 151 of file calendar.cpp.
void Calendar::setForegroundColor | ( | const QColor & | color | ) |
Sets calendar foreground color.
- Parameters
-
color
- Since
- 2.1
Definition at line 186 of file calendar.cpp.
void Calendar::setLocation | ( | const QString & | location | ) |
Sets geographic location of the calendar.
- Parameters
-
location
Definition at line 131 of file calendar.cpp.
void Calendar::setTimezone | ( | const QString & | timezone | ) |
void Calendar::setTitle | ( | const QString & | title | ) |
void Calendar::setUid | ( | const QString & | uid | ) |
QString Calendar::timezone | ( | ) | const |
Returns timezone of the calendar.
Definition at line 136 of file calendar.cpp.
QString Calendar::title | ( | ) | const |
Returns calendar title (name).
Definition at line 106 of file calendar.cpp.
QString Calendar::uid | ( | ) | const |
Returns uID of the calendar.
Definition at line 101 of file calendar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Mar 7 2021 23:10:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.