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"))) {
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
@ TooMany
Cannot add a new metadata item, because the limit has already been reached.
Definition setmetadatajob.h:183
MetaDataErrors metaDataErrors() const
The metadata errors received from the server.
Definition setmetadatajob.cpp:179
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
KIMAP2_DEPRECATED void setEntry(const QByteArray &entry)
Sets the metadata entry name to operate on (in Annotatemore mode)
Definition setmetadatajob.cpp:173
void setErrorText(const QString &errorText)
void emitResult()
void setError(int errorCode)
QString name(GameStandardAction id)
const_iterator constBegin() const const
qsizetype length() const const
QByteArray number(double n, char format, int precision)
QByteArray & replace(QByteArrayView before, QByteArrayView after)
qsizetype size() const const
qlonglong toLongLong(bool *ok, int base) const const
ConstIterator
QString arg(Args &&... args) const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
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.