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


Public Member Functions | |
| OTodoAccessVCal (const QString &) | |
| ~OTodoAccessVCal () | |
| bool | load () |
| bool | reload () |
| bool | save () |
| QArray< int > | allRecords () const |
| QArray< int > | matchRegexp (const QRegExp &r) const |
| QArray< int > | queryByExample (const OTodo &t, int sort, const QDateTime &d=QDateTime()) |
| QArray< int > | effectiveToDos (const QDate &start, const QDate &end, bool includeNoDates) |
| QArray< int > | overDue () |
| QArray< int > | sorted (bool asc, int sortOrder, int sortFilter, int cat) |
| OTodo | find (int uid) const |
| void | clear () |
| bool | add (const OTodo &) |
| bool | remove (int uid) |
| bool | replace (const OTodo &) |
| void | removeAllCompleted () |
| virtual QBitArray | supports () const |
Static Private Member Functions | |
| static QBitArray | sup () |
Private Attributes | |
| bool | m_dirty: 1 |
| QString | m_file |
| QMap< int, OTodo > | m_map |
|
|
Definition at line 110 of file otodoaccessvcal.cpp. |
|
|
Definition at line 114 of file otodoaccessvcal.cpp. |
|
|
add T Implements OPimAccessBackend< OTodo >. Definition at line 174 of file otodoaccessvcal.cpp. References QMap< Key, T >::insert(), m_dirty, m_map, and Qtopia::Record::uid(). |
|
|
return an array of all available uids Implements OPimAccessBackend< OTodo >. Definition at line 202 of file otodoaccessvcal.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::count(), QMap< Key, T >::end(), i, and m_map. |
|
|
clear the back end Implements OPimAccessBackend< OTodo >. Definition at line 170 of file otodoaccessvcal.cpp. References QMap< Key, T >::clear(), m_dirty, and m_map. |
|
||||||||||||||||
|
Implements OTodoAccessBackend. Definition at line 220 of file otodoaccessvcal.cpp. |
|
|
find the OPimRecord with uid
Implements OPimAccessBackend< OTodo >. Definition at line 195 of file otodoaccessvcal.cpp. References m_map. |
|
|
load the resource Implements OPimAccessBackend< OTodo >. Definition at line 116 of file otodoaccessvcal.cpp. References QMap< Key, T >::clear(), data, QFile::encodeName(), eventByVObj(), QMap< Key, T >::insert(), l, m_dirty, m_file, m_map, name, Qtopia::Record::uid(), and VCTodoProp. Referenced by reload(). |
|
|
return a List of records that match the regex Implements OPimAccessBackend< OTodo >. Definition at line 212 of file otodoaccessvcal.cpp. |
|
|
Implements OTodoAccessBackend. Definition at line 226 of file otodoaccessvcal.cpp. |
|
||||||||||||||||
|
queryByExample for T with the given Settings Implements OPimAccessBackend< OTodo >. Definition at line 216 of file otodoaccessvcal.cpp. |
|
|
reload the resource Implements OPimAccessBackend< OTodo >. Definition at line 144 of file otodoaccessvcal.cpp. References load(). |
|
|
remove Implements OPimAccessBackend< OTodo >. Definition at line 179 of file otodoaccessvcal.cpp. References m_dirty, m_map, and QMap< Key, T >::remove(). |
|
|
Implements OTodoAccessBackend. Definition at line 184 of file otodoaccessvcal.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), m_map, and QMap< Key, T >::remove(). |
|
|
replace a record with T.uid() Implements OPimAccessBackend< OTodo >. Definition at line 190 of file otodoaccessvcal.cpp. References m_dirty, m_map, and QMap< Key, T >::replace(). |
|
|
save the resource and all it's changes Implements OPimAccessBackend< OTodo >. Definition at line 147 of file otodoaccessvcal.cpp. References QMap< Key, T >::begin(), QFileDirect::directHandle(), QMap< Key, T >::end(), IO_WriteOnly, m_dirty, m_file, m_map, QFile::open(), VCCalProp, VCVersionProp, vobjByEvent(), and writeVObject(). |
|
||||||||||||||||||||
|
Implements OTodoAccessBackend. Definition at line 198 of file otodoaccessvcal.cpp. |
|
|
Definition at line 235 of file otodoaccessvcal.cpp. References OTodo::Alarms, OTodo::CompletedDate, OTodo::CrossReference, QBitArray::fill(), OTodo::Maintainer, OTodo::Notifiers, OTodo::Progress, OTodo::Recurrence, OTodo::Reminders, and OTodo::State. Referenced by supports(). |
|
|
Implements OTodoAccessBackend. Definition at line 230 of file otodoaccessvcal.cpp. References sup(). |
|
|
Definition at line 35 of file otodoaccessvcal.h. Referenced by add(), clear(), load(), remove(), replace(), and save(). |
|
|
Definition at line 36 of file otodoaccessvcal.h. |
|
|
Definition at line 37 of file otodoaccessvcal.h. Referenced by add(), allRecords(), clear(), find(), load(), remove(), removeAllCompleted(), replace(), and save(). |
1.4.2