File indexing completed on 2024-12-15 03:45:00

0001 /*
0002     SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: MIT
0005 */
0006 
0007 #ifndef KUSERFEEDBACK_CONSOLE_HANDSHAKEJOB_H
0008 #define KUSERFEEDBACK_CONSOLE_HANDSHAKEJOB_H
0009 
0010 #include "job.h"
0011 
0012 class QNetworkReply;
0013 
0014 namespace KUserFeedback {
0015 namespace Console {
0016 
0017 class RESTClient;
0018 
0019 class HandshakeJob : public Job
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit HandshakeJob(RESTClient *restClient, QObject *parent = nullptr);
0024     ~HandshakeJob() override;
0025 
0026 private:
0027     void processResponse(QNetworkReply *reply);
0028     RESTClient *m_restClient;
0029 };
0030 
0031 }
0032 }
0033 
0034 #endif // KUSERFEEDBACK_CONSOLE_HANDSHAKEJOB_H