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