1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p adapter1_bluez5_p.h:adapter1_bluez5.cpp org.bluez.Adapter1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef ADAPTER1_BLUEZ5_P_H
12#define ADAPTER1_BLUEZ5_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
35/*
36 * Proxy class for interface org.bluez.Adapter1
37 */
38class OrgBluezAdapter1Interface: public QDBusAbstractInterface
39{
40 Q_OBJECT
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.bluez.Adapter1"; }
44
45public:
46 OrgBluezAdapter1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
47
48 ~OrgBluezAdapter1Interface();
49
50 Q_PROPERTY(QString Address READ address)
51 inline QString address() const
52 { return qvariant_cast< QString >(v: property(name: "Address")); }
53
54 Q_PROPERTY(QString Alias READ alias WRITE setAlias)
55 inline QString alias() const
56 { return qvariant_cast< QString >(v: property(name: "Alias")); }
57 inline void setAlias(const QString &value)
58 { setProperty(name: "Alias", value: QVariant::fromValue(value)); }
59
60 Q_PROPERTY(uint Class READ classProperty)
61 inline uint classProperty() const
62 { return qvariant_cast< uint >(v: property(name: "Class")); }
63
64 Q_PROPERTY(bool Discoverable READ discoverable WRITE setDiscoverable)
65 inline bool discoverable() const
66 { return qvariant_cast< bool >(v: property(name: "Discoverable")); }
67 inline void setDiscoverable(bool value)
68 { setProperty(name: "Discoverable", value: QVariant::fromValue(value)); }
69
70 Q_PROPERTY(uint DiscoverableTimeout READ discoverableTimeout WRITE setDiscoverableTimeout)
71 inline uint discoverableTimeout() const
72 { return qvariant_cast< uint >(v: property(name: "DiscoverableTimeout")); }
73 inline void setDiscoverableTimeout(uint value)
74 { setProperty(name: "DiscoverableTimeout", value: QVariant::fromValue(value)); }
75
76 Q_PROPERTY(bool Discovering READ discovering)
77 inline bool discovering() const
78 { return qvariant_cast< bool >(v: property(name: "Discovering")); }
79
80 Q_PROPERTY(QString Modalias READ modalias)
81 inline QString modalias() const
82 { return qvariant_cast< QString >(v: property(name: "Modalias")); }
83
84 Q_PROPERTY(QString Name READ name)
85 inline QString name() const
86 { return qvariant_cast< QString >(v: property(name: "Name")); }
87
88 Q_PROPERTY(bool Pairable READ pairable WRITE setPairable)
89 inline bool pairable() const
90 { return qvariant_cast< bool >(v: property(name: "Pairable")); }
91 inline void setPairable(bool value)
92 { setProperty(name: "Pairable", value: QVariant::fromValue(value)); }
93
94 Q_PROPERTY(uint PairableTimeout READ pairableTimeout WRITE setPairableTimeout)
95 inline uint pairableTimeout() const
96 { return qvariant_cast< uint >(v: property(name: "PairableTimeout")); }
97 inline void setPairableTimeout(uint value)
98 { setProperty(name: "PairableTimeout", value: QVariant::fromValue(value)); }
99
100 Q_PROPERTY(bool Powered READ powered WRITE setPowered)
101 inline bool powered() const
102 { return qvariant_cast< bool >(v: property(name: "Powered")); }
103 inline void setPowered(bool value)
104 { setProperty(name: "Powered", value: QVariant::fromValue(value)); }
105
106 Q_PROPERTY(QStringList UUIDs READ uUIDs)
107 inline QStringList uUIDs() const
108 { return qvariant_cast< QStringList >(v: property(name: "UUIDs")); }
109
110public Q_SLOTS: // METHODS
111 inline QDBusPendingReply<> RemoveDevice(const QDBusObjectPath &device)
112 {
113 QList<QVariant> argumentList;
114 argumentList << QVariant::fromValue(value: device);
115 return asyncCallWithArgumentList(QStringLiteral("RemoveDevice"), args: argumentList);
116 }
117
118 inline QDBusPendingReply<> SetDiscoveryFilter(const QVariantMap &properties)
119 {
120 QList<QVariant> argumentList;
121 argumentList << QVariant::fromValue(value: properties);
122 return asyncCallWithArgumentList(QStringLiteral("SetDiscoveryFilter"), args: argumentList);
123 }
124
125 inline QDBusPendingReply<> StartDiscovery()
126 {
127 QList<QVariant> argumentList;
128 return asyncCallWithArgumentList(QStringLiteral("StartDiscovery"), args: argumentList);
129 }
130
131 inline QDBusPendingReply<> StopDiscovery()
132 {
133 QList<QVariant> argumentList;
134 return asyncCallWithArgumentList(QStringLiteral("StopDiscovery"), args: argumentList);
135 }
136
137Q_SIGNALS: // SIGNALS
138};
139
140namespace org {
141 namespace bluez {
142 using Adapter1 = ::OrgBluezAdapter1Interface;
143 }
144}
145#endif
146

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