summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardFloatValue.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-12-19 11:48:03 +0900
committerMichele Calgaro <[email protected]>2020-12-19 17:18:43 +0900
commit083dbd6407c433a7ff2b4880836d919a84b2cea9 (patch)
tree9eec64b07305ca490a57812da1bc3a9ac19bcd13 /tdeabc/vcard/include/VCardFloatValue.h
parentefc7c849c6eaad2bd9d9192c8865d2954f0ccbac (diff)
downloadtdelibs-083dbd6407c433a7ff2b4880836d919a84b2cea9.tar.gz
tdelibs-083dbd6407c433a7ff2b4880836d919a84b2cea9.zip
tdeabc/vcard: integrated "generated" partial header files into the place where they
are actually used. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5cb3ed2e545a03815cdd04ab8666b605a71c44b4)
Diffstat (limited to 'tdeabc/vcard/include/VCardFloatValue.h')
-rw-r--r--tdeabc/vcard/include/VCardFloatValue.h31
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: