1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.GattDescriptor1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef GATTDESC1_P_H
12#define GATTDESC1_P_H
13
14//
15// W A R N I N G
16// -------------
17//
18// This file is not part of the Qt API. It exists purely as an
19// implementation detail. This header file may change from version to
20// version without notice, or even be removed.
21//
22// We mean it.
23//
24
25#include <QtCore/QObject>
26#include <QtCore/QByteArray>
27#include <QtCore/QList>
28#include <QtCore/QMap>
29#include <QtCore/QString>
30#include <QtCore/QStringList>
31#include <QtCore/QVariant>
32#include <QtDBus/QtDBus>
33#include <QtCore/private/qglobal_p.h>
34
35namespace QtBluetoothPrivate {
36
37/*
38 * Proxy class for interface org.bluez.GattDescriptor1
39 */
40class OrgBluezGattDescriptor1Interface: public QDBusAbstractInterface
41{
42 Q_OBJECT
43public:
44 static inline const char *staticInterfaceName()
45 { return "org.bluez.GattDescriptor1"; }
46
47public:
48 OrgBluezGattDescriptor1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
49
50 ~OrgBluezGattDescriptor1Interface();
51
52 Q_PROPERTY(QDBusObjectPath Characteristic READ characteristic)
53 inline QDBusObjectPath characteristic() const
54 { return qvariant_cast< QDBusObjectPath >(v: property(name: "Characteristic")); }
55
56 Q_PROPERTY(QString UUID READ uUID)
57 inline QString uUID() const
58 { return qvariant_cast< QString >(v: property(name: "UUID")); }
59
60 Q_PROPERTY(QByteArray Value READ value)
61 inline QByteArray value() const
62 { return qvariant_cast< QByteArray >(v: property(name: "Value")); }
63
64public Q_SLOTS: // METHODS
65 inline QDBusPendingReply<QByteArray> ReadValue(const QVariantMap &options)
66 {
67 QList<QVariant> argumentList;
68 argumentList << QVariant::fromValue(value: options);
69 return asyncCallWithArgumentList(QStringLiteral("ReadValue"), args: argumentList);
70 }
71
72 inline QDBusPendingReply<> WriteValue(const QByteArray &value, const QVariantMap &options)
73 {
74 QList<QVariant> argumentList;
75 argumentList << QVariant::fromValue(value) << QVariant::fromValue(value: options);
76 return asyncCallWithArgumentList(QStringLiteral("WriteValue"), args: argumentList);
77 }
78
79Q_SIGNALS: // SIGNALS
80};
81
82} // end of namespace QtBluetoothPrivate
83
84namespace org {
85 namespace bluez {
86 using GattDescriptor1 = ::QtBluetoothPrivate::OrgBluezGattDescriptor1Interface;
87 }
88}
89
90#endif
91

source code of qtconnectivity/src/bluetooth/bluez/gattdesc1_p.h