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


Public Member Functions | |
| OPimContactAccessBackend () | |
| virtual bool | wasChangedExternally ()=0 |
| const uint | querySettings () const |
| bool | hasQuerySettings (uint querySettings) const |
| UIDArray | queryByExample (const UIDArray &uidlist, const OPimContact &, int settings, const QDateTime &d=QDateTime()) const |
| UIDArray | sorted (const UIDArray &, bool asc, int, int, const QArray< int > &) const |
| OPimBackendOccurrence::List | occurrences (const QDate &, const QDate &) const |
Private Attributes | |
| Private * | d |
Definition at line 59 of file ocontactaccessbackend.h.
|
|
Definition at line 40 of file ocontactaccessbackend.cpp. |
|
|
Check whether settings are correct.
Implements Opie::OPimAccessBackend< OPimContact >. Reimplemented in Opie::OPimContactAccessBackend_SQL. Definition at line 192 of file ocontactaccessbackend.cpp. References Opie::OPimBase::DateDay, Opie::OPimBase::DateDiff, Opie::OPimBase::DateMonth, Opie::OPimBase::DateYear, Opie::OPimBase::ExactMatch, Opie::OPimBase::IgnoreCase, Opie::OPimBase::RegExp, and Opie::OPimBase::WildCards. |
|
||||||||||||
|
Reimplemented from Opie::OPimAccessBackend< OPimContact >. Definition at line 304 of file ocontactaccessbackend.cpp. References Opie::OPimAccessBackend< OPimContact >::allRecords(), Opie::OPimContact::anniversary(), QDate::day(), Opie::OPimAccessBackend< OPimContact >::find(), i, and QDate::month(). |
|
||||||||||||||||||||
|
Advanced search mechanism. Implements Opie::OPimAccessBackend< OPimContact >. Reimplemented in Opie::OPimContactAccessBackend_SQL. Definition at line 42 of file ocontactaccessbackend.cpp. References Opie::OPimContact::anniversary(), Qtopia::Anniversary, Opie::OPimContact::birthday(), Qtopia::Birthday, QDate::currentDate(), QDateTime::date(), Opie::OPimBase::DateDay, Opie::OPimBase::DateDiff, Opie::OPimBase::DateMonth, Opie::OPimBase::DateYear, QDate::day(), QDate::daysTo(), Opie::OPimBase::ExactMatch, false, Opie::OPimContact::field(), Opie::OPimAccessBackend< OPimContact >::find(), Qtopia::Groups, i, Opie::OPimBase::IgnoreCase, QDate::isValid(), l, Opie::OPimBase::MatchOne, QDate::month(), odebug, oendl, Opie::OPimBase::RegExp, QDate::setYMD(), true, Opie::OPimBase::WildCards, and QDate::year(). |
|
|
Return all possible settings.
Implements Opie::OPimAccessBackend< OPimContact >. Reimplemented in Opie::OPimContactAccessBackend_SQL. Definition at line 179 of file ocontactaccessbackend.cpp. References Opie::OPimBase::DateDay, Opie::OPimBase::DateDiff, Opie::OPimBase::DateMonth, Opie::OPimBase::DateYear, Opie::OPimBase::ExactMatch, Opie::OPimBase::IgnoreCase, Opie::OPimBase::RegExp, and Opie::OPimBase::WildCards. |
|
||||||||||||||||||||||||
|
Slow and inefficent default implementation Implements Opie::OPimAccessBackend< OPimContact >. Reimplemented in Opie::OPimContactAccessBackend_SQL. Definition at line 240 of file ocontactaccessbackend.cpp. References Qtopia::Record::categories(), Opie::OPimContactAccess::DoNotShowWithCategory, Opie::OPimBase::FilterCategory, Opie::OPimAccessBackend< OPimContact >::find(), i, Opie::Internal::OPimSortVector< T >::insert(), Opie::OPimRecord::isEmpty(), odebug, oendl, and Opie::Internal::OPimSortVector< T >::uidAt(). |
|
|
Return if database was changed externally. This may just make sense on file based databases like a XML-File. It is used to prevent to overwrite the current database content if the file was already changed by something else ! If this happens, we have to reload before save our data. If we use real databases, this should be handled by the database management system themselve, therefore this function should always return false in this case. It is not our problem to handle this conflict ...
Implemented in Opie::OPimContactAccessBackend_SQL, Opie::OPimContactAccessBackend_VCard, and Opie::OPimContactAccessBackend_XML. Referenced by Opie::OPimContactAccess::wasChangedExternally(). |
|
|
Reimplemented from Opie::OPimAccessBackend< OPimContact >. Definition at line 106 of file ocontactaccessbackend.h. Referenced by Opie::OPimContactAccessBackend_VCard::convVCardDateToDate(). |
1.4.2