1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -p adapter1_bluez5_p.h:adapter1_bluez5.cpp org.bluez.Adapter1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) 2017 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#include <QtCore/QObject>
15#include <QtCore/QByteArray>
16#include <QtCore/QList>
17#include <QtCore/QMap>
18#include <QtCore/QString>
19#include <QtCore/QStringList>
20#include <QtCore/QVariant>
21#include <QtDBus/QtDBus>
22
23/*
24 * Proxy class for interface org.bluez.Adapter1
25 */
26class OrgBluezAdapter1Interface: public QDBusAbstractInterface
27{
28 Q_OBJECT
29public:
30 static inline const char *staticInterfaceName()
31 { return "org.bluez.Adapter1"; }
32
33public:
34 OrgBluezAdapter1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
35
36 ~OrgBluezAdapter1Interface();
37
38 Q_PROPERTY(QString Address READ address)
39 inline QString address() const
40 { return qvariant_cast< QString >(property("Address")); }
41
42 Q_PROPERTY(QString Alias READ alias WRITE setAlias)
43 inline QString alias() const
44 { return qvariant_cast< QString >(property("Alias")); }
45 inline void setAlias(const QString &value)
46 { setProperty("Alias", QVariant::fromValue(value)); }
47
48 Q_PROPERTY(uint Class READ classProperty)
49 inline uint classProperty() const
50 { return qvariant_cast< uint >(property("Class")); }
51
52 Q_PROPERTY(bool Discoverable READ discoverable WRITE setDiscoverable)
53 inline bool discoverable() const
54 { return qvariant_cast< bool >(property("Discoverable")); }
55 inline void setDiscoverable(bool value)
56 { setProperty("Discoverable", QVariant::fromValue(value)); }
57
58 Q_PROPERTY(uint DiscoverableTimeout READ discoverableTimeout WRITE setDiscoverableTimeout)
59 inline uint discoverableTimeout() const
60 { return qvariant_cast< uint >(property("DiscoverableTimeout")); }
61 inline void setDiscoverableTimeout(uint value)
62 { setProperty("DiscoverableTimeout", QVariant::fromValue(value)); }
63
64 Q_PROPERTY(bool Discovering READ discovering)
65 inline bool discovering() const
66 { return qvariant_cast< bool >(property("Discovering")); }
67
68 Q_PROPERTY(QString Modalias READ modalias)
69 inline QString modalias() const
70 { return qvariant_cast< QString >(property("Modalias")); }
71
72 Q_PROPERTY(QString Name READ name)
73 inline QString name() const
74 { return qvariant_cast< QString >(property("Name")); }
75
76 Q_PROPERTY(bool Pairable READ pairable WRITE setPairable)
77 inline bool pairable() const
78 { return qvariant_cast< bool >(property("Pairable")); }
79 inline void setPairable(bool value)
80 { setProperty("Pairable", QVariant::fromValue(value)); }
81
82 Q_PROPERTY(uint PairableTimeout READ pairableTimeout WRITE setPairableTimeout)
83 inline uint pairableTimeout() const
84 { return qvariant_cast< uint >(property("PairableTimeout")); }
85 inline void setPairableTimeout(uint value)
86 { setProperty("PairableTimeout", QVariant::fromValue(value)); }
87
88 Q_PROPERTY(bool Powered READ powered WRITE setPowered)
89 inline bool powered() const
90 { return qvariant_cast< bool >(property("Powered")); }
91 inline void setPowered(bool value)
92 { setProperty("Powered", QVariant::fromValue(value)); }
93
94 Q_PROPERTY(QStringList UUIDs READ uUIDs)
95 inline QStringList uUIDs() const
96 { return qvariant_cast< QStringList >(property("UUIDs")); }
97
98public Q_SLOTS: // METHODS
99 inline QDBusPendingReply<> RemoveDevice(const QDBusObjectPath &device)
100 {
101 QList<QVariant> argumentList;
102 argumentList << QVariant::fromValue(device);
103 return asyncCallWithArgumentList(QStringLiteral("RemoveDevice"), argumentList);
104 }
105
106 inline QDBusPendingReply<> SetDiscoveryFilter(const QVariantMap &properties)
107 {
108 QList<QVariant> argumentList;
109 argumentList << QVariant::fromValue(properties);
110 return asyncCallWithArgumentList(QStringLiteral("SetDiscoveryFilter"), argumentList);
111 }
112
113 inline QDBusPendingReply<> StartDiscovery()
114 {
115 QList<QVariant> argumentList;
116 return asyncCallWithArgumentList(QStringLiteral("StartDiscovery"), argumentList);
117 }
118
119 inline QDBusPendingReply<> StopDiscovery()
120 {
121 QList<QVariant> argumentList;
122 return asyncCallWithArgumentList(QStringLiteral("StopDiscovery"), argumentList);
123 }
124
125Q_SIGNALS: // SIGNALS
126};
127
128namespace org {
129 namespace bluez {
130 typedef ::OrgBluezAdapter1Interface Adapter1;
131 }
132}
133#endif
134