summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardContentLine.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 11:48:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 11:48:03 +0900
commit5cb3ed2e545a03815cdd04ab8666b605a71c44b4 (patch)
tree8c731204e9fdf6a030163992ac88cf210ce8acbe /tdeabc/vcard/include/VCardContentLine.h
parent6f0a5983467358a325740c689c1fd546c3752b52 (diff)
downloadtdelibs-5cb3ed2e545a03815cdd04ab8666b605a71c44b4.tar.gz
tdelibs-5cb3ed2e545a03815cdd04ab8666b605a71c44b4.zip
tdeabc/vcard: integrated "generated" partial header files into the place where they
are actually used. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeabc/vcard/include/VCardContentLine.h')
-rw-r--r--tdeabc/vcard/include/VCardContentLine.h61
1 files changed, 39 insertions, 22 deletions
diff --git a/tdeabc/vcard/include/VCardContentLine.h b/tdeabc/vcard/include/VCardContentLine.h
index ea59444a0..e62ba9864 100644
--- a/tdeabc/vcard/include/VCardContentLine.h
+++ b/tdeabc/vcard/include/VCardContentLine.h
@@ -36,30 +36,47 @@ namespace VCARD
class KVCARD_EXPORT ContentLine : public Entity
{
+ public:
+ ContentLine();
+ ContentLine(const ContentLine&);
+ ContentLine(const TQCString&);
+ ContentLine & operator = (ContentLine&);
+ ContentLine & operator = (const TQCString&);
+ bool operator ==(ContentLine&);
+ bool operator !=(ContentLine& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {ContentLine a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
-#include "ContentLine-generated.h"
-
- TQCString group() { parse(); return group_; }
- TQCString name() { parse(); return name_; }
- Value * value() { parse(); return value_; }
- ParamList paramList() { parse(); return paramList_; }
- ParamType paramType() { parse(); return paramType_; }
- ValueType valueType() { parse(); return valueType_; }
- EntityType entityType() { parse(); return entityType_; }
-
- void setGroup (const TQCString & s)
- { group_ = s; assembled_ = false; }
-
- void setName (const TQCString & s)
- { name_ = s; assembled_ = false; }
-
- void setValue (Value *s)
- { value_ = s; assembled_ = false; }
-
- void setParamList (const ParamList & l)
- { paramList_ = l; assembled_ = false; }
+ virtual ~ContentLine();
+ 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 "ContentLine"; }
+
+ TQCString group() { parse(); return group_; }
+ TQCString name() { parse(); return name_; }
+ Value * value() { parse(); return value_; }
+ ParamList paramList() { parse(); return paramList_; }
+ ParamType paramType() { parse(); return paramType_; }
+ ValueType valueType() { parse(); return valueType_; }
+ EntityType entityType() { parse(); return entityType_; }
+
+ void setGroup (const TQCString & s)
+ { group_ = s; assembled_ = false; }
+
+ void setName (const TQCString & s)
+ { name_ = s; assembled_ = false; }
+
+ void setValue (Value *s)
+ { value_ = s; assembled_ = false; }
+
+ void setParamList (const ParamList & l)
+ { paramList_ = l; assembled_ = false; }
- void clear ();
+ void clear ();
private: