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 /libopie/pim/ocontactaccessbackend_vcard.cpp | |
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 'libopie/pim/ocontactaccessbackend_vcard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/ocontactaccessbackend_vcard.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libopie/pim/ocontactaccessbackend_vcard.cpp b/libopie/pim/ocontactaccessbackend_vcard.cpp index e537269..f24523f 100644 --- a/libopie/pim/ocontactaccessbackend_vcard.cpp +++ b/libopie/pim/ocontactaccessbackend_vcard.cpp | |||
@@ -8,24 +8,32 @@ | |||
8 | *This program is free software; you can redistribute it and/or | 8 | *This program is free software; you can redistribute it and/or |
9 | *modify it under the terms of the GNU Library General Public | 9 | *modify it under the terms of the GNU Library General Public |
10 | * License as published by the Free Software Foundation; either | 10 | * License as published by the Free Software Foundation; either |
11 | * version 2 of the License, or (at your option) any later version. | 11 | * version 2 of the License, or (at your option) any later version. |
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.9 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.8 2003/02/21 16:52:49 zecke | 28 | * Revision 1.8 2003/02/21 16:52:49 zecke |
21 | * -Remove old Todo classes they're deprecated and today I already using the | 29 | * -Remove old Todo classes they're deprecated and today I already using the |
22 | * new API | 30 | * new API |
23 | * -Guard against self assignment in OTodo | 31 | * -Guard against self assignment in OTodo |
24 | * -Add test apps for OPIM | 32 | * -Add test apps for OPIM |
25 | * -Opiefied Event classes | 33 | * -Opiefied Event classes |
26 | * -Added TimeZone handling and pinning of TimeZones to OEvent | 34 | * -Added TimeZone handling and pinning of TimeZones to OEvent |
27 | * -Adjust ORecur and the widget to better timezone behaviour | 35 | * -Adjust ORecur and the widget to better timezone behaviour |
28 | * | 36 | * |
29 | * Revision 1.7 2003/02/16 22:25:46 zecke | 37 | * Revision 1.7 2003/02/16 22:25:46 zecke |
30 | * 0000276 Fix for that bug.. or better temp workaround | 38 | * 0000276 Fix for that bug.. or better temp workaround |
31 | * A Preferred Number is HOME|VOICE | 39 | * A Preferred Number is HOME|VOICE |
@@ -180,25 +188,25 @@ QArray<int> OContactAccessBackend_VCard::allRecords() const | |||
180 | { | 188 | { |
181 | QArray<int> ar( m_map.count() ); | 189 | QArray<int> ar( m_map.count() ); |
182 | QMap<int, OContact>::ConstIterator it; | 190 | QMap<int, OContact>::ConstIterator it; |
183 | int i = 0; | 191 | int i = 0; |
184 | for ( it = m_map.begin(); it != m_map.end(); ++it ) { | 192 | for ( it = m_map.begin(); it != m_map.end(); ++it ) { |
185 | ar[i] = it.key(); | 193 | ar[i] = it.key(); |
186 | i++; | 194 | i++; |
187 | } | 195 | } |
188 | return ar; | 196 | return ar; |
189 | } | 197 | } |
190 | 198 | ||
191 | // Not implemented | 199 | // Not implemented |
192 | QArray<int> OContactAccessBackend_VCard::queryByExample ( const OContact&, int ) | 200 | QArray<int> OContactAccessBackend_VCard::queryByExample ( const OContact&, int, const QDateTime& ) |
193 | { | 201 | { |
194 | QArray<int> ar(0); | 202 | QArray<int> ar(0); |
195 | return ar; | 203 | return ar; |
196 | } | 204 | } |
197 | 205 | ||
198 | // Not implemented | 206 | // Not implemented |
199 | QArray<int> OContactAccessBackend_VCard::matchRegexp( const QRegExp& ) const | 207 | QArray<int> OContactAccessBackend_VCard::matchRegexp( const QRegExp& ) const |
200 | { | 208 | { |
201 | QArray<int> ar(0); | 209 | QArray<int> ar(0); |
202 | return ar; | 210 | return ar; |
203 | } | 211 | } |
204 | 212 | ||