Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
device1_bluez5_p.h
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.Device1.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 DEVICE1_BLUEZ5_P_H
12#define DEVICE1_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>
34#include <QtCore/private/qglobal_p.h>
35
36namespace QtBluetoothPrivate {
37
38/*
39 * Proxy class for interface org.bluez.Device1
40 */
42{
44public:
45 static inline const char *staticInterfaceName()
46 { return "org.bluez.Device1"; }
47
48public:
50
52
53 Q_PROPERTY(QDBusObjectPath Adapter READ adapter)
54 inline QDBusObjectPath adapter() const
55 { return qvariant_cast< QDBusObjectPath >(property("Adapter")); }
56
58 inline QString address() const
59 { return qvariant_cast< QString >(property("Address")); }
60
62 inline QString alias() const
63 { return qvariant_cast< QString >(property("Alias")); }
64 inline void setAlias(const QString &value)
65 { setProperty("Alias", QVariant::fromValue(value)); }
66
68 inline ushort appearance() const
69 { return qvariant_cast< ushort >(property("Appearance")); }
70
72 inline bool blocked() const
73 { return qvariant_cast< bool >(property("Blocked")); }
74 inline void setBlocked(bool value)
75 { setProperty("Blocked", QVariant::fromValue(value)); }
76
78 inline uint classProperty() const
79 { return qvariant_cast< uint >(property("Class")); }
80
82 inline bool connected() const
83 { return qvariant_cast< bool >(property("Connected")); }
84
86 inline QString icon() const
87 { return qvariant_cast< QString >(property("Icon")); }
88
90 inline bool legacyPairing() const
91 { return qvariant_cast< bool >(property("LegacyPairing")); }
92
95 { return qvariant_cast< ManufacturerDataList >(property("ManufacturerData")); }
96
98 inline QString modalias() const
99 { return qvariant_cast< QString >(property("Modalias")); }
100
102 inline QString name() const
103 { return qvariant_cast< QString >(property("Name")); }
104
106 inline bool paired() const
107 { return qvariant_cast< bool >(property("Paired")); }
108
110 inline short rSSI() const
111 { return qvariant_cast< short >(property("RSSI")); }
112
115 { return qvariant_cast< ServiceDataList >(property("ServiceData")); }
116
118 inline bool servicesResolved() const
119 { return qvariant_cast< bool >(property("ServicesResolved")); }
120
122 inline bool trusted() const
123 { return qvariant_cast< bool >(property("Trusted")); }
124 inline void setTrusted(bool value)
125 { setProperty("Trusted", QVariant::fromValue(value)); }
126
128 inline short txPower() const
129 { return qvariant_cast< short >(property("TxPower")); }
130
132 inline QStringList uUIDs() const
133 { return qvariant_cast< QStringList >(property("UUIDs")); }
134
135public Q_SLOTS: // METHODS
141
147
154
160
167
173
174Q_SIGNALS: // SIGNALS
175};
176
177} // end of namespace QtBluetoothPrivate
178
179namespace org {
180 namespace bluez {
182 }
183}
184
185#endif
void remoteDeviceChanged(const QBluetoothAddress &address, const QString &name, quint16 mtu)
::QtBluetoothPrivate::OrgBluezDevice1Interface Device1