libopie PIM API Documentation

OPimNotify Class Reference

This is the base class of Notifiers. More...

#include <opimnotify.h>

Inheritance diagram for OPimNotify:

Inheritance graph
[legend]
List of all members.

Public Types

typedef QValueList< OPimNotifyValueList

Public Member Functions

 OPimNotify (const QDateTime &start=QDateTime(), int duration=0, int parent=0)
 OPimNotify (const OPimNotify &)
virtual ~OPimNotify ()
OPimNotifyoperator= (const OPimNotify &)
bool operator== (const OPimNotify &)
virtual QString type () const=0
QDateTime dateTime () const
 start date

QString service () const
int parent () const
 RETURN the parent uid.

int duration () const
 in Seconds

QDateTime endTime () const
 Start Time + Duration.

void setDateTime (const QDateTime &)
void setDuration (int dur)
void setParent (int uid)
void setService (const QString &)

Detailed Description

This is the base class of Notifiers.

Possible notifiers would be Alarms, Reminders What they share is that they have A DateTime, Type, Duration This is what this base class takes care of on top of that it's shared

Definition at line 20 of file opimnotify.h.


Member Typedef Documentation

typedef QValueList<OPimNotify> OPimNotify::ValueList
 

Definition at line 22 of file opimnotify.h.


Constructor & Destructor Documentation

OPimNotify::OPimNotify const QDateTime start = QDateTime(),
int  duration = 0,
int  parent = 0
 

Definition at line 15 of file opimnotify.cpp.

OPimNotify::OPimNotify const OPimNotify  ) 
 

Definition at line 21 of file opimnotify.cpp.

OPimNotify::~OPimNotify  )  [virtual]
 

Definition at line 26 of file opimnotify.cpp.


Member Function Documentation

OPimNotify & OPimNotify::operator= const OPimNotify  ) 
 

Definition at line 33 of file opimnotify.cpp.

References data.

Referenced by OPimReminder::operator=(), and OPimAlarm::operator=().

bool OPimNotify::operator== const OPimNotify  ) 
 

Definition at line 40 of file opimnotify.cpp.

References data.

Referenced by OPimReminder::operator==(), and OPimAlarm::operator==().

virtual QString OPimNotify::type  )  const [pure virtual]
 

Implemented in OPimAlarm, and OPimReminder.

Referenced by OPimNotifyManager::add(), OPimNotifyManager::remove(), and OPimNotifyManager::replace().

QDateTime OPimNotify::dateTime  )  const
 

start date

Definition at line 49 of file opimnotify.cpp.

Referenced by save(), and OEvent::toMap().

QString OPimNotify::service  )  const
 

Definition at line 52 of file opimnotify.cpp.

int OPimNotify::parent  )  const
 

RETURN the parent uid.

Definition at line 55 of file opimnotify.cpp.

int OPimNotify::duration  )  const
 

in Seconds

Definition at line 58 of file opimnotify.cpp.

QDateTime OPimNotify::endTime  )  const
 

Start Time + Duration.

Definition at line 61 of file opimnotify.cpp.

void OPimNotify::setDateTime const QDateTime  ) 
 

Definition at line 64 of file opimnotify.cpp.

void OPimNotify::setDuration int  dur  ) 
 

Definition at line 68 of file opimnotify.cpp.

void OPimNotify::setParent int  uid  ) 
 

Definition at line 72 of file opimnotify.cpp.

void OPimNotify::setService const QString  ) 
 

Definition at line 76 of file opimnotify.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:23 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001