Messagelib
mailman.cpp
90 digestHeaderStr = QStringLiteral("Content-Type: text/plain\nContent-Description: digest header\n\n");
94 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), digestHeaderStr.toLatin1().constData(), "Digest Header"));
118 partStr = QStringLiteral("Content-Type: message/rfc822\nContent-Description: embedded message\n\n");
131 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), partStr.toLatin1().constData(), subject.toLatin1().constData()));
159 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), partStr.toLatin1().constData(), "Digest Footer"));
void truncate(int position)
The BodyPartFormatter class.
Definition: bodypartformatter.h:30
virtual MimeTreeParser::ObjectTreeParser * objectTreeParser() const =0
For making it easier to refactor, add objectTreeParser.
CaseInsensitive
virtual KMime::Content * topLevelContent() const =0
Returns the top-level content.
QStringView mid(qsizetype start) const const
QByteArray toLatin1() const const
void setMimeType(const QByteArray &mimeType)
int length() const const
The MessagePartList class.
Definition: mimetreeparser/src/messagepart.h:164
virtual KMime::Content * content() const =0
Returns the KMime::Content node represented here.
QByteArray head() const
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
Headers::Base * headerByType(const char *type) const
QByteArray decodedContent()
bool isEmpty() const const
const char * constData() const const
QString fromLatin1(const char *str, int size)
bool hasHeader(const char *type) const
Headers::ContentType * contentType(bool create=true)
QString mid(int position, int n) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.