Qtopia library API Documentation

EffectiveEvent Class Reference

The EffectiveEvent class the data for a single occurance of an event. More...

Collaboration diagram for EffectiveEvent:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Position { MidWay = 0, Start = 1, End = 2, StartEnd = 3 }

Public Member Functions

 EffectiveEvent (const Event &event, const QDate &startDate, Position pos=StartEnd)
 EffectiveEvent (const EffectiveEvent &)
EffectiveEventoperator= (const EffectiveEvent &)
bool operator< (const EffectiveEvent &e) const
bool operator<= (const EffectiveEvent &e) const
bool operator== (const EffectiveEvent &e) const
bool operator!= (const EffectiveEvent &e) const
bool operator> (const EffectiveEvent &e) const
bool operator>= (const EffectiveEvent &e) const
void setStart (const QTime &start)
void setEnd (const QTime &end)
void setEvent (Event e)
void setDate (const QDate &date)
void setEffectiveDates (const QDate &from, const QDate &to)
const QStringdescription () const
const QStringlocation () const
const QStringnotes () const
const Eventevent () const
const QTimestart () const
const QTimeend () const
const QDatedate () const
int length () const
int size () const
QDate startDate () const
QDate endDate () const

Detailed Description

The EffectiveEvent class the data for a single occurance of an event.

This class describes the event for a single occurance of it. For example if an Event occurs every week, the effective event might represent the third occurance of this Event.

Warning:
This class will be phased out in Qtopia 3.x

Definition at line 192 of file event.h.


Member Function Documentation

const QString & EffectiveEvent::description  )  const
 

Returns the description of the event for this effective event.

Definition at line 871 of file event.cpp.

References Event::description().

const Event & EffectiveEvent::event  )  const
 

Returns the event associated with this effective event.

Definition at line 895 of file event.cpp.

const QDate & EffectiveEvent::date  )  const
 

Returns the date the effective event occurs on.

Definition at line 919 of file event.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:18 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001