#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/otodoaccess.h>
Inheritance diagram for OTodoAccess:


Public Types | |
| enum | SortOrder { Completed = 0, Priority, Description, Deadline } |
| enum | SortFilter { Category = 1, OnlyOverDue = 2, DoNotShowCompleted = 4 } |
Signals | |
| void | changed (const OTodoAccess *) |
| void | changed (const OTodoAccess *, int uid) |
| void | added (const OTodoAccess *, int uid) |
| void | removed (const OTodoAccess *, int uid) |
Public Member Functions | |
| OTodoAccess (OTodoAccessBackend *=0l, enum Access acc=Random) | |
| ~OTodoAccess () | |
| List | effectiveToDos (const QDate &start, const QDate &end, bool includeNoDates=true) |
| List | effectiveToDos (const QDate &start, bool includeNoDates=true) |
| List | overDue () |
| List | sorted (bool ascending, int sortOrder, int sortFilter, int cat) |
| void | mergeWith (const QValueList< OTodo > &) |
| void | removeAllCompleted () |
| QBitArray | backendSupport (const QString &backend=QString::null) const |
| bool | backendSupports (int attr, const QString &backend=QString::null) const |
Private Attributes | |
| int | m_cat |
| OTodoAccessBackend * | m_todoBackEnd |
| OTodoAccessPrivate * | d |
Definition at line 17 of file otodoaccess.h.
|
|
Definition at line 24 of file otodoaccess.h. |
|
|
Definition at line 20 of file otodoaccess.h. |
|
||||||||||||
|
if you use 0l the default resource will be picked up Definition at line 9 of file otodoaccess.cpp. References OBackendFactory< T >::Default(), l, m_todoBackEnd, QString::null, and OPimAccessTemplate< OTodo >::setBackEnd(). |
|
|
Definition at line 21 of file otodoaccess.cpp. |
|
||||||||||||
|
|
|
|
request information about what a backend supports. Supports in the sense of beeing able to store. This is related to the enum in OTodo
Definition at line 57 of file otodoaccess.cpp. References m_todoBackEnd, and OTodoAccessBackend::supports(). Referenced by backendSupports(). |
|
||||||||||||
|
see above but for a specefic attribute. This method was added for convience
Definition at line 60 of file otodoaccess.cpp. References backendSupport(). |
|
||||||||||||
|
|
|
|
if the OTodoAccess was changed |
|
||||||||||||
|
start end date taken from the currentDate() Definition at line 38 of file otodoaccess.cpp. References QDate::currentDate(), and effectiveToDos(). |
|
||||||||||||||||
|
include todos from start to end includeNoDates whether or not to include events with no dates Definition at line 30 of file otodoaccess.cpp. References OTodoAccessBackend::effectiveToDos(), and m_todoBackEnd. Referenced by effectiveToDos(). |
|
|
merge a list of OTodos into the resource Definition at line 24 of file otodoaccess.cpp. References QValueList< T >::begin(), QValueList< T >::end(), and OPimAccessTemplate< OTodo >::replace(). |
|
|
return overdue OTodos Definition at line 43 of file otodoaccess.cpp. References m_todoBackEnd, and OTodoAccessBackend::overDue(). |
|
|
delete all already completed items Definition at line 54 of file otodoaccess.cpp. References m_todoBackEnd, and OTodoAccessBackend::removeAllCompleted(). |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Definition at line 48 of file otodoaccess.cpp. References list, m_todoBackEnd, and OTodoAccessBackend::sorted(). |
|
|
Reimplemented from OPimAccessTemplate< OTodo >. Definition at line 101 of file otodoaccess.h. |
|
|
Definition at line 99 of file otodoaccess.h. |
|
|
Definition at line 100 of file otodoaccess.h. Referenced by backendSupport(), effectiveToDos(), OTodoAccess(), overDue(), removeAllCompleted(), and sorted(). |
1.4.2