libopie PIM API Documentation

OEffectiveEvent Class Reference

AN Event can span through multiple days. More...

#include <oevent.h>

List of all members.

Public Types

typedef QValueList< OEffectiveEventValueList
enum  Position { MidWay, Start, End, StartEnd }

Public Member Functions

 OEffectiveEvent ()
 OEffectiveEvent (const OEvent &event, const QDate &startDate, Position pos=StartEnd)
 OEffectiveEvent (const OEffectiveEvent &)
OEffectiveEventoperator= (const OEffectiveEvent &)
 ~OEffectiveEvent ()
void setStartTime (const QTime &)
void setEndTime (const QTime &)
void setEvent (const OEvent &)
void setDate (const QDate &)
void setEffectiveDates (const QDate &from, const QDate &to)
QString description () const
QString location () const
QString note () const
OEvent event () const
QTime startTime () const
QTime endTime () const
QDate date () const
int length () const
int size () const
QDate startDate () const
QDate endDate () const
bool operator< (const OEffectiveEvent &e) const
bool operator<= (const OEffectiveEvent &e) const
bool operator== (const OEffectiveEvent &e) const
bool operator!= (const OEffectiveEvent &e) const
bool operator> (const OEffectiveEvent &e) const
bool operator>= (const OEffectiveEvent &e) const


Detailed Description

AN Event can span through multiple days.

We split up a multiday eve

Definition at line 178 of file oevent.h.


Member Typedef Documentation

typedef QValueList<OEffectiveEvent> OEffectiveEvent::ValueList
 

Definition at line 180 of file oevent.h.

Referenced by ODateBookAccessBackend::effectiveEvents(), ODateBookAccess::effectiveEvents(), ODateBookAccessBackend::effectiveNonRepeatingEvents(), ODateBookAccess::effectiveNonRepeatingEvents(), events(), and repeat().


Member Enumeration Documentation

enum OEffectiveEvent::Position
 

Enumeration values:
MidWay 
Start 
End 
StartEnd 

Definition at line 181 of file oevent.h.


Constructor & Destructor Documentation

OEffectiveEvent::OEffectiveEvent  ) 
 

Definition at line 557 of file oevent.cpp.

References QDate::currentDate(), and QTime::currentTime().

OEffectiveEvent::OEffectiveEvent const OEvent event,
const QDate startDate,
Position  pos = StartEnd
 

Definition at line 563 of file oevent.cpp.

References End, OEvent::endDateTime(), Start, OEvent::startDateTime(), and QDateTime::time().

OEffectiveEvent::OEffectiveEvent const OEffectiveEvent  ) 
 

Definition at line 580 of file oevent.cpp.

References data.

OEffectiveEvent::~OEffectiveEvent  ) 
 

Definition at line 584 of file oevent.cpp.


Member Function Documentation

OEffectiveEvent & OEffectiveEvent::operator= const OEffectiveEvent  ) 
 

Definition at line 590 of file oevent.cpp.

References data.

void OEffectiveEvent::setStartTime const QTime  ) 
 

Definition at line 600 of file oevent.cpp.

Referenced by events(), and repeat().

void OEffectiveEvent::setEndTime const QTime  ) 
 

Definition at line 604 of file oevent.cpp.

Referenced by events(), and repeat().

void OEffectiveEvent::setEvent const OEvent  ) 
 

Definition at line 608 of file oevent.cpp.

Referenced by events(), and repeat().

void OEffectiveEvent::setDate const QDate  ) 
 

Definition at line 612 of file oevent.cpp.

Referenced by events(), and repeat().

void OEffectiveEvent::setEffectiveDates const QDate from,
const QDate to
 

Definition at line 616 of file oevent.cpp.

References QDate::isValid().

Referenced by repeat().

QString OEffectiveEvent::description  )  const
 

Definition at line 626 of file oevent.cpp.

QString OEffectiveEvent::location  )  const
 

Definition at line 629 of file oevent.cpp.

QString OEffectiveEvent::note  )  const
 

Definition at line 632 of file oevent.cpp.

OEvent OEffectiveEvent::event  )  const
 

Definition at line 635 of file oevent.cpp.

Referenced by operator==().

QTime OEffectiveEvent::startTime  )  const
 

Definition at line 638 of file oevent.cpp.

References QTime::start().

Referenced by operator<(), and operator==().

QTime OEffectiveEvent::endTime  )  const
 

Definition at line 641 of file oevent.cpp.

Referenced by operator==().

QDate OEffectiveEvent::date  )  const
 

Definition at line 644 of file oevent.cpp.

Referenced by operator<(), operator<=(), and operator==().

int OEffectiveEvent::length  )  const
 

Definition at line 647 of file oevent.cpp.

int OEffectiveEvent::size  )  const
 

Definition at line 651 of file oevent.cpp.

QDate OEffectiveEvent::startDate  )  const
 

Definition at line 656 of file oevent.cpp.

QDate OEffectiveEvent::endDate  )  const
 

Definition at line 664 of file oevent.cpp.

bool OEffectiveEvent::operator< const OEffectiveEvent e  )  const
 

Definition at line 692 of file oevent.cpp.

References date(), and startTime().

bool OEffectiveEvent::operator<= const OEffectiveEvent e  )  const
 

Definition at line 700 of file oevent.cpp.

References date().

bool OEffectiveEvent::operator== const OEffectiveEvent e  )  const
 

Definition at line 703 of file oevent.cpp.

References date(), endTime(), event(), and startTime().

bool OEffectiveEvent::operator!= const OEffectiveEvent e  )  const
 

Definition at line 709 of file oevent.cpp.

bool OEffectiveEvent::operator> const OEffectiveEvent e  )  const
 

Definition at line 712 of file oevent.cpp.

bool OEffectiveEvent::operator>= const OEffectiveEvent e  )  const
 

Definition at line 715 of file oevent.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.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:26:20 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001