KCal::Event Class Reference
This class provides an
Event in the sense of RFC2445.
More...
#include <event.h>
List of all members.
Detailed Description
This class provides an
Event in the sense of RFC2445.
Definition at line 32 of file event.h.
Member Typedef Documentation
Member Enumeration Documentation
Transparency of event.
Opaque - event appears in free/busy time Transparent - event doesn't appear in free/busy time
- Enumerator:
-
Definition at line 41 of file event.h.
Constructor & Destructor Documentation
Event::Event |
( |
const Event & |
e |
) |
|
Member Function Documentation
Event * Event::clone |
( |
|
) |
[virtual] |
QDate Event::dateEnd |
( |
|
) |
const |
Returns the day when the event ends.
This might be different from dtEnd().date, since the end date/time is non-inclusive. So timed events ending at 0:00 have their end date on the day before.
Definition at line 95 of file event.cpp.
QString Event::dtEndDateStr |
( |
bool |
shortfmt = true |
) |
const |
Return end date as string formatted according to the users locale settings.
- Parameters:
-
| shortfmt | if true return string in short format, if false return long format |
Definition at line 106 of file event.cpp.
Return end date and time as string formatted according to the users locale settings.
Definition at line 111 of file event.cpp.
QString Event::dtEndTimeStr |
( |
|
) |
const |
Return end time as string formatted according to the users locale settings.
Definition at line 101 of file event.cpp.
virtual QDateTime KCal::Event::endDateRecurrenceBase |
( |
|
) |
const [inline, protected, virtual] |
bool Event::hasEndDate |
( |
|
) |
const |
Return whether the event has an end date/time.
Definition at line 121 of file event.cpp.
bool Event::isMultiDay |
( |
|
) |
const |
Return true if the event spans multiple days, otherwise return false.
Definition at line 126 of file event.cpp.
bool Event::operator== |
( |
const Event & |
e2 |
) |
const |
void Event::setDtEnd |
( |
const QDateTime & |
dtEnd |
) |
|
Set end date and time.
Definition at line 73 of file event.cpp.
void Event::setDuration |
( |
int |
seconds |
) |
[virtual] |
void Event::setHasEndDate |
( |
bool |
b |
) |
|
Set whether the event has an end date/time.
Definition at line 116 of file event.cpp.
Set the event's time transparency level.
Definition at line 138 of file event.cpp.
Return the event's time transparency level.
Definition at line 145 of file event.cpp.
QCString KCal::Event::type |
( |
|
) |
const [inline, virtual] |
The documentation for this class was generated from the following files: