diff options
Diffstat (limited to 'tdeabc/vcard/include/VCardValue.h')
-rw-r--r-- | tdeabc/vcard/include/VCardValue.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tdeabc/vcard/include/VCardValue.h b/tdeabc/vcard/include/VCardValue.h index 3c167d70a..f9c052c8e 100644 --- a/tdeabc/vcard/include/VCardValue.h +++ b/tdeabc/vcard/include/VCardValue.h @@ -33,7 +33,25 @@ namespace VCARD class KVCARD_EXPORT Value : public Entity { -#include "Value-generated.h" +public: + Value(); + Value(const Value&); + Value(const TQCString&); + Value & operator = (Value&); + Value & operator = (const TQCString&); + bool operator ==(Value&); + bool operator !=(Value& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {Value a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~Value(); + 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 "Value"; } virtual Value *clone() { return new Value( *this ); } }; |