KD SOAP
Main Page
Classes
Files
File List
All
Classes
Functions
Enumerations
Enumerator
Pages
src
KDSoapClient
KDSoapJob.h
1
/****************************************************************************
2
** Copyright (C) 2010-2013 Klaralvdalens Datakonsult AB. All rights reserved.
3
**
4
** This file is part of the KD Soap library.
5
**
6
** Licensees holding valid commercial KD Soap licenses may use this file in
7
** accordance with the KD Soap Commercial License Agreement provided with
8
** the Software.
9
**
10
**
11
** This file may be distributed and/or modified under the terms of the
12
** GNU Lesser General Public License version 2 and version 3 as published by the
13
** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
14
**
15
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17
**
18
** Contact info@kdab.com if any conditions of this licensing are not
19
** clear to you.
20
**
21
**********************************************************************/
22
#ifndef KDSOAPJOB_H
23
#define KDSOAPJOB_H
24
25
#include "KDSoapGlobal.h"
26
27
#include <QtCore/QObject>
28
29
class
KDSoapMessage
;
30
class
KDSoapHeaders
;
31
64
class
KDSOAP_EXPORT
KDSoapJob
:
public
QObject {
65
Q_OBJECT
66
public
:
72
explicit
KDSoapJob
(QObject * parent=0);
73
77
~
KDSoapJob
();
78
82
bool
isFault()
const
;
83
87
QString faultAsString()
const
;
88
93
KDSoapMessage
reply()
const
;
94
99
KDSoapHeaders
returnHeaders()
const
;
100
104
void
start();
105
106
Q_SIGNALS:
114
void
finished(
KDSoapJob
* job);
115
116
protected
:
121
Q_INVOKABLE
virtual
void
doStart() = 0;
122
127
void
emitFinished(
const
KDSoapMessage
& reply,
const
KDSoapHeaders
& replyHeaders);
128
129
private
:
130
class
Private;
131
Private *
const
d;
132
};
133
134
#endif // KDSOAPJOB_H
Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-soap/