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
leadvertisingmanager1_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 leadvertisingmanager1_p.h:leadvertisingmanager1.cpp org.bluez.LEAdvertisingManager1.xml --moc
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 LEADVERTISINGMANAGER1_P_H
12#define LEADVERTISINGMANAGER1_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.LEAdvertisingManager1
37 */
39{
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.bluez.LEAdvertisingManager1"; }
44
45public:
47
49
51 inline uchar activeInstances() const
52 { return qvariant_cast< uchar >(property("ActiveInstances")); }
53
56 { return qvariant_cast< QStringList >(property("SupportedIncludes")); }
57
60 { return qvariant_cast< uchar >(property("SupportedInstances")); }
61
62public Q_SLOTS: // METHODS
63 inline QDBusPendingReply<> RegisterAdvertisement(const QDBusObjectPath &advertisement, const QVariantMap &options)
64 {
65 QList<QVariant> argumentList;
66 argumentList << QVariant::fromValue(advertisement) << QVariant::fromValue(options);
67 return asyncCallWithArgumentList(QStringLiteral("RegisterAdvertisement"), argumentList);
68 }
69
71 {
72 QList<QVariant> argumentList;
73 argumentList << QVariant::fromValue(advertisement);
74 return asyncCallWithArgumentList(QStringLiteral("UnregisterAdvertisement"), argumentList);
75 }
76
77Q_SIGNALS: // SIGNALS
78};
79
80namespace org {
81 namespace bluez {
83 }
84}
85#endif
QDBusPendingReply RegisterAdvertisement(const QDBusObjectPath &advertisement, const QVariantMap &options)
QDBusPendingReply UnregisterAdvertisement(const QDBusObjectPath &advertisement)
OrgBluezLEAdvertisingManager1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=nullptr)
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 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
GLsizei const GLchar *const * path
#define QStringLiteral(str)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS
unsigned char uchar
Definition qtypes.h:32
const char property[13]
Definition qwizard.cpp:101