KDE PIM / Developers / API Docs / kmail

KMail::ACLJobs Namespace Reference

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

Classes

Enumerations

Functions


Detailed Description

This namespace contains functions that return jobs for ACL operations.

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


Enumeration Type Documentation

enum ACLPermissions
 

Bitfield modelling the possible permissions.

This is modelled after the imap4 permissions except that Read is "rs" and "p" (post) isn't there. The semantics of the bits is protocol-dependent.


Function Documentation

KIO::SimpleJob* setACL (  KIO::Slave *  slave,
const KURL &  url,
const QString &  user,
unsigned int  permissions
) 
 

Set the permissions for a given user on a given url.

DeleteACLJob* deleteACL (  KIO::Slave *  slave,
const KURL &  url,
const QString &  user
) 
 

Delete the permissions for a given user on a given url.

GetACLJob* getACL (  KIO::Slave *  slave,
const KURL &  url
) 
 

List all ACLs for a given url.

GetUserRightsJob* getUserRights (  KIO::Slave *  slave,
const KURL &  url
) 
 

Get the users' rights for a given url.

MultiSetACLJob* multiSetACL (  KIO::Slave *  slave,
const KURL &  url,
const ACLList &  acl
) 
 

Set and delete a list of permissions for different users on a given url.