KCalCore Library
Go to the documentation of this file.
34 using namespace KCalCore;
41 class KCalCore::Attachment::Private
44 Private(
const QString &mime,
bool binary)
51 Private(
const Private &other)
53 mMimeType(other.mMimeType),
55 mEncodedData(other.mEncodedData),
57 mBinary(other.mBinary),
59 mShowInline(other.mShowInline)
66 QByteArray mDecodedDataCache;
70 QByteArray mEncodedData;
92 d->mEncodedData = base64;
128 return d->mEncodedData;
136 if (d->mDecodedDataCache.isNull()) {
137 d->mDecodedDataCache = QByteArray::fromBase64(d->mEncodedData);
140 return d->mDecodedDataCache;
146 d->mDecodedDataCache =
data;
147 d->mSize = d->mDecodedDataCache.size();
152 d->mEncodedData = base64;
154 d->mDecodedDataCache = QByteArray();
182 return d->mShowInline;
187 d->mShowInline = showinline;
212 if (
this != &other) {
213 d->mSize = other.d->mSize;
214 d->mMimeType = other.d->mMimeType;
215 d->mUri = other.d->mUri;
216 d->mEncodedData = other.d->mEncodedData;
217 d->mLabel = other.d->mLabel;
218 d->mBinary = other.d->mBinary;
219 d->mLocal = other.d->mLocal;
220 d->mShowInline = other.d->mShowInline;
228 return uri() == a2.
uri() &&
229 d->mLabel == a2.
label() &&
239 return !(*
this == a2);
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Jan 9 2014 17:48:39 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.