KCalCore Library
Go to the documentation of this file.
29 #ifndef KCALCORE_ATTACHMENT_H
30 #define KCALCORE_ATTACHMENT_H
32 #include "kcalcore_export.h"
34 #include <QtCore/QHash>
35 #include <QtCore/QString>
36 #include <QtCore/QSharedPointer>
64 typedef QSharedPointer<Attachment>
Ptr;
77 explicit Attachment(
const QString &uri,
const QString &mime = QString() );
87 const QString &mime = QString() );
108 void setUri(
const QString &uri );
129 bool isBinary()
const;
138 void setData(
const QByteArray &base64 );
146 QByteArray data()
const;
155 void setDecodedData(
const QByteArray &data );
163 QByteArray decodedData()
const;
179 void setMimeType(
const QString &mime );
186 QString mimeType()
const;
197 void setShowInline(
bool showinline );
204 bool showInline()
const;
214 void setLabel(
const QString &label );
219 QString label()
const;
230 void setLocal(
bool local );
235 bool isLocal()
const;
247 bool operator==(
const Attachment &attachment )
const;
254 bool operator!=(
const Attachment &attachment )
const;
268 inline uint
qHash(
const QSharedPointer<KCalCore::Attachment> &key )
270 return qHash<KCalCore::Attachment>( key.data() );
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:24:50 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.