Messagelib
attachmentstrategy.cpp
6 SPDX-FileCopyrightText: 2009 Klarälvdalens Datakonsult AB, a KDAB Group company, [email protected]
40 if (ct && ct->isText() && ct->name().trimmed().isEmpty() && (!cd || cd->filename().trimmed().isEmpty())) {
78 && (!node->parent() || (node->contentDisposition()->filename().trimmed().isEmpty() && node->contentType(false)->name().trimmed().isEmpty()))) {
195 if (node->parent() && node->parent()->contentType()->isMultipart() && node->parent()->contentType(false)->subType() == "related") {
232 if (!MimeTreeParser::Util::labelForContent(node).isEmpty() && QIcon::hasThemeIcon(MimeTreeParser::Util::iconNameForContent(node))
Display
Used to determine if the visible part of the anchor contains only the name part and not the given ema...
Definition: stringutil.h:92
QString filename() const
Content * parent() const
QString trimmed() const const
Inline
QString name() const
bool isEmpty() const const
Headers::ContentDisposition * contentDisposition(bool create=true)
bool hasThemeIcon(const QString &name)
QByteArray subType() const
bool isText() const
QString name(StandardShortcut id)
Headers::ContentType * contentType(bool create=true)
bool isMultipart() const
static bool isInEncapsulatedMessage(KMime::Content *node)
Definition: mimetreeparser/src/nodehelper.cpp:345
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
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.