KD SOAP API Documentation: KDSoapPendingCallWatcher.cpp Source File

| KD SOAP API Documentation 2.2

Loading...
Searching...
No Matches
KDSoapPendingCallWatcher.cpp
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#include "KDSoapPendingCallWatcher.h"
11#include "KDSoapPendingCallWatcher_p.h"
12#include "KDSoapPendingCall_p.h"
13#include <QDebug>
14#include <QNetworkReply>
15
16 KDSoapPendingCallWatcher::KDSoapPendingCallWatcher(const KDSoapPendingCall &call, QObject *parent)
17 : QObject(parent)
18 , KDSoapPendingCall(call)
19 , d(nullptr) // currently unused
20{
21 connect(call.d->reply.data(), &QNetworkReply::finished, this, [&]() {
22 emit finished(this);
23 });
24}
25
26KDSoapPendingCallWatcher::~KDSoapPendingCallWatcher()
27{
28}
29
30#include "moc_KDSoapPendingCallWatcher.cpp"
KDSoapPendingCallWatcher.h
KDSoapPendingCallWatcher_p.h
KDSoapPendingCall_p.h
KDSoapPendingCallWatcher::~KDSoapPendingCallWatcher
~KDSoapPendingCallWatcher()
Definition KDSoapPendingCallWatcher.cpp:26
KDSoapPendingCall
Definition KDSoapPendingCall.h:39
KDSoapPendingCall::KDSoapPendingCallWatcher
friend class KDSoapPendingCallWatcher
Definition KDSoapPendingCall.h:98
QNetworkReply::finished
void finished()
QObject
QObject::connect
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)

© 2010-2024 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 Sun Jan 7 2024 11:47:36 for KD SOAP API Documentation by doxygen 1.9.8