diff options
author | Michele Calgaro <[email protected]> | 2020-12-19 11:48:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-12-19 17:18:43 +0900 |
commit | 083dbd6407c433a7ff2b4880836d919a84b2cea9 (patch) | |
tree | 9eec64b07305ca490a57812da1bc3a9ac19bcd13 /tdeabc/vcard/include/VCardVCardEntity.h | |
parent | efc7c849c6eaad2bd9d9192c8865d2954f0ccbac (diff) | |
download | tdelibs-083dbd6407c433a7ff2b4880836d919a84b2cea9.tar.gz tdelibs-083dbd6407c433a7ff2b4880836d919a84b2cea9.zip |
tdeabc/vcard: integrated "generated" partial header files into the place where they
are actually used.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 5cb3ed2e545a03815cdd04ab8666b605a71c44b4)
Diffstat (limited to 'tdeabc/vcard/include/VCardVCardEntity.h')
-rw-r--r-- | tdeabc/vcard/include/VCardVCardEntity.h | 27 |
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_; }; |