akonadi
#include <noteutils.h>
Public Member Functions | |
Attachment (const QUrl &url, const QString &mimetype) | |
Attachment (const QByteArray &data, const QString &mimetype) | |
Attachment (const Attachment &) | |
QByteArray | data () const |
QString | label () const |
QString | mimetype () const |
void | operator= (const Attachment &) |
bool | operator== (const Attachment &) const |
void | setLabel (const QString &label) |
QUrl | url () const |
Detailed Description
Constructor & Destructor Documentation
Akonadi::NoteUtils::Attachment::Attachment | ( | const QUrl & | url, |
const QString & | mimetype | ||
) |
Create an attachment referencing a url only.
Definition at line 75 of file noteutils.cpp.
Akonadi::NoteUtils::Attachment::Attachment | ( | const QByteArray & | data, |
const QString & | mimetype | ||
) |
Create an attachment with the content stored inline.
Definition at line 80 of file noteutils.cpp.
Member Function Documentation
QByteArray Akonadi::NoteUtils::Attachment::data | ( | ) | const |
Returns the date for inline attachments.
Definition at line 120 of file noteutils.cpp.
QString Akonadi::NoteUtils::Attachment::label | ( | ) | const |
Returns the label of the attachment.
Definition at line 138 of file noteutils.cpp.
QString Akonadi::NoteUtils::Attachment::mimetype | ( | ) | const |
Returns the mimetype.
Definition at line 126 of file noteutils.cpp.
void Akonadi::NoteUtils::Attachment::setLabel | ( | const QString & | label | ) |
Sets the label to be presented to the user.
Definition at line 132 of file noteutils.cpp.
QUrl Akonadi::NoteUtils::Attachment::url | ( | ) | const |
Returns the url for url-only attachments.
Definition at line 114 of file noteutils.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.