KIMAP

renamejob.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_RENAMEJOB_H
8 #define KIMAP_RENAMEJOB_H
9 
10 #include "kimap_export.h"
11 
12 #include "job.h"
13 
14 namespace KIMAP
15 {
16 
17 class Session;
18 class RenameJobPrivate;
19 
20 class KIMAP_EXPORT RenameJob : public Job
21 {
22  Q_OBJECT
23  Q_DECLARE_PRIVATE(RenameJob)
24 
25  friend class SessionPrivate;
26 
27 public:
28  explicit RenameJob(Session *session);
29  ~RenameJob() override;
30 
35  void setSourceMailBox(const QString &mailBox);
36  Q_REQUIRED_RESULT QString sourceMailBox() const;
37 
42  void setDestinationMailBox(const QString &mailBox);
43  Q_REQUIRED_RESULT QString destinationMailBox() const;
44 
45 protected:
46  void doStart() override;
47 };
48 
49 }
50 
51 #endif
Definition: acl.cpp:12
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.