KCalendarCore
attachment.h
Go to the documentation of this file.
266 friend KCALENDARCORE_EXPORT QDataStream &operator<<(QDataStream &s, const KCalendarCore::Attachment &);
267 friend KCALENDARCORE_EXPORT QDataStream &operator>>(QDataStream &s, KCalendarCore::Attachment &);
275KCALENDARCORE_EXPORT QDataStream &operator<<(QDataStream &out, const KCalendarCore::Attachment &);
Represents information related to an attachment for a Calendar Incidence.
Definition attachment.h:47
QByteArray decodedData() const
Returns a QByteArray containing the decoded base64 binary data of the attachment.
Definition attachment.cpp:116
friend KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &s, KCalendarCore::Attachment &)
Attachment deserializer.
Attachment(const Attachment &attachment)
Constructs an attachment by copying another attachment.
bool operator==(const Attachment &attachment) const
Compare this with attachment for equality.
Definition attachment.cpp:194
void setDecodedData(const QByteArray &data)
Sets the decoded attachment data.
Definition attachment.cpp:125
friend KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &s, const KCalendarCore::Attachment &)
Attachment serializer.
QByteArray data() const
Returns a pointer to a QByteArray containing the base64 encoded binary data of the attachment.
Definition attachment.cpp:107
bool operator!=(const Attachment &attachment) const
Compare this with attachment for inequality.
Definition attachment.cpp:205
void setLocal(bool local)
Sets the attachment "local" option, which is derived from the Calendar Incidence X-KONTACT-TYPE param...
Definition attachment.cpp:187
void setData(const QByteArray &base64)
Sets the base64 encoded binary blob data of the attachment.
Definition attachment.cpp:132
void setShowInline(bool showinline)
Sets the attachment "show in-line" option, which is derived from the Calendar Incidence X-CONTENT-DIS...
Definition attachment.cpp:167
void setMimeType(const QString &mime)
Sets the MIME-type of the attachment to mime.
Definition attachment.cpp:157
void setLabel(const QString &label)
Sets the attachment label to label, which is derived from the Calendar Incidence X-LABEL parameter.
Definition attachment.cpp:177
Attachment & operator=(const Attachment &attachment)
Assignment operator.
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
Alarm deserializer.
Definition alarm.cpp:833
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
Alarm serializer.
Definition alarm.cpp:820
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.