KMail::QuotaJobs Namespace Reference

Classes

class  GetQuotarootJob
 
class  GetStorageQuotaJob
 

Functions

GetQuotarootJobgetQuotaroot (TDEIO::Slave *slave, const KURL &url)
 
GetStorageQuotaJobgetStorageQuota (TDEIO::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

◆ getQuotaroot()

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

Get the quotaroots for a mailbox.

Parameters
slaveSlave object the job should be assigned to
urlURL for which to get the quotaroot

Definition at line 37 of file quotajobs.cpp.

◆ getStorageQuota()

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

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

Parameters
slaveSlave object the job should be assigned to
urlURL for which to get the storage quota

Definition at line 92 of file quotajobs.cpp.