24 #ifndef VCARD_ENTITY_H
25 #define VCARD_ENTITY_H
28 #include <tqptrlist.h>
30 #include <VCardEnum.h>
31 #include <VCardVCard.h>
32 #include <VCardEntity.h>
37 typedef TQPtrList<VCard> VCardList;
38 typedef TQPtrListIterator<VCard> VCardListIterator;
40 class KVCARD_EXPORT VCardEntity :
public Entity
44 VCardEntity(
const VCardEntity&);
45 VCardEntity(
const TQCString&);
46 VCardEntity & operator = (VCardEntity&);
47 VCardEntity & operator = (
const TQCString&);
48 bool operator ==(VCardEntity&);
49 bool operator !=(VCardEntity& x) {
return !(*
this==x);}
50 bool operator ==(
const TQCString& s) {VCardEntity a(s);
return(*
this==a);}
51 bool operator != (
const TQCString& s) {
return !(*
this == s);}
53 virtual ~VCardEntity();
54 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
56 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
60 const char * className()
const {
return "VCardEntity"; }
62 void setCardList(
const VCardList & l);
63 VCardList & cardList();