Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
gattchar1_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 gattchar1_p.h:gattchar1.cpp org.bluez.GattCharacteristic1.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 GATTCHAR1_P_H
12#define GATTCHAR1_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.GattCharacteristic1
37 */
39{
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.bluez.GattCharacteristic1"; }
44
45public:
47
49
51 inline QStringList flags() const
52 { return qvariant_cast< QStringList >(property("Flags")); }
53
55 inline bool notifying() const
56 { return qvariant_cast< bool >(property("Notifying")); }
57
59 inline QDBusObjectPath service() const
60 { return qvariant_cast< QDBusObjectPath >(property("Service")); }
61
63 inline QString uUID() const
64 { return qvariant_cast< QString >(property("UUID")); }
65
67 inline QByteArray value() const
68 { return qvariant_cast< QByteArray >(property("Value")); }
69
70public Q_SLOTS: // METHODS
71 inline QDBusPendingReply<QByteArray> ReadValue(const QVariantMap &options)
72 {
73 QList<QVariant> argumentList;
74 argumentList << QVariant::fromValue(options);
75 return asyncCallWithArgumentList(QStringLiteral("ReadValue"), argumentList);
76 }
77
79 {
80 QList<QVariant> argumentList;
81 return asyncCallWithArgumentList(QStringLiteral("StartNotify"), argumentList);
82 }
83
85 {
86 QList<QVariant> argumentList;
87 return asyncCallWithArgumentList(QStringLiteral("StopNotify"), argumentList);
88 }
89
91 {
92 QList<QVariant> argumentList;
93 argumentList << QVariant::fromValue(value) << QVariant::fromValue(options);
94 return asyncCallWithArgumentList(QStringLiteral("WriteValue"), argumentList);
95 }
96
97Q_SIGNALS: // SIGNALS
98};
99
100namespace org {
101 namespace bluez {
103 }
104}
105#endif
QDBusObjectPath service() const
Definition gattchar1_p.h:59
QDBusPendingReply< QByteArray > ReadValue(const QVariantMap &options)
Definition gattchar1_p.h:71
QDBusPendingReply WriteValue(const QByteArray &value, const QVariantMap &options)
Definition gattchar1_p.h:90
static const char * staticInterfaceName()
Definition gattchar1_p.h:42
OrgBluezGattCharacteristic1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=nullptr)
Definition gattchar1.cpp:18
\inmodule QtCore
Definition qbytearray.h:57
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const
Returns the connection this interface is associated with.
\inmodule QtDBus
\inmodule QtDBus
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
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:536
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Flags
GLbitfield flags
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