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 Member Functions | |
Event (const 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 63 of file event.cpp. References setHasEndDate(), and KCal::IncidenceBase::updated(). Referenced by KCal::Calendar::dissociateOccurrence(), KCal::ResourceKABC::doLoad(), KCal::DndFactory::pasteIncidence(), and KCal::VCalFormat::VEventToEvent(). |
|
Return end date and time.
Reimplemented from KCal::Incidence. Definition at line 75 of file event.cpp. References KCal::IncidenceBase::dtStart(), hasEndDate(), and KCal::Incidence::summary(). Referenced by KCal::Calendar::dissociateOccurrence(), 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.
|
|
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.
|
|
Set whether the event has an end date/time.
Definition at line 100 of file event.cpp. Referenced by KCal::ResourceKABC::doLoad(), setDtEnd(), and setDuration(). |
|
Return whether the event has an end date/time.
Definition at line 105 of file event.cpp. Referenced by dtEnd(). |
|
Return true if the event spans multiple days, otherwise return false.
Definition at line 110 of file event.cpp. References dtEnd(), and KCal::IncidenceBase::dtStart(). Referenced by KCal::CalendarLocal::rawEventsForDate(). |
|
Set the event's time transparency level.
Definition at line 116 of file event.cpp. References KCal::IncidenceBase::updated(). Referenced by KCal::ResourceKABC::doLoad(), and KCal::VCalFormat::VEventToEvent(). |
|
Return the event's time transparency level.
Definition at line 123 of file event.cpp. Referenced by KCal::VCalFormat::eventToVEvent(). |
|
Set duration of this event.
Reimplemented from KCal::IncidenceBase. Definition at line 128 of file event.cpp. References setHasEndDate(). |
The documentation for this class was generated from the following files: