KIMAP Library
20#include "acljobbase.h"
21#include "acljobbase_p.h"
25#include <KDE/KLocalizedString>
30void AclJobBasePrivate::setIdentifier(
const QByteArray &identifier )
35QByteArray AclJobBasePrivate::identifier()
const
40bool AclJobBasePrivate::hasRightEnabled(
Acl::Right right)
42 return rightList & right;
45void AclJobBasePrivate::setRights(
const QByteArray& rights)
47 switch ( rights[0] ) {
49 modifier = AclJobBase::Add;
52 modifier = AclJobBase::Remove;
55 modifier = AclJobBase::Change;
69AclJobBase::AclJobBase( Session *session )
70 : Job( *new AclJobBasePrivate( session, i18n(
"AclJobBase" ) ) )
74AclJobBase::AclJobBase( JobPrivate &dd )
80AclJobBase::~AclJobBase()
Base class for jobs that operate on mailbox ACLs.
AclModifier
Used when subclassing to specify how the ACL will be modified.
void setMailBox(const QString &mailBox)
Set the mailbox to act on.
QString mailBox() const
The mailbox that will be acted upon.
Rights rightsFromString(const QByteArray &string)
Convert the text form of a set of rights into a Rights bitflag.
Right
Possible rights that can be held on a mailbox.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.