Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
gattdesc1_p.h
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p gattdesc1_p.h:gattdesc1.cpp org.bluez.GattDescriptor1.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 GATTDESC1_P_H
12#define GATTDESC1_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.GattDescriptor1
37 */
39{
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.bluez.GattDescriptor1"; }
44
45public:
47
49
52 { return qvariant_cast< QDBusObjectPath >(property("Characteristic")); }
53
55 inline QString uUID() const
56 { return qvariant_cast< QString >(property("UUID")); }
57
59 inline QByteArray value() const
60 { return qvariant_cast< QByteArray >(property("Value")); }
61
62public Q_SLOTS: // METHODS
64 {
65 QList<QVariant> argumentList;
66 argumentList << QVariant::fromValue(options);
67 return asyncCallWithArgumentList(QStringLiteral("ReadValue"), argumentList);
68 }
69
71 {
72 QList<QVariant> argumentList;
73 argumentList << QVariant::fromValue(value) << QVariant::fromValue(options);
74 return asyncCallWithArgumentList(QStringLiteral("WriteValue"), argumentList);
75 }
76
77Q_SIGNALS: // SIGNALS
78};
79
80namespace org {
81 namespace bluez {
83 }
84}
85#endif
QDBusPendingReply WriteValue(const QByteArray &value, const QVariantMap &options)
Definition gattdesc1_p.h:70
QDBusObjectPath characteristic() const
Definition gattdesc1_p.h:51
QDBusPendingReply< QByteArray > ReadValue(const QVariantMap &options)
Definition gattdesc1_p.h:63
static const char * staticInterfaceName()
Definition gattdesc1_p.h:42
\inmodule QtCore
Definition qbytearray.h:57
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QString service() const
Returns the name of the service this interface is associated with.
QDBusConnection connection() const
Returns the connection this interface is associated with.
\inmodule QtDBus
\inmodule QtDBus
\inmodule QtDBus
Definition qlist.h:74
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Definition qvariant.h:531
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLsizei const GLchar *const * path
#define QStringLiteral(str)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS
const char property[13]
Definition qwizard.cpp:101