From 5cb3ed2e545a03815cdd04ab8666b605a71c44b4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 19 Dec 2020 11:48:03 +0900 Subject: tdeabc/vcard: integrated "generated" partial header files into the place where they are actually used. Signed-off-by: Michele Calgaro --- tdeabc/vcard/include/VCardTextValue.h | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'tdeabc/vcard/include/VCardTextValue.h') diff --git a/tdeabc/vcard/include/VCardTextValue.h b/tdeabc/vcard/include/VCardTextValue.h index 66eed32a8..ae573c5d6 100644 --- a/tdeabc/vcard/include/VCardTextValue.h +++ b/tdeabc/vcard/include/VCardTextValue.h @@ -31,9 +31,27 @@ namespace VCARD class KVCARD_EXPORT TextValue : public Value { -#include "TextValue-generated.h" - - TextValue *clone(); + public: + TextValue(); + TextValue(const TextValue&); + TextValue(const TQCString&); + TextValue & operator = (TextValue&); + TextValue & operator = (const TQCString&); + bool operator ==(TextValue&); + bool operator !=(TextValue& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {TextValue a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~TextValue(); + 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 "TextValue"; } + + TextValue *clone(); }; } -- cgit v1.2.1