KIMAP

createjob.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_CREATEJOB_H
8 #define KIMAP_CREATEJOB_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 CreateJobPrivate;
20 
35 class KIMAP_EXPORT CreateJob : public Job
36 {
37  Q_OBJECT
38  Q_DECLARE_PRIVATE(CreateJob)
39 
40  friend class SessionPrivate;
41 
42 public:
43  explicit CreateJob(Session *session);
44  ~CreateJob() override;
45 
52  void setMailBox(const QString &mailBox);
56  Q_REQUIRED_RESULT QString mailBox() const;
57 
58 protected:
59  void doStart() override;
60  void handleResponse(const Response &response) override;
61 };
62 
63 }
64 
65 #endif
Definition: acl.cpp:12
Creates a new mailbox.
Definition: createjob.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Oct 24 2020 23:16:51 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.