libopie PIM API Documentation

OTodoAccessVCal Class Reference

#include <otodoaccessvcal.h>

Inheritance diagram for OTodoAccessVCal:

Inheritance graph
[legend]
Collaboration diagram for OTodoAccessVCal:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OTodoAccessVCal (const QString &)
 ~OTodoAccessVCal ()
bool load ()
 load the resource

bool reload ()
 reload the resource

bool save ()
 save the resource and all it's changes

QArray< intallRecords () const
 return an array of all available uids

QArray< intmatchRegexp (const QRegExp &r) const
 return a List of records that match the regex

QArray< intqueryByExample (const OTodo &t, int sort, const QDateTime &d=QDateTime())
 queryByExample for T with the given Settings

QArray< inteffectiveToDos (const QDate &start, const QDate &end, bool includeNoDates)
QArray< intoverDue ()
QArray< intsorted (bool asc, int sortOrder, int sortFilter, int cat)
OTodo find (int uid) const
 find the OPimRecord with uid

void clear ()
 clear the back end

bool add (const OTodo &)
 add T

bool remove (int uid)
 remove

bool replace (const OTodo &)
 replace a record with T.uid()

void removeAllCompleted ()
virtual QBitArray supports () const

Constructor & Destructor Documentation

OTodoAccessVCal::OTodoAccessVCal const QString  ) 
 

Definition at line 110 of file otodoaccessvcal.cpp.

OTodoAccessVCal::~OTodoAccessVCal  ) 
 

Definition at line 114 of file otodoaccessvcal.cpp.


Member Function Documentation

bool OTodoAccessVCal::load  )  [virtual]
 

load the resource

Implements OPimAccessBackend< OTodo >.

Definition at line 116 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::clear(), eventByVObj(), QMap< int, OTodo >::insert(), and Qtopia::Record::uid().

Referenced by reload().

bool OTodoAccessVCal::reload  )  [virtual]
 

reload the resource

Implements OPimAccessBackend< OTodo >.

Definition at line 144 of file otodoaccessvcal.cpp.

References load().

bool OTodoAccessVCal::save  )  [virtual]
 

save the resource and all it's changes

Implements OPimAccessBackend< OTodo >.

Definition at line 147 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::begin(), QMap< int, OTodo >::end(), and vobjByEvent().

QArray< int > OTodoAccessVCal::allRecords  )  const [virtual]
 

return an array of all available uids

Implements OPimAccessBackend< OTodo >.

Definition at line 202 of file otodoaccessvcal.cpp.

References QMap::begin(), and QMap::end().

QArray< int > OTodoAccessVCal::matchRegexp const QRegExp r  )  const [virtual]
 

return a List of records that match the regex

Implements OPimAccessBackend< OTodo >.

Definition at line 212 of file otodoaccessvcal.cpp.

QArray< int > OTodoAccessVCal::queryByExample const OTodo t,
int  sort,
const QDateTime d = QDateTime()
[virtual]
 

queryByExample for T with the given Settings

Implements OPimAccessBackend< OTodo >.

Definition at line 216 of file otodoaccessvcal.cpp.

QArray< int > OTodoAccessVCal::effectiveToDos const QDate start,
const QDate end,
bool  includeNoDates
[virtual]
 

Implements OTodoAccessBackend.

Definition at line 220 of file otodoaccessvcal.cpp.

QArray< int > OTodoAccessVCal::overDue  )  [virtual]
 

Implements OTodoAccessBackend.

Definition at line 226 of file otodoaccessvcal.cpp.

QArray< int > OTodoAccessVCal::sorted bool  asc,
int  sortOrder,
int  sortFilter,
int  cat
[virtual]
 

Implements OTodoAccessBackend.

Definition at line 198 of file otodoaccessvcal.cpp.

OTodo OTodoAccessVCal::find int  uid  )  const [virtual]
 

find the OPimRecord with uid

Parameters:
uid returns T and T.isEmpty() if nothing was found

Implements OPimAccessBackend< OTodo >.

Definition at line 195 of file otodoaccessvcal.cpp.

void OTodoAccessVCal::clear  )  [virtual]
 

clear the back end

Implements OPimAccessBackend< OTodo >.

Definition at line 170 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::clear().

bool OTodoAccessVCal::add const OTodo to  )  [virtual]
 

add T

Implements OPimAccessBackend< OTodo >.

Definition at line 174 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::insert(), and Qtopia::Record::uid().

bool OTodoAccessVCal::remove int  uid  )  [virtual]
 

remove

Implements OPimAccessBackend< OTodo >.

Definition at line 179 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::remove().

bool OTodoAccessVCal::replace const OTodo to  )  [virtual]
 

replace a record with T.uid()

Implements OPimAccessBackend< OTodo >.

Definition at line 190 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::replace(), and Qtopia::Record::uid().

void OTodoAccessVCal::removeAllCompleted  )  [virtual]
 

Implements OTodoAccessBackend.

Definition at line 184 of file otodoaccessvcal.cpp.

References QMap< int, OTodo >::begin(), QMap< int, OTodo >::end(), and QMap< int, OTodo >::remove().

QBitArray OTodoAccessVCal::supports  )  const [virtual]
 

Implements OTodoAccessBackend.

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