summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardURIValue.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-12-19 11:48:03 +0900
committerMichele Calgaro <[email protected]>2020-12-19 11:48:03 +0900
commit5cb3ed2e545a03815cdd04ab8666b605a71c44b4 (patch)
tree8c731204e9fdf6a030163992ac88cf210ce8acbe /tdeabc/vcard/include/VCardURIValue.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 <[email protected]>
Diffstat (limited to 'tdeabc/vcard/include/VCardURIValue.h')
-rw-r--r--tdeabc/vcard/include/VCardURIValue.h34
1 files changed, 26 insertions, 8 deletions
diff --git a/tdeabc/vcard/include/VCardURIValue.h b/tdeabc/vcard/include/VCardURIValue.h
index 696887774..0158b1b00 100644
--- a/tdeabc/vcard/include/VCardURIValue.h
+++ b/tdeabc/vcard/include/VCardURIValue.h
@@ -31,15 +31,33 @@ namespace VCARD
class KVCARD_EXPORT URIValue : public Value
{
-#include "URIValue-generated.h"
+ public:
+ URIValue();
+ URIValue(const URIValue&);
+ URIValue(const TQCString&);
+ URIValue & operator = (URIValue&);
+ URIValue & operator = (const TQCString&);
+ bool operator ==(URIValue&);
+ bool operator !=(URIValue& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {URIValue a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
- URIValue(const TQCString & scheme, const TQCString & schemeSpecificPart);
-
- TQCString scheme();
- TQCString schemeSpecificPart();
-
- void setScheme (const TQCString &);
- void setSchemeSpecificPart (const TQCString &);
+ virtual ~URIValue();
+ 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 "URIValue"; }
+
+ URIValue(const TQCString & scheme, const TQCString & schemeSpecificPart);
+
+ TQCString scheme();
+ TQCString schemeSpecificPart();
+
+ void setScheme (const TQCString &);
+ void setSchemeSpecificPart (const TQCString &);
private: