KCal Library
Go to the documentation of this file.
34 #include <QtCore/QByteArray>
43 class KCal::Attachment::Private
46 Private(
const QString &mime,
bool binary )
54 Private(
const Private &other )
55 : mSize( other.mSize ),
56 mMimeType( other.mMimeType ),
58 mData( qstrdup( other.mData ) ),
59 mLabel( other.mLabel ),
60 mBinary( other.mBinary ),
61 mLocal( other.mLocal ),
62 mShowInline( other.mShowInline )
69 QByteArray mDataCache;
82 : d( new
Attachment::Private( *attachment.d ) )
95 d->mData = qstrdup( base64 );
139 if ( d->mDataCache.isNull() ) {
140 d->mDataCache = QByteArray::fromBase64( d->mData );
143 return d->mDataCache;
148 setData( data.toBase64().constData() );
149 d->mDataCache =
data;
150 d->mSize = d->mDataCache.size();
156 d->mData = qstrdup( base64 );
158 d->mDataCache = QByteArray();
186 return d->mShowInline;
191 d->mShowInline = showinline;
216 return uri() == a2.
uri() &&
217 d->mLabel == a2.
label() &&
227 return !( *
this == a2 );
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:29:13 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.