author | mickeyl <mickeyl> | 2003-03-21 14:32:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-21 14:32:54 (UTC) |
commit | 69086f42072e7fc1ea5256cb9275a27bf5b41f87 (patch) (unidiff) | |
tree | a310ce28e7f332a08e45923df69bf822da88648c /libopie/pim/ocontactaccessbackend_xml.cpp | |
parent | 6d066b0ed3fd7fbedce84616a8fa279eec480f13 (diff) | |
download | opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.zip opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.tar.gz opie-69086f42072e7fc1ea5256cb9275a27bf5b41f87.tar.bz2 |
g++ compliance fix: default arguments belong into the declaration, but not the definition
Diffstat (limited to 'libopie/pim/ocontactaccessbackend_xml.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/ocontactaccessbackend_xml.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie/pim/ocontactaccessbackend_xml.cpp b/libopie/pim/ocontactaccessbackend_xml.cpp index 9fe3d1e..c5a7820 100644 --- a/libopie/pim/ocontactaccessbackend_xml.cpp +++ b/libopie/pim/ocontactaccessbackend_xml.cpp | |||
@@ -8,24 +8,27 @@ | |||
8 | *modify it under the terms of the GNU Library General Public | 8 | *modify it under the terms of the GNU Library General Public |
9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
10 | * version 2 of the License, or (at your option) any later version. | 10 | * version 2 of the License, or (at your option) any later version. |
11 | * ===================================================================== | 11 | * ===================================================================== |
12 | * ToDo: XML-Backend: Automatic reload if something was changed... | 12 | * ToDo: XML-Backend: Automatic reload if something was changed... |
13 | * | 13 | * |
14 | * | 14 | * |
15 | * ===================================================================== | 15 | * ===================================================================== |
16 | * Version: $Id$ | 16 | * Version: $Id$ |
17 | * ===================================================================== | 17 | * ===================================================================== |
18 | * History: | 18 | * History: |
19 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.4 2003/03/21 14:32:54 mickeyl | ||
21 | * g++ compliance fix: default arguments belong into the declaration, but not the definition | ||
22 | * | ||
20 | * Revision 1.3 2003/03/21 12:26:28 eilers | 23 | * Revision 1.3 2003/03/21 12:26:28 eilers |
21 | * Fixing small bug: If we search a birthday from today to today, it returned | 24 | * Fixing small bug: If we search a birthday from today to today, it returned |
22 | * every contact .. | 25 | * every contact .. |
23 | * | 26 | * |
24 | * Revision 1.2 2003/03/21 10:33:09 eilers | 27 | * Revision 1.2 2003/03/21 10:33:09 eilers |
25 | * Merged speed optimized xml backend for contacts to main. | 28 | * Merged speed optimized xml backend for contacts to main. |
26 | * Added QDateTime to querybyexample. For instance, it is now possible to get | 29 | * Added QDateTime to querybyexample. For instance, it is now possible to get |
27 | * all Birthdays/Anniversaries between two dates. This should be used | 30 | * all Birthdays/Anniversaries between two dates. This should be used |
28 | * to show all birthdays in the datebook.. | 31 | * to show all birthdays in the datebook.. |
29 | * This change is sourcecode backward compatible but you have to upgrade | 32 | * This change is sourcecode backward compatible but you have to upgrade |
30 | * the binaries for today-addressbook. | 33 | * the binaries for today-addressbook. |
31 | * | 34 | * |
@@ -95,25 +98,25 @@ | |||
95 | #include <qpe/global.h> | 98 | #include <qpe/global.h> |
96 | 99 | ||
97 | #include <opie/xmltree.h> | 100 | #include <opie/xmltree.h> |
98 | #include "ocontactaccessbackend.h" | 101 | #include "ocontactaccessbackend.h" |
99 | #include "ocontactaccess.h" | 102 | #include "ocontactaccess.h" |
100 | 103 | ||
101 | #include <stdlib.h> | 104 | #include <stdlib.h> |
102 | #include <errno.h> | 105 | #include <errno.h> |
103 | 106 | ||
104 | using namespace Opie; | 107 | using namespace Opie; |
105 | 108 | ||
106 | 109 | ||
107 | OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename = 0l ): | 110 | OContactAccessBackend_XML::OContactAccessBackend_XML ( QString appname, QString filename ): |
108 | m_changed( false ) | 111 | m_changed( false ) |
109 | { | 112 | { |
110 | // Just m_contactlist should call delete if an entry | 113 | // Just m_contactlist should call delete if an entry |
111 | // is removed. | 114 | // is removed. |
112 | m_contactList.setAutoDelete( true ); | 115 | m_contactList.setAutoDelete( true ); |
113 | m_uidToContact.setAutoDelete( false ); | 116 | m_uidToContact.setAutoDelete( false ); |
114 | 117 | ||
115 | m_appName = appname; | 118 | m_appName = appname; |
116 | 119 | ||
117 | /* Set journalfile name ... */ | 120 | /* Set journalfile name ... */ |
118 | m_journalName = getenv("HOME"); | 121 | m_journalName = getenv("HOME"); |
119 | m_journalName +="/.abjournal" + appname; | 122 | m_journalName +="/.abjournal" + appname; |