KIMAP

acljobbase.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_ACLJOBBASE_H
8 #define KIMAP_ACLJOBBASE_H
9 
10 #include "kimap_export.h"
11 
12 #include "acl.h"
13 #include "job.h"
14 
15 namespace KIMAP
16 {
17 
18 class Session;
19 struct Response;
20 class AclJobBasePrivate;
21 
31 class KIMAP_EXPORT AclJobBase : public Job
32 {
33  Q_OBJECT
34  Q_DECLARE_PRIVATE(AclJobBase)
35 
36  friend class SessionPrivate;
37 
38 public:
39  AclJobBase(Session *session);
40  ~AclJobBase() override;
41 
45  enum AclModifier {
46  Add = 0,
47  Remove,
48  Change
49  };
50 
56  void setMailBox(const QString &mailBox);
60  QString mailBox() const;
61 
62 protected:
63  explicit AclJobBase(JobPrivate &dd);
64 
65 };
66 
67 }
68 
69 #endif
AclModifier
Used when subclassing to specify how the ACL will be modified.
Definition: acljobbase.h:45
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 Mon Jul 13 2020 23:11:12 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.