Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
gattcharacteristic1adaptor_p.h
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.GattCharacteristic1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
6 *
7 * This is an auto-generated file.
8 * This file may have been hand-edited. Look for HAND-EDIT comments
9 * before re-generating it.
10 */
11
12#ifndef GATTCHARACTERISTIC1ADAPTOR_P_H
13#define GATTCHARACTERISTIC1ADAPTOR_P_H
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
26#include <QtCore/QObject>
27#include <QtDBus/QtDBus>
29#include <QtCore/qcontainerfwd.h>
30
31namespace QtBluetoothPrivate {
32
33/*
34 * Adaptor class for interface org.bluez.GattCharacteristic1
35 */
37{
38 Q_OBJECT
39 Q_CLASSINFO("D-Bus Interface", "org.bluez.GattCharacteristic1")
40 Q_CLASSINFO("D-Bus Introspection", ""
41" <interface name=\"org.bluez.GattCharacteristic1\">\n"
42" <method name=\"ReadValue\">\n"
43" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
44" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
45" <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n"
46" </method>\n"
47" <method name=\"WriteValue\">\n"
48" <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n"
49" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
50" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
51" </method>\n"
52" <method name=\"StartNotify\"/>\n"
53" <method name=\"StopNotify\"/>\n"
54" <property access=\"read\" type=\"s\" name=\"UUID\"/>\n"
55" <property access=\"read\" type=\"o\" name=\"Service\"/>\n"
56" <property access=\"read\" type=\"ay\" name=\"Value\"/>\n"
57" <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n"
58" <property access=\"read\" type=\"as\" name=\"Flags\"/>\n"
59" </interface>\n"
60 "")
61public:
64
65public: // PROPERTIES
66 Q_PROPERTY(QStringList Flags READ flags)
67 QStringList flags() const;
68
69 Q_PROPERTY(bool Notifying READ notifying)
70 bool notifying() const;
71
72 Q_PROPERTY(QDBusObjectPath Service READ service)
74
75 Q_PROPERTY(QString UUID READ uUID)
76 QString uUID() const;
77
78 Q_PROPERTY(QByteArray Value READ value)
79 QByteArray value() const;
80
81public Q_SLOTS: // METHODS
83 void StartNotify();
84 void StopNotify();
85 void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage &msg);
86Q_SIGNALS: // SIGNALS
87};
88
89} // end of namespace QtBluetoothPrivate
90
91#endif
QMap< QString, QVariantMap > InterfaceList
static constexpr auto bluezErrorInvalidOffset
static constexpr auto bluezErrorInvalidValueLength
static constexpr auto bluezServiceInterface
static constexpr auto bluezCharacteristicInterface
static constexpr auto bluezDescriptorInterface
static constexpr auto bluezErrorNotAuthorized
static constexpr auto characteristicPathTemplate
static constexpr auto descriptorPathTemplate
static constexpr auto servicePathTemplate
static constexpr int maximumAttributeLength
void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage &msg)
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.GattCharacteristic1\">\n" " <method name=\"ReadValue\">\n" " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n" " <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n" " </method>\n" " <method name=\"WriteValue\">\n" " <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n" " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n" " </method>\n" " <method name=\"StartNotify\"/>\n" " <method name=\"StopNotify\"/>\n" " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" " <property access=\"read\" type=\"o\" name=\"Service\"/>\n" " <property access=\"read\" type=\"ay\" name=\"Value\"/>\n" " <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n" " <property access=\"read\" type=\"as\" name=\"Flags\"/>\n" " </interface>\n" "") public ~OrgBluezGattCharacteristic1Adaptor() override
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.GattService1\">\n" " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" " <property access=\"read\" type=\"o\" name=\"Device\"/>\n" " <property access=\"read\" type=\"b\" name=\"Primary\"/>\n" " <property access=\"read\" type=\"ao\" name=\"Includes\"/>\n" " </interface>\n" "") public ~OrgBluezGattService1Adaptor() override
Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.freedesktop.DBus.Properties\">\n" " <method name=\"Get\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" " <arg direction=\"out\" type=\"v\" name=\"value\"/>\n" " </method>\n" " <method name=\"Set\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" " <arg direction=\"in\" type=\"v\" name=\"value\"/>\n" " </method>\n" " <method name=\"GetAll\">\n" " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n" " </method>\n" " <signal name=\"PropertiesChanged\">\n" " <arg type=\"s\" name=\"interface\"/>\n" " <arg type=\"a{sv}\" name=\"changed_properties\"/>\n" " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out1\"/>\n" " <arg type=\"as\" name=\"invalidated_properties\"/>\n" " </signal>\n" " </interface>\n" "") public ~OrgFreedesktopDBusPropertiesAdaptor() override
void Set(const QString &interface, const QString &name, const QDBusVariant &value)