26 #include <VCardDefines.h>
27 #include <VCardVCardEntity.h>
29 using namespace VCARD;
31 VCardEntity::VCardEntity()
36 VCardEntity::VCardEntity(
const VCardEntity & x)
41 VCardEntity::VCardEntity(
const TQCString & s)
47 VCardEntity::operator = (VCardEntity & x)
49 if (*
this == x)
return *
this;
51 Entity::operator = (x);
56 VCardEntity::operator = (
const TQCString & s)
58 Entity::operator = (s);
63 VCardEntity::operator == (VCardEntity & x)
69 VCardEntity::~VCardEntity()
79 int i = s.find(TQRegExp(
"BEGIN:VCARD",
false));
83 i = s.find(TQRegExp(
"BEGIN:VCARD",
false), 11);
85 TQCString cardStr(s.left(i));
87 VCard * v =
new VCard(cardStr);
98 VCardEntity::_assemble()
100 VCardListIterator it(cardList_);
102 for (; it.current(); ++it)
103 strRep_ += it.current()->asString() +
"\r\n";
107 VCardEntity::cardList()
114 VCardEntity::setCardList(
const VCardList & l)