KIMAP Library
getmetadatajob.cpp
35 GetMetaDataJobPrivate( Session *session, const QString& name ) : MetaDataJobBasePrivate( session, name ), maxSize( -1 ), depth( "0" ) { }
128 //TODO: handle NO error messages having [METADATA MAXSIZE NNN], [METADATA TOOMANY], [METADATA NOPRIVATE] (see rfc5464)
133 QString mailBox = QString::fromUtf8( KIMAP::decodeImapFolderName( response.content[2].toString() ) );
147 QString mailBox = QString::fromUtf8( KIMAP::decodeImapFolderName( response.content[2].toString() ) );
203QByteArray GetMetaDataJob::metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute) const
228QMap<QByteArray, QMap<QByteArray, QByteArray> > GetMetaDataJob::allMetaData(const QString &mailBox) const
KIMAP_DEPRECATED void addEntry(const QByteArray &entry, const QByteArray &attribute=QByteArray())
Add an entry to the query list.
Definition getmetadatajob.cpp:164
void addRequestedEntry(const QByteArray &entry)
Add an entry to the query list.
Definition getmetadatajob.cpp:174
void setDepth(Depth depth)
Sets whether to retrieve children or descendants of the requested entries.
Definition getmetadatajob.cpp:187
void setMaximumSize(qint64 size)
Limits the size of returned metadata entries.
Definition getmetadatajob.cpp:181
KIMAP_DEPRECATED QByteArray metaData(const QString &mailBox, const QByteArray &entry, const QByteArray &attribute=QByteArray()) const
Get a single metadata entry.
Definition getmetadatajob.cpp:203
QMap< QByteArray, QByteArray > allMetaData() const
Get all the metadata.
Definition getmetadatajob.cpp:234
Base class for jobs that operate on mailbox metadata.
Definition metadatajobbase.h:48
@ Annotatemore
Used to indicate that the server supports the draft-daboo-imap-annotatemore-07 version of the extensi...
Definition metadatajobbase.h:75
@ Metadata
Used to indicate that the server supports the RFC 5464 version of the extension.
Definition metadatajobbase.h:68
This file is part of the IMAP support library and defines the RfcCodecs class.
QByteArray encodeImapFolderName(const QByteArray &src)
Converts an Unicode IMAP mailbox to a QByteArray which can be used in IMAP communication.
Definition rfccodecs.cpp:198
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.