Messagelib
mimetreemodel.cpp
291 const QString fileName = tempDir->path() + QLatin1Char('/') + d->descriptionForContent(content);
bool isValid() const
unsigned int up()
Headers::ContentDescription * contentDescription(bool create=true)
Headers::ContentType * contentType(bool create=true)
QByteArray decodedContent()
QByteArray body() const
QByteArray mimeType() const
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 mimetreeparser/src/nodehelper.cpp:589
QString i18n(const char *text, const TYPE &arg...)
KCALUTILS_EXPORT QString mimeType()
KIOCORE_EXPORT QString convertSize(KIO::filesize_t size)
QString name(StandardShortcut 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
T qobject_cast(QObject *object)
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 Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.