kmail

KMail::QuotaJobs Namespace Reference

This namespace contains functions that return jobs for quota operations. More...


Classes

class  GetQuotarootJob
 for getQuotaroot() More...
class  GetStorageQuotaJob
 for getStorageQuota() More...

Functions

GetQuotarootJobgetQuotaroot (KIO::Slave *slave, const KURL &url)
GetStorageQuotaJobgetStorageQuota (KIO::Slave *slave, const KURL &url)

Detailed Description

This namespace contains functions that return jobs for quota operations.

The current implementation is tied to IMAP. If someone wants to extend this to other protocols, turn the namespace into a class and use virtual methods.


Function Documentation

QuotaJobs::GetQuotarootJob * KMail::QuotaJobs::getQuotaroot ( KIO::Slave *  slave,
const KURL &  url 
)

Get the quotaroots for a mailbox.

Parameters:
slave Slave object the job should be assigned to
url URL for which to get the quotaroot

Definition at line 37 of file quotajobs.cpp.

QuotaJobs::GetStorageQuotaJob * KMail::QuotaJobs::getStorageQuota ( KIO::Slave *  slave,
const KURL &  url 
)

Get the storage quota for a mailbox, if there is one.

Parameters:
slave Slave object the job should be assigned to
url URL for which to get the storage quota

Definition at line 92 of file quotajobs.cpp.