1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p battery1_p.h:battery1.cpp org.bluez.Battery1.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 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
35/*
36 * Proxy class for interface org.bluez.Battery1
37 */
38class OrgBluezBattery1Interface: public QDBusAbstractInterface
39{
40 Q_OBJECT
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.bluez.Battery1"; }
44
45public:
46 OrgBluezBattery1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
47
48 ~OrgBluezBattery1Interface();
49
50 Q_PROPERTY(uchar Percentage READ percentage)
51 inline uchar percentage() const
52 { return qvariant_cast< uchar >(v: property(name: "Percentage")); }
53
54public Q_SLOTS: // METHODS
55Q_SIGNALS: // SIGNALS
56};
57
58namespace org {
59 namespace bluez {
60 using Battery1 = ::OrgBluezBattery1Interface;
61 }
62}
63#endif
64

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