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" ) ) ) {
const_iterator constBegin() const
This file is part of the IMAP support library and defines the RfcCodecs class.
Used to indicate that the server supports the draft-daboo-imap-annotatemore-07 version of the extensi...
Definition: metadatajobbase.h:75
MetaDataErrors metaDataErrors() const
The metadata errors received from the server.
Definition: setmetadatajob.cpp:156
bool startsWith(const QByteArray &ba) const
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
int length() const
Cannot add a new metadata item, because the limit has already been reached.
Definition: setmetadatajob.h:182
A metadata value was too big (see maxAcceptedSize())
Definition: setmetadatajob.h:183
QByteArray number(int n, int base)
QByteArray & replace(int pos, int len, const char *after)
qlonglong toLongLong(bool *ok, int base) const
KIMAP_DEPRECATED void setEntry(const QByteArray &entry)
Sets the metadata entry name to operate on (in Annotatemore mode)
Definition: setmetadatajob.cpp:150
Base class for jobs that operate on mailbox metadata.
Definition: metadatajobbase.h:47
Used to indicate that the server supports the RFC 5464 version of the extension.
Definition: metadatajobbase.h:68
The server does not support private metadata entries.
Definition: setmetadatajob.h:184
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.