KIMAP

metadatajobbase.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_METADATAJOBBASE_H
8 #define KIMAP_METADATAJOBBASE_H
9 
10 #include "kimap_export.h"
11 
12 #include "job.h"
13 
14 namespace KIMAP
15 {
16 
17 class Session;
18 struct Response;
19 class MetaDataJobBasePrivate;
20 
35 class KIMAP_EXPORT MetaDataJobBase : public Job
36 {
37  Q_OBJECT
38  Q_DECLARE_PRIVATE(MetaDataJobBase)
39 
40  friend class SessionPrivate;
41 
42 public:
43  explicit MetaDataJobBase(Session *session);
44  ~MetaDataJobBase() override;
45 
56  Metadata = 0,
63  Annotatemore
64  };
65 
74  void setMailBox(const QString &mailBox);
82  Q_REQUIRED_RESULT QString mailBox() const;
83 
101  void setServerCapability(ServerCapability capability);
105  Q_REQUIRED_RESULT ServerCapability serverCapability() const;
106 
107 protected:
108  MetaDataJobBase(JobPrivate &dd);
109 
110 };
111 
112 }
113 
114 #endif
ServerCapability
Represents the capability level of the server.
Base class for jobs that operate on mailbox metadata.
Definition: acl.cpp:12
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 2 2020 23:10:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.