Diffstat (limited to 'libopie2/opiepim/core/ocontactaccess.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/ocontactaccess.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/ocontactaccess.h b/libopie2/opiepim/core/ocontactaccess.h index e90db32..9b0a719 100644 --- a/libopie2/opiepim/core/ocontactaccess.h +++ b/libopie2/opiepim/core/ocontactaccess.h | |||
@@ -1,43 +1,51 @@ | |||
1 | /* | 1 | /* |
2 | * Class to manage the Contacts. | 2 | * Class to manage the Contacts. |
3 | * | 3 | * |
4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) | 4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) |
5 | * Copyright (c) 2002 by Holger Freyther (zecke@handhelds.org) | 5 | * Copyright (c) 2002 by Holger Freyther (zecke@handhelds.org) |
6 | * | 6 | * |
7 | * ===================================================================== | 7 | * ===================================================================== |
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; | 10 | * License as published by the Free Software Foundation; |
11 | * either version 2 of the License, or (at your option) any later | 11 | * either version 2 of the License, or (at your option) any later |
12 | * version. | 12 | * version. |
13 | * ===================================================================== | 13 | * ===================================================================== |
14 | * ToDo: Define enum for query settings | 14 | * ToDo: Define enum for query settings |
15 | * ===================================================================== | 15 | * ===================================================================== |
16 | * Version: $Id$ | 16 | * Version: $Id$ |
17 | * ===================================================================== | 17 | * ===================================================================== |
18 | * History: | 18 | * History: |
19 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.9 2003/08/01 12:30:16 eilers | ||
21 | * Merging changes from BRANCH_1_0 to HEAD | ||
22 | * | ||
23 | * Revision 1.8.2.1 2003/06/30 14:34:19 eilers | ||
24 | * Patches from Zecke: | ||
25 | * Fixing and cleaning up extraMap handling | ||
26 | * Adding d_ptr for binary compatibility in the future | ||
27 | * | ||
20 | * Revision 1.8 2003/05/08 13:55:09 tille | 28 | * Revision 1.8 2003/05/08 13:55:09 tille |
21 | * search stuff | 29 | * search stuff |
22 | * and match, toRichText & toShortText in oevent | 30 | * and match, toRichText & toShortText in oevent |
23 | * | 31 | * |
24 | * Revision 1.7 2003/04/13 18:07:10 zecke | 32 | * Revision 1.7 2003/04/13 18:07:10 zecke |
25 | * More API doc | 33 | * More API doc |
26 | * QString -> const QString& | 34 | * QString -> const QString& |
27 | * QString = 0l -> QString::null | 35 | * QString = 0l -> QString::null |
28 | * | 36 | * |
29 | * Revision 1.6 2003/01/02 14:27:12 eilers | 37 | * Revision 1.6 2003/01/02 14:27:12 eilers |
30 | * Improved query by example: Search by date is possible.. First step | 38 | * Improved query by example: Search by date is possible.. First step |
31 | * for a today plugin for birthdays.. | 39 | * for a today plugin for birthdays.. |
32 | * | 40 | * |
33 | * Revision 1.5 2002/11/13 14:14:51 eilers | 41 | * Revision 1.5 2002/11/13 14:14:51 eilers |
34 | * Added sorted for Contacts.. | 42 | * Added sorted for Contacts.. |
35 | * | 43 | * |
36 | * Revision 1.4 2002/11/01 15:10:42 eilers | 44 | * Revision 1.4 2002/11/01 15:10:42 eilers |
37 | * Added regExp-search in database for all fields in a contact. | 45 | * Added regExp-search in database for all fields in a contact. |
38 | * | 46 | * |
39 | * Revision 1.3 2002/10/16 10:52:40 eilers | 47 | * Revision 1.3 2002/10/16 10:52:40 eilers |
40 | * Added some docu to the interface and now using the cache infrastucture by zecke.. :) | 48 | * Added some docu to the interface and now using the cache infrastucture by zecke.. :) |
41 | * | 49 | * |
42 | * Revision 1.2 2002/10/14 16:21:54 eilers | 50 | * Revision 1.2 2002/10/14 16:21:54 eilers |
43 | * Some minor interface updates | 51 | * Some minor interface updates |
@@ -144,27 +152,30 @@ class OContactAccess: public QObject, public OPimAccessTemplate<OContact> | |||
144 | * Save is more a "commit". After calling this function, all changes are public available. | 152 | * Save is more a "commit". After calling this function, all changes are public available. |
145 | * @return true if successful | 153 | * @return true if successful |
146 | */ | 154 | */ |
147 | bool save(); | 155 | bool save(); |
148 | 156 | ||
149 | signals: | 157 | signals: |
150 | /* Signal is emitted if the database was changed. Therefore | 158 | /* Signal is emitted if the database was changed. Therefore |
151 | * we may need to reload to stay consistent. | 159 | * we may need to reload to stay consistent. |
152 | * @param which Pointer to the database who created this event. This pointer | 160 | * @param which Pointer to the database who created this event. This pointer |
153 | * is useful if an application has to handle multiple databases at the same time. | 161 | * is useful if an application has to handle multiple databases at the same time. |
154 | * @see reload() | 162 | * @see reload() |
155 | */ | 163 | */ |
156 | void signalChanged ( const OContactAccess *which ); | 164 | void signalChanged ( const OContactAccess *which ); |
157 | 165 | ||
158 | 166 | ||
159 | private: | 167 | private: |
160 | // class OContactAccessPrivate; | 168 | // class OContactAccessPrivate; |
161 | // OContactAccessPrivate* d; | 169 | // OContactAccessPrivate* d; |
162 | OContactAccessBackend *m_backEnd; | 170 | OContactAccessBackend *m_backEnd; |
163 | bool m_loading:1; | 171 | bool m_loading:1; |
164 | 172 | ||
165 | private slots: | 173 | private slots: |
166 | void copMessage( const QCString &msg, const QByteArray &data ); | 174 | void copMessage( const QCString &msg, const QByteArray &data ); |
167 | 175 | ||
176 | private: | ||
177 | class Private; | ||
178 | Private *d; | ||
168 | 179 | ||
169 | }; | 180 | }; |
170 | #endif | 181 | #endif |