akonadi
noteutils.h
Attachment(const QUrl &url, const QString &mimetype)
Create an attachment referencing a url only.
Definition noteutils.cpp:76
void setLabel(const QString &label)
Sets the label to be presented to the user.
Definition noteutils.cpp:133
QMap< QString, QString > & custom()
Returns a reference to the custom-value map.
Definition noteutils.cpp:524
void setText(const QString &text, Qt::TextFormat format=Qt::PlainText)
Set the text of the note.
Definition noteutils.cpp:484
QList< Attachment > & attachments()
Returns a reference to the list of attachments of the note.
Definition noteutils.cpp:518
void setFrom(const QString &from)
Set the origin (creator) of the note (stored in the mime header) This is usually the application crea...
Definition noteutils.cpp:460
Qt::TextFormat textFormat() const
Definition noteutils.cpp:497
KMime::MessagePtr message() const
Assemble a KMime message with the given values.
Definition noteutils.cpp:346
void setClassification(Classification)
Set the classification of the note.
Definition noteutils.cpp:424
void setLastModifiedDate(const KDateTime &lastModifiedDate)
Set the lastModified-date of the note.
Definition noteutils.cpp:436
void setCreationDate(const KDateTime &creationDate)
Set the creation date of the note (stored in the mime header)
Definition noteutils.cpp:448
Classification classification() const
Returns the classification of the note.
Definition noteutils.cpp:430
KDateTime lastModifiedDate() const
Returns the lastModified-date of the note.
Definition noteutils.cpp:442
QString toPlainText() const
Definition noteutils.cpp:503
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.