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]);
QMap< QByteArray, qint64 > allUsages(const QByteArray &root) const
Get a map containing all resource usage figures for a quota root.
Definition: getquotarootjob.cpp:141
This file is part of the IMAP support library and defines the RfcCodecs class.
Base class for jobs that operate on mailbox quotas.
Definition: quotajobbase.h:42
QString mailBox() const
The mailbox that the quota roots will be fetched for.
Definition: getquotarootjob.cpp:106
qint64 limit(const QByteArray &root, const QByteArray &resource) const
Get the current limit for a resource.
Definition: getquotarootjob.cpp:129
QMap< QByteArray, qint64 > allLimits(const QByteArray &root) const
Get a map containing all resource limits for a quota root.
Definition: getquotarootjob.cpp:158
qint64 usage(const QByteArray &root, const QByteArray &resource) const
Get the current usage for a resource.
Definition: getquotarootjob.cpp:118
Gets the quota root and resource limits for a mailbox.
Definition: getquotarootjob.h:50
void setMailBox(const QString &mailBox)
Set the mailbox to get the quota roots for.
Definition: getquotarootjob.cpp:100
Definition: acl.cpp:26
QList< QByteArray > roots() const
The quota roots for the mailbox.
Definition: getquotarootjob.cpp:112
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:50:34 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:50:34 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.