summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
Unidiff
Diffstat (limited to 'libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
index c5a7820..661cd51 100644
--- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
+++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
@@ -14,12 +14,17 @@
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/04/13 18:07:10 zecke
21 * More API doc
22 * QString -> const QString&
23 * QString = 0l -> QString::null
24 *
20 * Revision 1.4 2003/03/21 14:32:54 mickeyl 25 * Revision 1.4 2003/03/21 14:32:54 mickeyl
21 * g++ compliance fix: default arguments belong into the declaration, but not the definition 26 * g++ compliance fix: default arguments belong into the declaration, but not the definition
22 * 27 *
23 * Revision 1.3 2003/03/21 12:26:28 eilers 28 * Revision 1.3 2003/03/21 12:26:28 eilers
24 * Fixing small bug: If we search a birthday from today to today, it returned 29 * Fixing small bug: If we search a birthday from today to today, it returned
25 * every contact .. 30 * every contact ..
@@ -104,13 +109,13 @@
104#include <stdlib.h> 109#include <stdlib.h>
105#include <errno.h> 110#include <errno.h>
106 111
107using namespace Opie; 112using namespace Opie;
108 113
109 114
110OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename ): 115OContactAccessBackend_XML::OContactAccessBackend_XML ( const QString& appname, const QString& filename ):
111 m_changed( false ) 116 m_changed( false )
112{ 117{
113 // Just m_contactlist should call delete if an entry 118 // Just m_contactlist should call delete if an entry
114 // is removed. 119 // is removed.
115 m_contactList.setAutoDelete( true ); 120 m_contactList.setAutoDelete( true );
116 m_uidToContact.setAutoDelete( false ); 121 m_uidToContact.setAutoDelete( false );