summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcard/include/VCardTextBinValue.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 11:48:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 11:48:03 +0900
commit5cb3ed2e545a03815cdd04ab8666b605a71c44b4 (patch)
tree8c731204e9fdf6a030163992ac88cf210ce8acbe /tdeabc/vcard/include/VCardTextBinValue.h
parent6f0a5983467358a325740c689c1fd546c3752b52 (diff)
downloadtdelibs-5cb3ed2e545a03815cdd04ab8666b605a71c44b4.tar.gz
tdelibs-5cb3ed2e545a03815cdd04ab8666b605a71c44b4.zip
tdeabc/vcard: integrated "generated" partial header files into the place where they
are actually used. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeabc/vcard/include/VCardTextBinValue.h')
-rw-r--r--tdeabc/vcard/include/VCardTextBinValue.h61
1 files changed, 39 insertions, 22 deletions
diff --git a/tdeabc/vcard/include/VCardTextBinValue.h b/tdeabc/vcard/include/VCardTextBinValue.h
index 316fa7832..d90d1e9d5 100644
--- a/tdeabc/vcard/include/VCardTextBinValue.h
+++ b/tdeabc/vcard/include/VCardTextBinValue.h
@@ -33,28 +33,45 @@ namespace VCARD
class KVCARD_EXPORT TextBinValue : public Value
{
-
-#include "TextBinValue-generated.h"
-
- TextBinValue *clone();
-
- bool isBinary() { parse(); return mIsBinary_; }
- TQByteArray data() { parse(); return mData_; }
- TQString url() { parse(); return mUrl_; }
-
- void setData( const TQByteArray &data )
- {
- mData_ = data;
- mIsBinary_ = true;
- assembled_ = false;
- }
-
- void setUrl( const TQString &url )
- {
- mUrl_ = url;
- mIsBinary_ = false;
- assembled_ = false;
- }
+ public:
+ TextBinValue();
+ TextBinValue(const TextBinValue&);
+ TextBinValue(const TQCString&);
+ TextBinValue & operator = (TextBinValue&);
+ TextBinValue & operator = (const TQCString&);
+ bool operator ==(TextBinValue&);
+ bool operator !=(TextBinValue& x) {return !(*this==x);}
+ bool operator ==(const TQCString& s) {TextBinValue a(s);return(*this==a);}
+ bool operator != (const TQCString& s) {return !(*this == s);}
+
+ virtual ~TextBinValue();
+ 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 "TextBinValue"; }
+
+ TextBinValue *clone();
+
+ bool isBinary() { parse(); return mIsBinary_; }
+ TQByteArray data() { parse(); return mData_; }
+ TQString url() { parse(); return mUrl_; }
+
+ void setData( const TQByteArray &data )
+ {
+ mData_ = data;
+ mIsBinary_ = true;
+ assembled_ = false;
+ }
+
+ void setUrl( const TQString &url )
+ {
+ mUrl_ = url;
+ mIsBinary_ = false;
+ assembled_ = false;
+ }
private:
int mIsBinary_;