akonadi
23 #include "akonadi-notes_export.h"
25 #include <QtCore/QUrl>
32 template <
typename T>
class shared_ptr;
37 typedef boost::shared_ptr<Message> MessagePtr;
46 AKONADI_NOTES_EXPORT QString noteMimeType();
52 AKONADI_NOTES_EXPORT QString noteIconName();
64 Attachment(
const QUrl &url,
const QString &mimetype );
68 Attachment(
const QByteArray &data,
const QString &mimetype );
83 QByteArray data()
const;
88 QString mimetype()
const;
93 void setLabel(
const QString &label );
98 QString label()
const;
101 class AttachmentPrivate;
102 AttachmentPrivate *
const d_ptr;
156 void setUid(
const QString &uid );
163 enum Classification {
172 void setClassification( Classification );
177 Classification classification()
const;
182 void setTitle(
const QString &title );
187 QString title()
const;
194 void setText(
const QString &text, Qt::TextFormat format = Qt::PlainText );
199 QString text()
const;
204 Qt::TextFormat textFormat()
const;
209 QString toPlainText()
const;
214 void setCreationDate(
const KDateTime &creationDate );
219 KDateTime creationDate()
const;
224 void setLastModifiedDate(
const KDateTime &lastModifiedDate );
229 KDateTime lastModifiedDate()
const;
236 void setFrom(
const QString &from );
241 QString from()
const;
246 QList<Attachment> &attachments();
252 QMap<QString, QString> &custom();
259 KMime::MessagePtr message()
const;
263 class NoteMessageWrapperPrivate;
264 NoteMessageWrapperPrivate *
const d_ptr;
A convenience wrapper around KMime::Message::Ptr for notes.
An attachment for a note.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.