kdsoap-ws-discovery-client 0.4.0
Loading...
Searching...
No Matches
wsdiscoveryserviceaggregator.h
1/* SPDX-FileCopyrightText: 2020 Casper Meijn <casper@meijn.net>
2 * SPDX-License-Identifier: GPL-3.0-or-later
3 *
4 */
5
6#ifndef WSDISCOVERYSERVICEAGGREGATOR_H
7#define WSDISCOVERYSERVICEAGGREGATOR_H
8
9#include "wsdiscoveryclient_export.h"
10#include <QObject>
11
13class WSDiscoveryServiceAggregatorPrivate;
14
22class WSDISCOVERYCLIENT_EXPORT WSDiscoveryServiceAggregator : public QObject
23{
24 Q_OBJECT
25
26public:
31 WSDiscoveryServiceAggregator(QObject *parent = nullptr);
32
37
38Q_SIGNALS:
45 void serviceUpdated(const QSharedPointer<WSDiscoveryTargetService> &updatedService);
46
47public Q_SLOTS:
52 void updateService(const WSDiscoveryTargetService &receivedService);
53
54private:
55 WSDiscoveryServiceAggregatorPrivate *const d_ptr;
56 Q_DECLARE_PRIVATE(WSDiscoveryServiceAggregator)
57};
58
59#endif // WSDISCOVERYSERVICEAGGREGATOR_H
Aggregates multiple updates from the same WSDiscoveryTargetService.
Definition wsdiscoveryserviceaggregator.h:23
WSDiscoveryServiceAggregator(QObject *parent=nullptr)
void updateService(const WSDiscoveryTargetService &receivedService)
void serviceUpdated(const QSharedPointer< WSDiscoveryTargetService > &updatedService)
Definition wsdiscoverytargetservice.h:16