diff options
Diffstat (limited to 'tdeabc/vcard/include/VCardFloatValue.h')
-rw-r--r-- | tdeabc/vcard/include/VCardFloatValue.h | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/tdeabc/vcard/include/VCardFloatValue.h b/tdeabc/vcard/include/VCardFloatValue.h index 45a6823be..24c4760b8 100644 --- a/tdeabc/vcard/include/VCardFloatValue.h +++ b/tdeabc/vcard/include/VCardFloatValue.h @@ -33,13 +33,30 @@ namespace VCARD class KVCARD_EXPORT FloatValue : public Value { - -#include "FloatValue-generated.h" - - FloatValue(float); - - float value(); - void setValue(float); + public: + FloatValue(); + FloatValue(const FloatValue&); + FloatValue(const TQCString&); + FloatValue & operator = (FloatValue&); + FloatValue & operator = (const TQCString&); + bool operator ==(FloatValue&); + bool operator !=(FloatValue& x) {return !(*this==x);} + bool operator ==(const TQCString& s) {FloatValue a(s);return(*this==a);} + bool operator != (const TQCString& s) {return !(*this == s);} + + virtual ~FloatValue(); + 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 "FloatValue"; } + + FloatValue(float); + + float value(); + void setValue(float); private: |