KMime::Headers::Generics::Ident Class
class KMime::Headers::Generics::IdentBase class for headers which deal with a list of msg-id's. More...
| Header: | #include <KMime/Headers> |
| CMake: | find_package(KPim6 REQUIRED COMPONENTS Mime)target_link_libraries(mytarget PRIVATE KPim6::Mime) |
| Inherits: | KMime::Headers::Generics::Structured |
| Inherited By: |
Public Functions
| void | appendIdentifier(const QByteArray &id) |
| void | fromIdent(const KMime::Headers::Generics::Ident &ident) |
| QList<QByteArray> | identifiers() const |
Detailed Description
See RFC 2822, section 3.6.4
Member Function Documentation
void Ident::appendIdentifier(const QByteArray &id)
Appends a new identifier to this header.
id The identifier to append, with or without angle-brackets.
void Ident::fromIdent(const KMime::Headers::Generics::Ident &ident)
Initialize this identifier by copying the data from ident.
QList<QByteArray> Ident::identifiers() const
Returns the list of identifiers contained in this header.
Note:
- Identifiers are not enclosed in angle-brackets.
- Identifiers are listed in the same order as in the header.