KIMAP2
setmetadatajob.cpp
34 SetMetaDataJobPrivate(Session *session, const QString &name) : MetaDataJobBasePrivate(session, name), metaDataErrors(Q_NULLPTR), maxAcceptedSize(-1) { }
112 //TODO: Test if a server can really return more then one untagged NO response. If not, no need to OR the error codes
117 setErrorText(QString("%1 failed, server replied: %2").arg(d->m_name).arg(QLatin1String(response.toString().constData())));
138 setErrorText(QString("%1 failed, server replied: %2").arg(d->m_name).arg(QLatin1String(response.toString().constData())));
164 if (d->serverCapability == Annotatemore && (name.startsWith("/shared") || name.startsWith("/private"))) {
KIMAP2_EXPORT QString encodeImapFolderName(const QString &src)
Converts an Unicode IMAP mailbox to a QString which can be used in IMAP communication.
Definition: rfccodecs.cpp:192
void setErrorText(const QString &errorText)
@ TooMany
Cannot add a new metadata item, because the limit has already been reached.
Definition: setmetadatajob.h:183
Base class for jobs that operate on mailbox metadata.
Definition: metadatajobbase.h:48
QByteArray::const_iterator constBegin() const const
QByteArray number(int n, int base)
@ Annotatemore
Used to indicate that the server supports the draft-daboo-imap-annotatemore-07 version of the extensi...
Definition: metadatajobbase.h:76
qlonglong toLongLong(bool *ok, int base) const const
QString::const_iterator constBegin() const const
MetaDataErrors metaDataErrors() const
The metadata errors received from the server.
Definition: setmetadatajob.cpp:179
QByteArray & replace(int pos, int len, const char *after)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
@ Metadata
Used to indicate that the server supports the RFC 5464 version of the extension.
Definition: metadatajobbase.h:69
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
KIMAP2_DEPRECATED void setEntry(const QByteArray &entry)
Sets the metadata entry name to operate on (in Annotatemore mode)
Definition: setmetadatajob.cpp:173
QString name(StandardShortcut id)
int size() const const
void emitResult()
int length() const const
Provides handlers for various RFC/MIME encodings.
void setError(int errorCode)
Q_D(Todo)
void addMetaData(const QByteArray &name, const QByteArray &value)
Adds a metadata entry or attribute to the list of modifications to make.
Definition: setmetadatajob.cpp:161
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:11:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:11:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.