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/VCardAgentParam.h | 41 ++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-) (limited to 'tdeabc/vcard/include/VCardAgentParam.h') diff --git a/tdeabc/vcard/include/VCardAgentParam.h b/tdeabc/vcard/include/VCardAgentParam.h index 90c3bd528..b7b84c800 100644 --- a/tdeabc/vcard/include/VCardAgentParam.h +++ b/tdeabc/vcard/include/VCardAgentParam.h @@ -34,20 +34,37 @@ namespace VCARD class KVCARD_EXPORT AgentParam : public Param { + public: + AgentParam(); + AgentParam(const AgentParam&); + AgentParam(const TQCString&); + AgentParam & operator = (AgentParam&); + AgentParam & operator = (const TQCString&); + bool operator ==(AgentParam&); + bool operator !=(AgentParam& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {AgentParam a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~AgentParam(); + 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 "AgentParam"; } -#include "AgentParam-generated.h" - - bool refer() - { parse(); return refer_; } - - URIValue uri() - { parse(); return uri_; } - - void setRefer(bool b) - { refer_ = b; assembled_ = false; } + bool refer() + { parse(); return refer_; } + + URIValue uri() + { parse(); return uri_; } + + void setRefer(bool b) + { refer_ = b; assembled_ = false; } - void setURI(const TQCString & s) - { uri_ = s; assembled_ = false; } + void setURI(const TQCString & s) + { uri_ = s; assembled_ = false; } private: -- cgit v1.2.1