KCalCore Library
#include <freebusyperiod.h>

Public Types | |
typedef QVector< FreeBusyPeriod > | List |
![]() | |
typedef QVector< Period > | List |
Detailed Description
The period can be defined by either a start time and an end time or by a start time and a duration.
Definition at line 46 of file freebusyperiod.h.
Member Typedef Documentation
◆ List
List of periods.
Definition at line 52 of file freebusyperiod.h.
Constructor & Destructor Documentation
◆ FreeBusyPeriod() [1/5]
FreeBusyPeriod::FreeBusyPeriod | ( | ) |
Constructs a period without a duration.
Definition at line 48 of file freebusyperiod.cpp.
◆ FreeBusyPeriod() [2/5]
Constructs a period from start
to end
.
- Parameters
-
start the time the period begins. end the time the period ends.
Definition at line 52 of file freebusyperiod.cpp.
◆ FreeBusyPeriod() [3/5]
Constructs a period from start
and lasting duration
.
- Parameters
-
start the time when the period starts. duration how long the period lasts.
Definition at line 57 of file freebusyperiod.cpp.
◆ FreeBusyPeriod() [4/5]
FreeBusyPeriod::FreeBusyPeriod | ( | const FreeBusyPeriod & | period | ) |
Constructs a period by copying another period object.
- Parameters
-
period the period to copy
Definition at line 62 of file freebusyperiod.cpp.
◆ FreeBusyPeriod() [5/5]
Constructs a period by copying another period object.
- Parameters
-
period the period to copy
Definition at line 67 of file freebusyperiod.cpp.
◆ ~FreeBusyPeriod()
FreeBusyPeriod::~FreeBusyPeriod | ( | ) |
Destroys a period.
Definition at line 72 of file freebusyperiod.cpp.
Member Function Documentation
◆ location()
QString FreeBusyPeriod::location | ( | ) | const |
Returns the period location.
- See also
- setLocation()
Definition at line 99 of file freebusyperiod.cpp.
◆ operator=()
FreeBusyPeriod & FreeBusyPeriod::operator= | ( | const FreeBusyPeriod & | other | ) |
Sets this period equal to the other
one.
- Parameters
-
other is the other period to compare.
Definition at line 77 of file freebusyperiod.cpp.
◆ setLocation()
Sets the period location.
- Parameters
-
location is the period location string.
- See also
- location().
Definition at line 104 of file freebusyperiod.cpp.
◆ setSummary()
Sets the period summary.
- Parameters
-
summary is the period summary string.
- See also
- summary().
Definition at line 94 of file freebusyperiod.cpp.
◆ summary()
QString FreeBusyPeriod::summary | ( | ) | const |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.