KIMAP

idjob.h
1 /*
2  SPDX-FileCopyrightText: 2015 Christian Mollekopf <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "kimap_export.h"
10 
11 #include "job.h"
12 
13 namespace KIMAP
14 {
15 class Session;
16 struct Message;
17 class IdJobPrivate;
18 
19 /**
20  * Reports client id.
21  *
22  * This job can be run in any open session.
23  */
24 class KIMAP_EXPORT IdJob : public Job
25 {
26  Q_OBJECT
27  Q_DECLARE_PRIVATE(IdJob)
28 
29  friend class SessionPrivate;
30 
31 public:
32  IdJob(Session *session);
33  ~IdJob() override;
34 
35  void setField(const QByteArray &name, const QByteArray &field);
36 
37 protected:
38  void doStart() override;
39  void handleResponse(const Response &response) override;
40 };
41 
42 }
Reports client id.
Definition: idjob.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 10 2023 03:48:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.