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/VCardOrgValue.h | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'tdeabc/vcard/include/VCardOrgValue.h') diff --git a/tdeabc/vcard/include/VCardOrgValue.h b/tdeabc/vcard/include/VCardOrgValue.h index a2bd803e5..f4bad70ac 100644 --- a/tdeabc/vcard/include/VCardOrgValue.h +++ b/tdeabc/vcard/include/VCardOrgValue.h @@ -34,11 +34,28 @@ namespace VCARD class KVCARD_EXPORT OrgValue : public Value { + public: + OrgValue(); + OrgValue(const OrgValue&); + OrgValue(const TQCString&); + OrgValue & operator = (OrgValue&); + OrgValue & operator = (const TQCString&); + bool operator ==(OrgValue&); + bool operator !=(OrgValue& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {OrgValue a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~OrgValue(); + 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 "OrgValue"; } -#include "OrgValue-generated.h" - - unsigned int numValues(); - TQCString value(unsigned int); + unsigned int numValues(); + TQCString value(unsigned int); private: -- cgit v1.2.1