KIMAP Library
setmetadatajob.cpp
35 SetMetaDataJobPrivate( Session *session, const QString& name ) : MetaDataJobBasePrivate( session, name ), metaDataErrors( 0 ), maxAcceptedSize( -1 ) { }
96 //TODO: Test if a server can really return more then one untagged NO response. If not, no need to OR the error codes
101 setErrorText( i18n( "%1 failed, server replied: %2", d->m_name, QLatin1String(response.toString().constData()) ) );
109 if ( response.content[2].toString().startsWith( "[METADATA MAXSIZE" ) ) { //krazy:exclude=strings
122 setErrorText( i18n( "%1 failed, server replied: %2", d->m_name, QLatin1String(response.toString().constData()) ) );
141 if ( d->serverCapability == Annotatemore && ( name.startsWith( "/shared" ) || name.startsWith( "/private" ) ) ) {
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
MetaDataErrors metaDataErrors() const
The metadata errors received from the server.
Definition setmetadatajob.cpp:156
void addMetaData(const QByteArray &name, const QByteArray &value)
Adds a metadata entry or attribute to the list of modifications to make.
Definition setmetadatajob.cpp:138
KIMAP_DEPRECATED void setEntry(const QByteArray &entry)
Sets the metadata entry name to operate on (in Annotatemore mode)
Definition setmetadatajob.cpp:150
@ TooMany
Cannot add a new metadata item, because the limit has already been reached.
Definition setmetadatajob.h:182
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.