summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardVCardEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/vcard/include/VCardVCardEntity.h')
-rw-r--r--tdeabc/vcard/include/VCardVCardEntity.h27
1 files changed, 22 insertions, 5 deletions
diff --git a/tdeabc/vcard/include/VCardVCardEntity.h b/tdeabc/vcard/include/VCardVCardEntity.h
index 422790c22..7f012cfa2 100644
--- a/tdeabc/vcard/include/VCardVCardEntity.h
+++ b/tdeabc/vcard/include/VCardVCardEntity.h
@@ -39,15 +39,32 @@ typedef TQPtrListIterator<VCard> VCardListIterator;
class KVCARD_EXPORT VCardEntity : public Entity
{
+ public:
+ VCardEntity();
+ VCardEntity(const VCardEntity&);
+ VCardEntity(const TQCString&);
+ VCardEntity & operator = (VCardEntity&);
+ VCardEntity & operator = (const TQCString&);
+ bool operator ==(VCardEntity&);
+ bool operator !=(VCardEntity& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {VCardEntity a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
-#include "VCardEntity-generated.h"
-
- void setCardList(const VCardList & l);
- VCardList & cardList();
+ virtual ~VCardEntity();
+ void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
+
+ void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
+
+ void _parse();
+ void _assemble();
+ const char * className() const { return "VCardEntity"; }
+
+ void setCardList(const VCardList & l);
+ VCardList & cardList();
private:
- VCardList cardList_;
+ VCardList cardList_;
};