KIMAP2
getmetadatajob.cpp
34 GetMetaDataJobPrivate(Session *session, const QString &name) : MetaDataJobBasePrivate(session, name), maxSize(-1), depth("0") { }
134 //TODO: handle NO error messages having [METADATA MAXSIZE NNN], [METADATA TOOMANY], [METADATA NOPRIVATE] (see rfc5464)
139 QString mailBox = QString::fromUtf8(KIMAP2::decodeImapFolderName(response.content[2].toString()));
153 QString mailBox = QString::fromUtf8(KIMAP2::decodeImapFolderName(response.content[2].toString()));
209QByteArray GetMetaDataJob::metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute) const
234QMap<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:246
KIMAP2_DEPRECATED void addEntry(const QByteArray &entry, const QByteArray &attribute=QByteArray())
Add an entry to the query list.
Definition getmetadatajob.cpp:170
void addRequestedEntry(const QByteArray &entry)
Add an entry to the query list.
Definition getmetadatajob.cpp:180
void setDepth(Depth depth)
Sets whether to retrieve children or descendants of the requested entries.
Definition getmetadatajob.cpp:193
QHash< QString, QMap< QByteArray, QByteArray > > allMetaDataForMailboxes() const
Get all the metadata for for all mailboxes.
Definition getmetadatajob.cpp:260
void setMaximumSize(qint64 size)
Limits the size of returned metadata entries.
Definition getmetadatajob.cpp:187
KIMAP2_DEPRECATED QByteArray metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute=QByteArray()) const
Get a single metadata entry.
Definition getmetadatajob.cpp:209
QMap< QByteArray, QByteArray > allMetaData() const
Get all the metadata for the mailbox set with setMailBox().
Definition getmetadatajob.cpp:240
Base class for jobs that operate on mailbox metadata.
Definition metadatajobbase.h:49
@ Annotatemore
Used to indicate that the server supports the draft-daboo-imap-annotatemore-07 version of the extensi...
Definition metadatajobbase.h:76
@ Metadata
Used to indicate that the server supports the RFC 5464 version of the extension.
Definition metadatajobbase.h:69
void result(KJob *job)
QString name(GameStandardAction id)
bool isEmpty() const const
bool isNull() const const
qsizetype length() const const
QByteArray number(double n, char format, int precision)
void truncate(qsizetype pos)
iterator insert(const Key &key, const T &value)
QList< T > toList() const const
qsizetype size() const const
QList< Key > keys() const const
bool hasNext() const const
const Key & key() const const
Item next()
QString fromUtf8(QByteArrayView str)
This file is part of the IMAP support library and defines the RfcCodecs class.
KIMAP2_EXPORT QByteArray encodeImapFolderName(const QByteArray &src)
Converts an Unicode IMAP mailbox to a QByteArray which can be used in IMAP communication.
Definition rfccodecs.cpp:197
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:56:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:56:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.