KIMAP

idjob.h
1/*
2 SPDX-FileCopyrightText: 2015 Christian Mollekopf <mollekopf@kolabsys.com>
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
13namespace KIMAP
14{
15class Session;
16struct Message;
17class IdJobPrivate;
18
19/**
20 * Reports client id.
21 *
22 * This job can be run in any open session.
23 */
24class KIMAP_EXPORT IdJob : public Job
25{
26 Q_OBJECT
27 Q_DECLARE_PRIVATE(IdJob)
28
29 friend class SessionPrivate;
30
31public:
32 IdJob(Session *session);
33 ~IdJob() override;
34
35 void setField(const QByteArray &name, const QByteArray &field);
36
37protected:
38 void doStart() override;
39 void handleResponse(const Response &response) override;
40};
41
42}
Reports client id.
Definition idjob.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 12:00:39 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.