KDE PIM / Developers / API Docs / libkcal

KCal::Event Class Reference

This class provides an Event in the sense of RFC2445. More...

#include <event.h>

Inherits KCal::Incidence.

List of all members.

Public Types

Public Member Functions


Detailed Description

This class provides an Event in the sense of RFC2445.


Member Enumeration Documentation

enum KCal::Event::Transparency
 

Transparency of event.

Opaque - event appears in free/busy time Transparent - event doesn't appear in free/busy time


Member Function Documentation

Event * Event::clone  )  [virtual]
 

Return copy of this Event.

The caller owns the returned objet.

Implements KCal::Incidence.

void Event::setDtEnd const QDateTime &  dtEnd  ) 
 

Set end date and time.

QDateTime Event::dtEnd  )  const [virtual]
 

Return end date and time.

Reimplemented from KCal::Incidence.

QString Event::dtEndTimeStr  )  const
 

Return end time as string formatted according to the users locale settings.

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

QString Event::dtEndStr  )  const
 

Return end date and time as string formatted according to the users locale settings.

void Event::setHasEndDate bool   ) 
 

Set whether the event has an end date/time.

bool Event::hasEndDate  )  const
 

Return whether the event has an end date/time.

bool Event::isMultiDay  )  const
 

Return true if the event spans multiple days, otherwise return false.

void Event::setTransparency Transparency  transparency  ) 
 

Set the event's time transparency level.

Event::Transparency Event::transparency  )  const
 

Return the event's time transparency level.

void Event::setDuration int  seconds  )  [virtual]
 

Set duration of this event.

Reimplemented from KCal::IncidenceBase.


The documentation for this class was generated from the following files: