Messagelib
9 #include "messagecore_export.h"
11 #include <KMime/Headers>
15 #include <QSharedPointer>
54 void setName(
const QString &name);
59 Q_REQUIRED_RESULT
QString name()
const;
67 void setFileName(
const QString &name);
72 Q_REQUIRED_RESULT
QString fileName()
const;
77 void setDescription(
const QString &description);
82 Q_REQUIRED_RESULT
QString description()
const;
87 void setInline(
bool value);
92 Q_REQUIRED_RESULT
bool isInline()
const;
97 void setAutoEncoding(
bool enabled);
102 Q_REQUIRED_RESULT
bool isAutoEncoding()
const;
109 void setEncoding(KMime::Headers::contentEncoding encoding);
114 Q_REQUIRED_RESULT KMime::Headers::contentEncoding encoding()
const;
134 Q_REQUIRED_RESULT
QByteArray mimeType()
const;
139 void setCompressed(
bool compressed);
144 Q_REQUIRED_RESULT
bool isCompressed()
const;
149 void setEncrypted(
bool encrypted);
154 Q_REQUIRED_RESULT
bool isEncrypted()
const;
159 void setSigned(
bool sign);
164 Q_REQUIRED_RESULT
bool isSigned()
const;
179 Q_REQUIRED_RESULT qint64 size()
const;
185 Q_REQUIRED_RESULT
bool isMessageOrMessageCollection()
const;
187 void setUrl(
const QUrl &url);
188 Q_REQUIRED_RESULT
QUrl url()
const;
192 class AttachmentPartPrivate;
193 AttachmentPartPrivate *
const d;
A class that encapsulates an attachment.
KCALENDARCORE_EXPORT uint qHash(const KCalendarCore::Period &key)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:10 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.