#include </home/clem/local/src/opie/libopie2/opiepim/backend/otodoaccesssql.h>
Inheritance diagram for Opie::OPimTodoAccessBackendSQL:


Public Member Functions | |
| OPimTodoAccessBackendSQL (const QString &file) | |
| ~OPimTodoAccessBackendSQL () | |
| bool | load () |
| bool | reload () |
| bool | save () |
| QArray< UID > | allRecords () const |
| OPimTodo | find (UID uid) const |
| OPimTodo | find (UID uid, const QArray< int > &, uint cur, Frontend::CacheDirection) const |
| void | clear () |
| bool | add (const OPimTodo &t) |
| bool | remove (UID uid) |
| bool | replace (const OPimTodo &t) |
| QArray< UID > | overDue () const |
| QArray< UID > | effectiveToDos (const QDate &start, const QDate &end, bool includeNoDates) const |
| QArray< UID > | matchRegexp (const QRegExp &r) const |
| void | removeAllCompleted () |
Private Member Functions | |
| void | update () const |
| bool | date (QDate &date, const QString &) const |
| OPimTodo | parseResultAndCache (UID uid, const Opie::DB::OSQLResult &) const |
| OPimTodo | parse (Opie::DB::OSQLResultItem &) const |
| QArray< UID > | uids (const Opie::DB::OSQLResult &) const |
| OPimTodo | todo (UID uid) const |
| QMap< QString, QString > | requestCustom (UID uid) const |
Private Attributes | |
| Opie::DB::OSQLDriver * | m_driver |
| QArray< UID > | m_uids |
| bool | m_dirty: 1 |
|
|
Definition at line 421 of file otodoaccesssql.cpp. References Global::applicationFileName(), QString::isEmpty(), m_driver, Opie::DB::OSQLDriver::setUrl(), and Opie::DB::OSQLManager::standard(). |
|
|
Definition at line 433 of file otodoaccesssql.cpp. References m_driver. |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 511 of file otodoaccesssql.cpp. References m_driver, m_uids, Opie::DB::OSQLDriver::query(), and Opie::DB::OSQLResult::state(). Referenced by replace(). |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 455 of file otodoaccesssql.cpp. |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 505 of file otodoaccesssql.cpp. References m_driver, and Opie::DB::OSQLDriver::query(). |
|
||||||||||||
|
Definition at line 631 of file otodoaccesssql.cpp. References list, and QStringList::split(). |
|
||||||||||||||||
|
Implements Opie::OPimTodoAccessBackend. Definition at line 549 of file otodoaccesssql.cpp. References m_driver, Opie::DB::OSQLDriver::query(), and uids(). |
|
||||||||||||||||||||
|
|
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 438 of file otodoaccesssql.cpp. References m_dirty, m_driver, Opie::DB::OSQLDriver::open(), and Opie::DB::OSQLDriver::query(). Referenced by reload(). |
|
|
Reimplemented from Opie::OPimAccessBackend< OPimTodo >. Definition at line 756 of file otodoaccesssql.cpp. References m_driver, QRegExp::pattern(), Opie::DB::OSQLDriver::query(), and uids(). |
|
|
Implements Opie::OPimTodoAccessBackend. Definition at line 545 of file otodoaccesssql.cpp. References m_driver, Opie::DB::OSQLDriver::query(), and uids(). |
|
|
|
|
||||||||||||
|
|
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 448 of file otodoaccesssql.cpp. References load(). |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Referenced by replace(). |
|
|
Implements Opie::OPimTodoAccessBackend. Definition at line 772 of file otodoaccesssql.cpp. References QString::isEmpty(), m_driver, owarn, Opie::DB::OSQLDriver::query(), and uids(). |
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 539 of file otodoaccesssql.cpp. |
|
|
|
|
|
Implements Opie::OPimAccessBackend< OPimTodo >. Definition at line 452 of file otodoaccesssql.cpp. References Opie::DB::OSQLDriver::close(), and m_driver. |
|
|
|
|
|
Referenced by effectiveToDos(), matchRegexp(), overDue(), removeAllCompleted(), and update(). |
|
|
Definition at line 733 of file otodoaccesssql.cpp. References m_driver, Opie::DB::OSQLDriver::query(), Opie::DB::OSQLResult::state(), and uids(). Referenced by allRecords(). |
|
|
Definition at line 83 of file otodoaccesssql.h. Referenced by allRecords(), load(), and replace(). |
|
|
Definition at line 81 of file otodoaccesssql.h. Referenced by add(), clear(), effectiveToDos(), load(), matchRegexp(), OPimTodoAccessBackendSQL(), overDue(), removeAllCompleted(), save(), update(), and ~OPimTodoAccessBackendSQL(). |
|
|
Definition at line 82 of file otodoaccesssql.h. Referenced by add(), and allRecords(). |
1.4.2