KCal Library
attachment.cpp
Go to the documentation of this file.
bool operator!=(const Attachment &a2) const
Returns true if two attachments aren't equal.
Definition: attachment.cpp:225
char * data() const
Returns a pointer to a character string containing the base64 encoded binary data of the attachment...
Definition: attachment.cpp:128
bool isBinary() const
Returns true if the attachment has a binary blob; false otherwise.
Definition: attachment.cpp:123
bool isUri() const
Returns true if the attachment has a URI; false otherwise.
Definition: attachment.cpp:103
bool operator==(const Attachment &a2) const
Returns true if two attachments are equal.
Definition: attachment.cpp:214
void setMimeType(const QString &mime)
Sets the MIME-type of the attachment to mime.
Definition: attachment.cpp:179
QByteArray & decodedData() const
Returns a QByteArray containing the decoded base64 binary data of the attachment. ...
Definition: attachment.cpp:137
const char * constData() const
Represents information related to an attachment for a Calendar Incidence.
Definition: attachment.h:57
void setShowInline(bool showinline)
Sets the attachment "show in-line" option, which is derived from the Calendar Incidence X-CONTENT-DIS...
Definition: attachment.cpp:189
This file is part of the API for handling calendar data and defines the Attachment class...
void setData(const char *base64)
Sets the base64 encoded binary blob data of the attachment.
Definition: attachment.cpp:153
QByteArray fromBase64(const QByteArray &base64)
Attachment(const QString &uri, const QString &mime=QString())
Constructs an attachment consisting of a uri and a mime type.
Definition: attachment.cpp:86
void setLocal(bool local)
Sets the attachment "local" option, which is derived from the Calendar Incidence X-KONTACT-TYPE param...
Definition: attachment.cpp:209
QByteArray toBase64() const
void setLabel(const QString &label)
Sets the attachment label to label, which is derived from the Calendar Incidence X-LABEL parameter...
Definition: attachment.cpp:199
int size() const
void setDecodedData(const QByteArray &data)
Sets the decoded attachment data.
Definition: attachment.cpp:146
void setUri(const QString &uri)
Sets the URI for this attachment to uri.
Definition: attachment.cpp:117
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.