libkcal
KCal::Event Class Reference
#include <event.h>
Inheritance diagram for KCal::Event:

Detailed Description
This class provides an Event in the sense of RFC2445.
Definition at line 32 of file event.h.
Public Types | |
typedef ListBase< Event > | List |
enum | Transparency { Opaque, Transparent } |
Public Member Functions | |
Event () | |
Event (const Event &) | |
~Event () | |
Event & | operator= (const Event &e) |
bool | operator== (const Event &) const |
QCString | type () const |
Event * | clone () |
void | setDtEnd (const QDateTime &dtEnd) |
virtual QDateTime | dtEnd () const |
QDate | dateEnd () const |
QString | dtEndTimeStr () const |
QString | dtEndDateStr (bool shortfmt=true) const |
QString | dtEndStr () const |
void | setHasEndDate (bool) |
bool | hasEndDate () const |
bool | isMultiDay () const |
void | setTransparency (Transparency transparency) |
Transparency | transparency () const |
void | setDuration (int seconds) |
Protected Member Functions | |
virtual QDateTime | endDateRecurrenceBase () const |
Member Enumeration Documentation
|
Transparency of event. Opaque - event appears in free/busy time Transparent - event doesn't appear in free/busy time |
Member Function Documentation
|
Return copy of this Event. The caller owns the returned objet. Implements KCal::Incidence. |
|
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. |
|
Return end date and time.
Reimplemented from KCal::Incidence. |
|
Return end date as string formatted according to the users locale settings.
|
|
Return end date and time as string formatted according to the users locale settings.
|
|
Return end time as string formatted according to the users locale settings.
|
|
Return the end date/time of the base incidence.
Reimplemented from KCal::Incidence. |
|
Return whether the event has an end date/time.
|
|
Return true if the event spans multiple days, otherwise return false.
|
|
Set end date and time.
|
|
Set duration of this event.
Reimplemented from KCal::IncidenceBase. |
|
Set whether the event has an end date/time.
|
|
Set the event's time transparency level.
|
|
Return the event's time transparency level.
|
The documentation for this class was generated from the following files: