Messagelib
mimetreemodel.cpp
291 const QString fileName = tempDir->path() + QLatin1Char('/') + d->descriptionForContent(content);
bool isValid() const
unsigned int up()
const Headers::ContentType * contentType() const
QByteArray decodedContent() const
QByteArray body() const
QList< Content * > contents()
const Headers::ContentDescription * contentDescription() const
QByteArray mimeType() const
Content * mainBodyPart(const QByteArray &type=QByteArray())
A model representing the mime part tree of a message.
Definition mimetreemodel.h:22
static QString fileName(const KMime::Content *node)
Returns a usable filename for a node, that can be the filename from the content disposition header,...
Definition nodehelper.cpp:587
QString i18n(const char *text, const TYPE &arg...)
KCALUTILS_EXPORT QString mimeType()
KIOCORE_EXPORT QString convertSize(KIO::filesize_t size)
QString name(StandardAction id)
void beginResetModel()
QModelIndex createIndex(int row, int column, const void *ptr) const const
void endResetModel()
virtual Qt::ItemFlags flags(const QModelIndex &index) const const
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const const
bool isEmpty() const const
qsizetype length() const const
qsizetype size() const const
QIcon fromTheme(const QString &name)
WriteOnly
void append(QList< T > &&value)
void setUrls(const QList< QUrl > &urls)
int column() const const
void * internalPointer() const const
bool isValid() const const
QObject * parent() const const
QString fromLatin1(QByteArrayView str)
bool isEmpty() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
ToolTipRole
typedef ItemFlags
Orientation
QUrl fromLocalFile(const QString &localFile)
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.