20#include "acljobbase.h"
21#include "acljobbase_p.h"
25using namespace KIMAP2;
27void AclJobBasePrivate::setIdentifier(
const QByteArray &identifier)
32QByteArray AclJobBasePrivate::identifier()
const
37bool AclJobBasePrivate::hasRightEnabled(
Acl::Right right)
39 return rightList &
right;
42void AclJobBasePrivate::setRights(
const QByteArray &rights)
46 modifier = AclJobBase::Add;
49 modifier = AclJobBase::Remove;
52 modifier = AclJobBase::Change;
65AclJobBase::AclJobBase(
Session *session)
66 : Job(*new AclJobBasePrivate(session,
"AclJobBase"))
70AclJobBase::AclJobBase(JobPrivate &dd)
76AclJobBase::~AclJobBase()
Base class for jobs that operate on mailbox ACLs.
void setMailBox(const QString &mailBox)
Set the mailbox to act on.
AclModifier
Used when subclassing to specify how the ACL will be modified.
QString mailBox() const
The mailbox that will be acted upon.
Right
Possible rights that can be held on a mailbox.
KIMAP2_EXPORT Rights rightsFromString(const QByteArray &string)
Convert the text form of a set of rights into a Rights bitflag.
QTextStream & right(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:53 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.