summaryrefslogtreecommitdiffabout
path: root/kabc/vcard
authorulf69 <ulf69>2004-08-19 23:30:02 (UTC)
committer ulf69 <ulf69>2004-08-19 23:30:02 (UTC)
commitf4149cef5f3be19d64c9c53130a62de0ec28ee44 (patch) (unidiff)
tree8d6428a0e1e10b368bd0696d1940743d293e7945 /kabc/vcard
parentd81fbb0a720ba6eb0fbfa1d1eb0748877237a27e (diff)
downloadkdepimpi-f4149cef5f3be19d64c9c53130a62de0ec28ee44.zip
kdepimpi-f4149cef5f3be19d64c9c53130a62de0ec28ee44.tar.gz
kdepimpi-f4149cef5f3be19d64c9c53130a62de0ec28ee44.tar.bz2
removed debugoutput
Diffstat (limited to 'kabc/vcard') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/VCardv.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kabc/vcard/VCardv.cpp b/kabc/vcard/VCardv.cpp
index 3f0a5e5..391a69e 100644
--- a/kabc/vcard/VCardv.cpp
+++ b/kabc/vcard/VCardv.cpp
@@ -23,70 +23,66 @@
23 23
24#include <qcstring.h> 24#include <qcstring.h>
25#include <qstrlist.h> 25#include <qstrlist.h>
26 26
27#include <VCardEntity.h> 27#include <VCardEntity.h>
28#include <VCardVCard.h> 28#include <VCardVCard.h>
29#include <VCardContentLine.h> 29#include <VCardContentLine.h>
30#include <VCardRToken.h> 30#include <VCardRToken.h>
31 31
32#include <VCardDefines.h> 32#include <VCardDefines.h>
33 33
34using namespace VCARD; 34using namespace VCARD;
35 35
36VCard::VCard() 36VCard::VCard()
37 :Entity() 37 :Entity()
38{ 38{
39 contentLineList_.setAutoDelete( TRUE ); 39 contentLineList_.setAutoDelete( TRUE );
40} 40}
41 41
42VCard::VCard(const VCard & x) 42VCard::VCard(const VCard & x)
43 :Entity(x), 43 :Entity(x),
44 group_(x.group_) 44 group_(x.group_)
45{ 45{
46 contentLineList_.setAutoDelete( TRUE ); 46 contentLineList_.setAutoDelete( TRUE );
47 //US
48 qDebug("VCard::VCard");
49 47
50 QPtrListIterator<ContentLine> it(x.contentLineList_); 48 QPtrListIterator<ContentLine> it(x.contentLineList_);
51 for (; it.current(); ++it) { 49 for (; it.current(); ++it) {
52 ContentLine * c = new ContentLine(*it.current()); 50 ContentLine * c = new ContentLine(*it.current());
53 contentLineList_.append(c); 51 contentLineList_.append(c);
54 } 52 }
55 53
56} 54}
57 55
58VCard::VCard(const QCString & s) 56VCard::VCard(const QCString & s)
59 :Entity(s) 57 :Entity(s)
60{ 58{
61 contentLineList_.setAutoDelete( TRUE ); 59 contentLineList_.setAutoDelete( TRUE );
62} 60}
63 61
64 VCard & 62 VCard &
65VCard::operator = (VCard & x) 63VCard::operator = (VCard & x)
66{ 64{
67 //US
68 qDebug("VCard::operator =");
69 if (*this == x) return *this; 65 if (*this == x) return *this;
70 66
71 group_ = x.group(); 67 group_ = x.group();
72 QPtrListIterator<ContentLine> it(x.contentLineList_); 68 QPtrListIterator<ContentLine> it(x.contentLineList_);
73 for (; it.current(); ++it) { 69 for (; it.current(); ++it) {
74 ContentLine * c = new ContentLine(*it.current()); 70 ContentLine * c = new ContentLine(*it.current());
75 contentLineList_.append(c); 71 contentLineList_.append(c);
76 } 72 }
77 73
78 Entity::operator = (x); 74 Entity::operator = (x);
79 return *this; 75 return *this;
80} 76}
81 77
82 VCard & 78 VCard &
83VCard::operator = (const QCString & s) 79VCard::operator = (const QCString & s)
84{ 80{
85 Entity::operator = (s); 81 Entity::operator = (s);
86 return *this; 82 return *this;
87} 83}
88 84
89 bool 85 bool
90VCard::operator == (VCard & x) 86VCard::operator == (VCard & x)
91{ 87{
92 x.parse(); 88 x.parse();