KIMAP

setacljob.h
1 /*
2  SPDX-FileCopyrightText: 2009 Andras Mantia <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KIMAP_SETACLJOB_H
8 #define KIMAP_SETACLJOB_H
9 
10 #include "kimap_export.h"
11 
12 #include "acljobbase.h"
13 
14 namespace KIMAP
15 {
16 
17 class Session;
18 struct Response;
19 class SetAclJobPrivate;
20 
31 class KIMAP_EXPORT SetAclJob : public AclJobBase
32 {
33  Q_OBJECT
34  Q_DECLARE_PRIVATE(SetAclJob)
35 
36  friend class SessionPrivate;
37 
38 public:
39  explicit SetAclJob(Session *session);
40  ~SetAclJob() override;
41 
67  void setRights(AclModifier modifier, Acl::Rights rights);
68 
88  void setIdentifier(const QByteArray &identifier);
92  Q_REQUIRED_RESULT QByteArray identifier();
93 
94 protected:
95  void doStart() override;
96 
97 };
98 
99 }
100 
101 #endif
AclModifier
Used when subclassing to specify how the ACL will be modified.
Definition: acljobbase.h:45
Sets the rights that correspond to an identifier on a mailbox.
Definition: setacljob.h:31
Definition: acl.cpp:12
Base class for jobs that operate on mailbox ACLs.
Definition: acljobbase.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jul 9 2020 23:10:20 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.