KCal::Event Class Reference
This class provides an Event in the sense of RFC2445. More...
#include <event.h>
Inheritance diagram for KCal::Event:

Public Types | |
typedef ListBase< Event > | List |
enum | Transparency { Opaque, Transparent } |
Public Methods | |
Event () | |
Event (const Event &) | |
~Event () | |
bool | operator== (const Event &) const |
QCString | type () const |
Event * | clone () |
void | setDtEnd (const QDateTime &dtEnd) |
virtual QDateTime | dtEnd () 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) |
Detailed Description
This class provides an Event in the sense of RFC2445.
Definition at line 31 of file event.h.
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. |
|
Set end date and time.
Definition at line 62 of file event.cpp. References setHasEndDate(), and KCal::IncidenceBase::updated(). Referenced by KCal::ResourceKABC::load(), KCal::DndFactory::pasteIncidence(), and KCal::VCalFormat::VEventToEvent(). |
|
Return end date and time.
Reimplemented from KCal::Incidence. Definition at line 74 of file event.cpp. References QDateTime::addSecs(), KCal::IncidenceBase::dtStart(), hasEndDate(), and KCal::Incidence::summary(). Referenced by KCal::VCalFormat::eventToVEvent(), isMultiDay(), KCal::DndFactory::pasteIncidence(), KCal::VCalFormat::populate(), KCal::CalendarLocal::rawEvents(), KCal::CalendarLocal::rawEventsForDate(), and KCal::VCalFormat::VEventToEvent(). |
|
Return end time as string formatted according to the users locale settings.
Definition at line 84 of file event.cpp. References QDateTime::time(). |
|
Return end date as string formatted according to the users locale settings.
Definition at line 89 of file event.cpp. References QDateTime::date(). |
|
Return end date and time as string formatted according to the users locale settings.
|
|
Set whether the event has an end date/time.
Definition at line 99 of file event.cpp. Referenced by KCal::ResourceKABC::load(), setDtEnd(), and setDuration(). |
|
Return whether the event has an end date/time.
Definition at line 104 of file event.cpp. Referenced by dtEnd(). |
|
Return true if the event spans multiple days, otherwise return false.
Definition at line 109 of file event.cpp. References QDateTime::date(), dtEnd(), and KCal::IncidenceBase::dtStart(). Referenced by KCal::CalendarLocal::rawEventsForDate(). |
|
Set the event's time transparency level.
Definition at line 115 of file event.cpp. References transparency(), and KCal::IncidenceBase::updated(). Referenced by KCal::VCalFormat::VEventToEvent(). |
|
Return the event's time transparency level.
Definition at line 122 of file event.cpp. Referenced by KCal::VCalFormat::eventToVEvent(), and setTransparency(). |
|
Set duration of this event.
Reimplemented from KCal::IncidenceBase. Definition at line 127 of file event.cpp. References setHasEndDate(). |
The documentation for this class was generated from the following files: