KMime
headers.h
Go to the documentation of this file.
59};
69};
670 [[deprecated("use QByteArrayView as argument")]] [[nodiscard]] inline QString parameter(const QString &key) const
674 [[deprecated("use QByteArrayView as argument")]] [[nodiscard]] inline QString parameter(QLatin1StringView key) const
691 [[deprecated("use QByteArrayView as argument")]] [[nodiscard]] inline bool hasParameter(const QString &key) const
695 [[deprecated("use QByteArrayView as argument")]] [[nodiscard]] inline bool hasParameter(QLatin1StringView key) const
virtual QByteArray as7BitString(bool withHeaderType=true) const =0
Returns the encoded header.
virtual void from7BitString(QByteArrayView s)=0
Parses the given string.
virtual void fromUnicodeString(const QString &s)=0
Parses the given Unicode representation of the header content.
virtual QString asUnicodeString() const =0
Returns the decoded content of the header without the header-type.
virtual bool isEmpty() const =0
Checks if this header contains any data.
Represents a "Content-Description" header.
Definition headers.h:1247
Represents a "Content-Disposition" header.
Definition headers.h:1149
Represents a "Content-Transfer-Encoding" header.
Definition headers.h:872
Represents an arbitrary header, that can contain any header-field.
Definition headers.h:1205
Base class for headers that deal with (possibly multiple) addresses, allowing groups.
Definition headers.h:429
Base class for all address related headers.
Definition headers.h:317
Base class for headers containing a dot atom.
Definition headers.h:631
Base class for headers which deal with a list of msg-id's.
Definition headers.h:495
Base class for headers that deal with (possibly multiple) addresses, but don't allow groups.
Definition headers.h:338
Base class for headers containing a parameter list such as "Content-Type".
Definition headers.h:654
Base class for headers containing a list of phrases.
Definition headers.h:603
Base class for headers which deal with a single msg-id.
Definition headers.h:539
Base class for headers that deal with exactly one mailbox (e.g.
Definition headers.h:405
Base class for structured header fields.
Definition headers.h:281
virtual bool parse(const char *&scursor, const char *const send, bool isCRLF=false)=0
This method parses the raw header and needs to be implemented in every sub-class.
Base class for headers which deal with a single atom.
Definition headers.h:570
Abstract base class for unstructured header fields (e.g.
Definition headers.h:225
Represents an (email address, display name) pair according RFC 2822, section 3.4.
Definition types.h:38
contentEncoding
Various possible values for the "Content-Transfer-Encoding" header.
Definition headers.h:52
contentDisposition
Various possible values for the "Content-Disposition" header.
Definition headers.h:64
QByteArray toUtf8() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:51:33 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:51:33 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.