diff options
Diffstat (limited to 'tdeabc/vcard/include/VCardParam.h')
-rw-r--r-- | tdeabc/vcard/include/VCardParam.h | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/tdeabc/vcard/include/VCardParam.h b/tdeabc/vcard/include/VCardParam.h index 93d70f06b..8114e28e5 100644 --- a/tdeabc/vcard/include/VCardParam.h +++ b/tdeabc/vcard/include/VCardParam.h @@ -34,16 +34,33 @@ namespace VCARD class KVCARD_EXPORT Param : public Entity { + public: + Param(); + Param(const Param&); + Param(const TQCString&); + Param & operator = (Param&); + Param & operator = (const TQCString&); + bool operator ==(Param&); + bool operator !=(Param& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {Param a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} -#include "Param-generated.h" + virtual ~Param(); + void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} - Param(const TQCString &name, const TQCString &value); + void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} - void setName(const TQCString &); - void setValue(const TQCString &); - - TQCString name(); - TQCString value(); + void _parse(); + void _assemble(); + const char * className() const { return "Param"; } + + Param(const TQCString &name, const TQCString &value); + + void setName(const TQCString &); + void setValue(const TQCString &); + + TQCString name(); + TQCString value(); private: |