1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.Battery1.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 BATTERY1_P_H
12#define BATTERY1_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.Battery1
39 */
40class OrgBluezBattery1Interface: public QDBusAbstractInterface
41{
42 Q_OBJECT
43public:
44 static inline const char *staticInterfaceName()
45 { return "org.bluez.Battery1"; }
46
47public:
48 OrgBluezBattery1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
49
50 ~OrgBluezBattery1Interface();
51
52 Q_PROPERTY(uchar Percentage READ percentage)
53 inline uchar percentage() const
54 { return qvariant_cast< uchar >(v: property(name: "Percentage")); }
55
56public Q_SLOTS: // METHODS
57Q_SIGNALS: // SIGNALS
58};
59
60} // end of namespace QtBluetoothPrivate
61
62namespace org {
63 namespace bluez {
64 using Battery1 = ::QtBluetoothPrivate::OrgBluezBattery1Interface;
65 }
66}
67
68#endif
69

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