KIMAP
getmetadatajob.cpp
130 // TODO: handle NO error messages having [METADATA MAXSIZE NNN], [METADATA TOOMANY], [METADATA NOPRIVATE] (see rfc5464)
135 QString mailBox = QString::fromUtf8(KIMAP::decodeImapFolderName(response.content[2].toString()));
149 QString mailBox = QString::fromUtf8(KIMAP::decodeImapFolderName(response.content[2].toString()));
205QByteArray GetMetaDataJob::metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute) const
230QMap<QByteArray, QMap<QByteArray, QByteArray>> GetMetaDataJob::allMetaData(const QString &mailBox) const
QMap< QByteArray, QByteArray > allMetaDataForMailbox(const QString &mailbox) const
Get all the metadata for the mailbox.
Definition getmetadatajob.cpp:242
KIMAP_DEPRECATED void addEntry(const QByteArray &entry, const QByteArray &attribute=QByteArray())
Add an entry to the query list.
Definition getmetadatajob.cpp:166
void addRequestedEntry(const QByteArray &entry)
Add an entry to the query list.
Definition getmetadatajob.cpp:176
void setDepth(Depth depth)
Sets whether to retrieve children or descendants of the requested entries.
Definition getmetadatajob.cpp:189
QHash< QString, QMap< QByteArray, QByteArray > > allMetaDataForMailboxes() const
Get all the metadata for for all mailboxes.
Definition getmetadatajob.cpp:258
void setMaximumSize(qint64 size)
Limits the size of returned metadata entries.
Definition getmetadatajob.cpp:183
KIMAP_DEPRECATED QByteArray metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute=QByteArray()) const
Get a single metadata entry.
Definition getmetadatajob.cpp:205
QMap< QByteArray, QByteArray > allMetaData() const
Get all the metadata for the mailbox set with setMailBox().
Definition getmetadatajob.cpp:236
Base class for jobs that operate on mailbox metadata.
Definition metadatajobbase.h:34
@ Annotatemore
Used to indicate that the server supports the draft-daboo-imap-annotatemore-07 version of the extensi...
Definition metadatajobbase.h:61
@ Metadata
Used to indicate that the server supports the RFC 5464 version of the extension.
Definition metadatajobbase.h:54
void result(KJob *job)
QString i18n(const char *text, const TYPE &arg...)
QString name(GameStandardAction id)
void chop(qsizetype n)
bool isEmpty() const const
bool isNull() const const
qsizetype length() const const
QByteArray number(double n, char format, int precision)
iterator insert(const Key &key, const T &value)
QList< T > toList() const const
iterator begin()
iterator end()
qsizetype size() const const
QList< Key > keys() const const
bool hasNext() const const
const Key & key() const const
Item next()
QList< T > values() const const
QString fromUtf8(QByteArrayView str)
This file is part of the IMAP support library and defines the RfcCodecs class.
KIMAP_EXPORT QByteArray encodeImapFolderName(const QByteArray &src)
Converts an Unicode IMAP mailbox to a QByteArray which can be used in IMAP communication.
Definition rfccodecs.cpp:185
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:06:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:06:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.