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