8#include "acljobbase_p.h"
12#include <KLocalizedString>
16void AclJobBasePrivate::setIdentifier(
const QByteArray &identifier)
21QByteArray AclJobBasePrivate::identifier()
const
26bool AclJobBasePrivate::hasRightEnabled(
Acl::Right right)
const
28 return rightList &
right;
31void AclJobBasePrivate::setRights(
const QByteArray &rights)
35 modifier = AclJobBase::Add;
38 modifier = AclJobBase::Remove;
41 modifier = AclJobBase::Change;
55AclJobBase::AclJobBase(
Session *session)
56 : Job(*new AclJobBasePrivate(session,
i18n(
"AclJobBase")))
60AclJobBase::AclJobBase(JobPrivate &dd)
65AclJobBase::~AclJobBase()
81#include "moc_acljobbase.cpp"
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.
QString i18n(const char *text, const TYPE &arg...)
KIMAP_EXPORT 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.
QTextStream & right(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:06:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.