KD SOAP
Main Page
Namespaces
Classes
Files
File List
src
KDSoapClient
KDSoapJob.h
1
/****************************************************************************
2
** Copyright (C) 2010-2016 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
3
** All rights reserved.
4
**
5
** This file is part of the KD Soap library.
6
**
7
** Licensees holding valid commercial KD Soap licenses may use this file in
8
** accordance with the KD Soap Commercial License Agreement provided with
9
** the Software.
10
**
11
**
12
** This file may be distributed and/or modified under the terms of the
13
** GNU Lesser General Public License version 2.1 and version 3 as published by the
14
** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
15
**
16
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18
**
19
** Contact info@kdab.com if any conditions of this licensing are not
20
** clear to you.
21
**
22
**********************************************************************/
23
#ifndef KDSOAPJOB_H
24
#define KDSOAPJOB_H
25
26
#include "KDSoapGlobal.h"
27
28
#include <QtCore/QObject>
29
30
class
KDSoapMessage
;
31
class
KDSoapHeaders
;
32
65
class
KDSOAP_EXPORT
KDSoapJob
:
public
QObject
66
{
67
Q_OBJECT
68
public
:
74
explicit
KDSoapJob
(QObject *parent = 0);
75
79
~
KDSoapJob
();
80
84
bool
isFault()
const
;
85
89
QString faultAsString()
const
;
90
95
KDSoapMessage
reply()
const
;
96
101
KDSoapHeaders
returnHeaders()
const
;
102
106
void
start();
107
108
Q_SIGNALS:
116
void
finished(
KDSoapJob
*job);
117
118
protected
:
123
Q_INVOKABLE
virtual
void
doStart() = 0;
124
129
void
emitFinished(
const
KDSoapMessage
&reply,
const
KDSoapHeaders
&replyHeaders);
130
131
private
:
132
class
Private;
133
Private *
const
d;
134
};
135
136
#endif // KDSOAPJOB_H
KDSoapHeaders
Definition:
KDSoapMessage.h:187
KDSoapMessage
Definition:
KDSoapMessage.h:41
KDSoapJob
KDSoapJob provides a job-based interface to handle asynchronous KD Soap calls.
Definition:
KDSoapJob.h:65
Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-soap/