26 #include <VCardTextBinValue.h>
27 #include <VCardValue.h>
29 using namespace VCARD;
31 TextBinValue::TextBinValue()
36 TextBinValue::TextBinValue(
const TextBinValue & x)
39 mIsBinary_ = x.mIsBinary_;
44 TextBinValue::TextBinValue(
const TQCString & s)
50 TextBinValue::operator = (TextBinValue & x)
52 if (*
this == x)
return *
this;
54 mIsBinary_ = x.mIsBinary_;
58 Value::operator = (x);
63 TextBinValue::operator = (
const TQCString & s)
65 Value::operator = (s);
70 TextBinValue::operator == (TextBinValue & x)
74 if ( mIsBinary_ != x.mIsBinary_ )
return false;
75 if ( mData_ != x.mData_ )
return false;
76 if ( mUrl_ != x.mUrl_ )
return false;
81 TextBinValue::~TextBinValue()
88 return new TextBinValue( *
this );
92 TextBinValue::_parse()
97 TextBinValue::_assemble()
102 strRep_ = mUrl_.utf8();
static TQCString base64Encode(const TQByteArray &in, bool insertLFs=false)