author | eilers <eilers> | 2003-03-21 10:33:09 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-03-21 10:33:09 (UTC) |
commit | 8136284c38384b169cd2843ee61480d45b6c1cba (patch) (unidiff) | |
tree | ad798e3df8dc27a41f431a2130dbf50947fbca49 /libopie2/opiepim/backend/ocontactaccessbackend_vcard.h | |
parent | 6f5f148ff9eac1e4d76bea4460a7984d1e3069b7 (diff) | |
download | opie-8136284c38384b169cd2843ee61480d45b6c1cba.zip opie-8136284c38384b169cd2843ee61480d45b6c1cba.tar.gz opie-8136284c38384b169cd2843ee61480d45b6c1cba.tar.bz2 |
Merged speed optimized xml backend for contacts to main.
Added QDateTime to querybyexample. For instance, it is now possible to get
all Birthdays/Anniversaries between two dates. This should be used
to show all birthdays in the datebook..
This change is sourcecode backward compatible but you have to upgrade
the binaries for today-addressbook.
Diffstat (limited to 'libopie2/opiepim/backend/ocontactaccessbackend_vcard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_vcard.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h index 236da00..93e2da3 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h +++ b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h | |||
@@ -12,16 +12,24 @@ | |||
12 | * ===================================================================== | 12 | * ===================================================================== |
13 | * ToDo: | 13 | * ToDo: |
14 | * | 14 | * |
15 | * ===================================================================== | 15 | * ===================================================================== |
16 | * Version: $Id$ | 16 | * Version: $Id$ |
17 | * ===================================================================== | 17 | * ===================================================================== |
18 | * History: | 18 | * History: |
19 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.5 2003/03/21 10:33:09 eilers | ||
21 | * Merged speed optimized xml backend for contacts to main. | ||
22 | * Added QDateTime to querybyexample. For instance, it is now possible to get | ||
23 | * all Birthdays/Anniversaries between two dates. This should be used | ||
24 | * to show all birthdays in the datebook.. | ||
25 | * This change is sourcecode backward compatible but you have to upgrade | ||
26 | * the binaries for today-addressbook. | ||
27 | * | ||
20 | * Revision 1.4 2002/12/07 13:26:22 eilers | 28 | * Revision 1.4 2002/12/07 13:26:22 eilers |
21 | * Fixing bug in storing anniversary.. | 29 | * Fixing bug in storing anniversary.. |
22 | * | 30 | * |
23 | * Revision 1.3 2002/11/13 14:14:51 eilers | 31 | * Revision 1.3 2002/11/13 14:14:51 eilers |
24 | * Added sorted for Contacts.. | 32 | * Added sorted for Contacts.. |
25 | * | 33 | * |
26 | * Revision 1.2 2002/11/10 15:41:53 eilers | 34 | * Revision 1.2 2002/11/10 15:41:53 eilers |
27 | * Bugfixes.. | 35 | * Bugfixes.. |
@@ -49,17 +57,17 @@ class OContactAccessBackend_VCard : public OContactAccessBackend { | |||
49 | void clear (); | 57 | void clear (); |
50 | 58 | ||
51 | bool add ( const OContact& newcontact ); | 59 | bool add ( const OContact& newcontact ); |
52 | bool remove ( int uid ); | 60 | bool remove ( int uid ); |
53 | bool replace ( const OContact& contact ); | 61 | bool replace ( const OContact& contact ); |
54 | 62 | ||
55 | OContact find ( int uid ) const; | 63 | OContact find ( int uid ) const; |
56 | QArray<int> allRecords() const; | 64 | QArray<int> allRecords() const; |
57 | QArray<int> queryByExample ( const OContact &query, int settings ); | 65 | QArray<int> queryByExample ( const OContact &query, int settings, const QDateTime& d = QDateTime() ); |
58 | QArray<int> matchRegexp( const QRegExp &r ) const; | 66 | QArray<int> matchRegexp( const QRegExp &r ) const; |
59 | 67 | ||
60 | const uint querySettings(); | 68 | const uint querySettings(); |
61 | bool hasQuerySettings (uint querySettings) const; | 69 | bool hasQuerySettings (uint querySettings) const; |
62 | QArray<int> sorted( bool ascending, int sortOrder, int sortFilter, int cat ); | 70 | QArray<int> sorted( bool ascending, int sortOrder, int sortFilter, int cat ); |
63 | bool wasChangedExternally(); | 71 | bool wasChangedExternally(); |
64 | 72 | ||
65 | private: | 73 | private: |