KD SOAP API Documentation
2.2
Loading...
Searching...
No Matches
source
src
KDSoapClient
KDSoapJob.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** This file is part of the KD Soap project.
4
**
5
** SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6
**
7
** SPDX-License-Identifier: MIT
8
**
9
****************************************************************************/
10
#ifndef KDSOAPJOB_H
11
#define KDSOAPJOB_H
12
13
#include "
KDSoapGlobal.h
"
14
15
#include <QtCore/QObject>
16
17
class
KDSoapMessage
;
18
class
KDSoapHeaders
;
19
52
class
KDSOAP_EXPORT
KDSoapJob
:
public
QObject
53
{
54
Q_OBJECT
55
public
:
61
explicit
KDSoapJob
(
QObject
*parent =
nullptr
);
62
66
~KDSoapJob
();
67
72
KDSoapHeaders
requestHeaders()
const
;
73
80
void
setRequestHeaders(
const
KDSoapHeaders
&headers);
81
85
bool
isFault()
const
;
86
90
QString
faultAsString()
const
;
91
96
KDSoapMessage
reply()
const
;
97
104
KDSoapHeaders
replyHeaders()
const
;
105
109
void
start();
110
115
void
setAutoDelete(
bool
enable);
116
117
Q_SIGNALS
:
126
void
finished
(
KDSoapJob
*job);
127
128
protected
:
133
Q_INVOKABLE
virtual
void
doStart
() = 0;
134
139
void
emitFinished(
const
KDSoapMessage
&reply,
const
KDSoapHeaders
&replyHeaders);
140
141
private
:
142
class
Private;
143
Private *
const
d;
144
};
145
146
#endif
// KDSOAPJOB_H
KDSoapGlobal.h
KDSOAP_EXPORT
#define KDSOAP_EXPORT
Definition
KDSoapGlobal.h:22
KDSoapHeaders
Definition
KDSoapMessage.h:185
KDSoapJob
KDSoapJob provides a job-based interface to handle asynchronous KD Soap calls.
Definition
KDSoapJob.h:53
KDSoapJob::doStart
virtual Q_INVOKABLE void doStart()=0
KDSoapJob::finished
void finished(KDSoapJob *job)
KDSoapMessage
Definition
KDSoapMessage.h:29
QObject
QObject::Q_SIGNALS
Q_SIGNALSQ_SIGNALS
QString
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Sat Apr 20 2024 00:04:25 for KD SOAP API Documentation by doxygen 1.9.8