KIMAP Library
getquotarootjob.cpp
35 GetQuotaRootJobPrivate( Session *session, const QString& name ) : QuotaJobBasePrivate( session, name ) { }
58 d->tags << d->sessionInternal()->sendCommand( "GETQUOTAROOT", '\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) + '\"' );
89 const QMap<QByteArray, QPair<qint64, qint64> >& quota = d->readQuota(response.content[quotaContentIndex]);
This file is part of the IMAP support library and defines the RfcCodecs class.
QList< QByteArray > roots() const
The quota roots for the mailbox.
Definition: getquotarootjob.cpp:112
Base class for jobs that operate on mailbox quotas.
Definition: quotajobbase.h:42
QMap< Key, T > & unite(const QMap< Key, T > &other)
QByteArray toUpper() const
Item next()
QString mailBox() const
The mailbox that the quota roots will be fetched for.
Definition: getquotarootjob.cpp:106
QMap< QByteArray, qint64 > allLimits(const QByteArray &root) const
Get a map containing all resource limits for a quota root.
Definition: getquotarootjob.cpp:158
const Key & key() const
const T & value() const
qint64 limit(const QByteArray &root, const QByteArray &resource) const
Get the current limit for a resource.
Definition: getquotarootjob.cpp:129
Gets the quota root and resource limits for a mailbox.
Definition: getquotarootjob.h:50
qint64 usage(const QByteArray &root, const QByteArray &resource) const
Get the current usage for a resource.
Definition: getquotarootjob.cpp:118
void setMailBox(const QString &mailBox)
Set the mailbox to get the quota roots for.
Definition: getquotarootjob.cpp:100
QMap< QByteArray, qint64 > allUsages(const QByteArray &root) const
Get a map containing all resource usage figures for a quota root.
Definition: getquotarootjob.cpp:141
bool hasNext() const
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.