BluezQt

leadvertisementadaptor.h
1/*
2 * BluezQt - Asynchronous Bluez wrapper library
3 *
4 * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_LEADVERTISEMENTADAPTOR_H
10#define BLUEZQT_LEADVERTISEMENTADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13
14namespace BluezQt
15{
16class LEAdvertisement;
17
18class LEAdvertisementAdaptor : public QDBusAbstractAdaptor
19{
21 Q_CLASSINFO("D-Bus Interface", "org.bluez.LEAdvertisement1")
22 Q_PROPERTY(QString Type READ type)
23 Q_PROPERTY(QStringList ServiceUUIDs READ serviceUuids)
24 Q_PROPERTY(QHash<QString, QVariant> ServiceData READ serviceData)
25
26public:
27 explicit LEAdvertisementAdaptor(LEAdvertisement *parent);
28
29 QString type() const;
30
31 QStringList serviceUuids() const;
32 QHash<QString, QVariant> serviceData() const;
33
34public Q_SLOTS:
35 Q_NOREPLY void Release();
36
37private:
38 LEAdvertisement *m_advertisement;
39};
40
41} // namespace BluezQt
42
43#endif // BLUEZQT_LEADVERTISEMENTADAPTOR_H
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.