summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardURIValue.h
diff options
context:
space:
mode:
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: