author | eilers <eilers> | 2002-11-10 15:41:53 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-11-10 15:41:53 (UTC) |
commit | b0b173498acde27957f8ed9297bb2ed2346eb700 (patch) (unidiff) | |
tree | 615180f2fda640ae036450701cf7a728461e7055 | |
parent | a982df01d5755c1280c6279df6d46791bd4c9e7e (diff) | |
download | opie-b0b173498acde27957f8ed9297bb2ed2346eb700.zip opie-b0b173498acde27957f8ed9297bb2ed2346eb700.tar.gz opie-b0b173498acde27957f8ed9297bb2ed2346eb700.tar.bz2 |
Bugfixes..
-rw-r--r-- | libopie/pim/ocontactaccessbackend_vcard.cpp | 18 | ||||
-rw-r--r-- | libopie/pim/ocontactaccessbackend_vcard.h | 5 | ||||
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp | 18 | ||||
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_vcard.h | 5 |
4 files changed, 36 insertions, 10 deletions
diff --git a/libopie/pim/ocontactaccessbackend_vcard.cpp b/libopie/pim/ocontactaccessbackend_vcard.cpp index 903c0b7..013f3af 100644 --- a/libopie/pim/ocontactaccessbackend_vcard.cpp +++ b/libopie/pim/ocontactaccessbackend_vcard.cpp | |||
@@ -3,2 +3,3 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) | 5 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) |
@@ -18,2 +19,5 @@ | |||
18 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.2 2002/11/10 15:41:53 eilers | ||
21 | * Bugfixes.. | ||
22 | * | ||
19 | * Revision 1.1 2002/11/09 14:34:52 eilers | 23 | * Revision 1.1 2002/11/09 14:34:52 eilers |
@@ -33,3 +37,5 @@ OContactAccessBackend_VCard::OContactAccessBackend_VCard ( QString , QString fil | |||
33 | m_file( filename ) | 37 | m_file( filename ) |
34 | {} | 38 | { |
39 | load(); | ||
40 | } | ||
35 | 41 | ||
@@ -88,7 +94,5 @@ bool OContactAccessBackend_VCard::save() | |||
88 | vo = createVObject( *it ); | 94 | vo = createVObject( *it ); |
89 | addVObjectProp( obj, vo ); | 95 | writeVObject( file.directHandle() , vo ); |
96 | cleanVObject( vo ); | ||
90 | } | 97 | } |
91 | writeVObject( file.directHandle() , obj ); | ||
92 | cleanVObject( obj ); | ||
93 | |||
94 | cleanStrTbl(); | 98 | cleanStrTbl(); |
@@ -168,2 +172,6 @@ bool OContactAccessBackend_VCard::hasQuerySettings (uint ) const | |||
168 | 172 | ||
173 | bool OContactAccessBackend_VCard::wasChangedExternally() | ||
174 | { | ||
175 | return false; // Don't expect concurrent access | ||
176 | } | ||
169 | 177 | ||
diff --git a/libopie/pim/ocontactaccessbackend_vcard.h b/libopie/pim/ocontactaccessbackend_vcard.h index c1422b0..177ec24 100644 --- a/libopie/pim/ocontactaccessbackend_vcard.h +++ b/libopie/pim/ocontactaccessbackend_vcard.h | |||
@@ -3,2 +3,3 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) | 5 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) |
@@ -18,2 +19,5 @@ | |||
18 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.2 2002/11/10 15:41:53 eilers | ||
21 | * Bugfixes.. | ||
22 | * | ||
19 | * Revision 1.1 2002/11/09 14:34:52 eilers | 23 | * Revision 1.1 2002/11/09 14:34:52 eilers |
@@ -51,2 +55,3 @@ class OContactAccessBackend_VCard : public OContactAccessBackend { | |||
51 | bool hasQuerySettings (uint querySettings) const; | 55 | bool hasQuerySettings (uint querySettings) const; |
56 | bool wasChangedExternally(); | ||
52 | 57 | ||
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp index 903c0b7..013f3af 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp +++ b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp | |||
@@ -3,2 +3,3 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) | 5 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) |
@@ -18,2 +19,5 @@ | |||
18 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.2 2002/11/10 15:41:53 eilers | ||
21 | * Bugfixes.. | ||
22 | * | ||
19 | * Revision 1.1 2002/11/09 14:34:52 eilers | 23 | * Revision 1.1 2002/11/09 14:34:52 eilers |
@@ -33,3 +37,5 @@ OContactAccessBackend_VCard::OContactAccessBackend_VCard ( QString , QString fil | |||
33 | m_file( filename ) | 37 | m_file( filename ) |
34 | {} | 38 | { |
39 | load(); | ||
40 | } | ||
35 | 41 | ||
@@ -88,7 +94,5 @@ bool OContactAccessBackend_VCard::save() | |||
88 | vo = createVObject( *it ); | 94 | vo = createVObject( *it ); |
89 | addVObjectProp( obj, vo ); | 95 | writeVObject( file.directHandle() , vo ); |
96 | cleanVObject( vo ); | ||
90 | } | 97 | } |
91 | writeVObject( file.directHandle() , obj ); | ||
92 | cleanVObject( obj ); | ||
93 | |||
94 | cleanStrTbl(); | 98 | cleanStrTbl(); |
@@ -168,2 +172,6 @@ bool OContactAccessBackend_VCard::hasQuerySettings (uint ) const | |||
168 | 172 | ||
173 | bool OContactAccessBackend_VCard::wasChangedExternally() | ||
174 | { | ||
175 | return false; // Don't expect concurrent access | ||
176 | } | ||
169 | 177 | ||
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h index c1422b0..177ec24 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h +++ b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.h | |||
@@ -3,2 +3,3 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
4 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) | 5 | * Copyright (c) 2002 by Stefan Eilers (Eilers.Stefan@epost.de) |
@@ -18,2 +19,5 @@ | |||
18 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.2 2002/11/10 15:41:53 eilers | ||
21 | * Bugfixes.. | ||
22 | * | ||
19 | * Revision 1.1 2002/11/09 14:34:52 eilers | 23 | * Revision 1.1 2002/11/09 14:34:52 eilers |
@@ -51,2 +55,3 @@ class OContactAccessBackend_VCard : public OContactAccessBackend { | |||
51 | bool hasQuerySettings (uint querySettings) const; | 55 | bool hasQuerySettings (uint querySettings) const; |
56 | bool wasChangedExternally(); | ||
52 | 57 | ||