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
properties_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 properties_p.h:properties.cpp org.freedesktop.dbus.properties.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 PROPERTIES_P_H
12#define PROPERTIES_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.freedesktop.DBus.Properties
37 */
39{
41public:
42 static inline const char *staticInterfaceName()
43 { return "org.freedesktop.DBus.Properties"; }
44
45public:
47
49
50public Q_SLOTS: // METHODS
51 inline QDBusPendingReply<QDBusVariant> Get(const QString &interface, const QString &name)
52 {
53 QList<QVariant> argumentList;
55 return asyncCallWithArgumentList(QStringLiteral("Get"), argumentList);
56 }
57
58 inline QDBusPendingReply<QVariantMap> GetAll(const QString &interface)
59 {
60 QList<QVariant> argumentList;
61 argumentList << QVariant::fromValue(interface);
62 return asyncCallWithArgumentList(QStringLiteral("GetAll"), argumentList);
63 }
64
66 {
67 QList<QVariant> argumentList;
69 return asyncCallWithArgumentList(QStringLiteral("Set"), argumentList);
70 }
71
72Q_SIGNALS: // SIGNALS
73 void PropertiesChanged(const QString &interface, const QVariantMap &changed_properties, const QStringList &invalidated_properties,
74 const QDBusMessage &msg);
75};
76
77namespace org {
78 namespace freedesktop {
79 namespace DBus {
81 }
82 }
83}
84#endif
void PropertiesChanged(const QString &interface, const QVariantMap &changed_properties, const QStringList &invalidated_properties, const QDBusMessage &msg)
OrgFreedesktopDBusPropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=nullptr)
QDBusPendingReply< QDBusVariant > Get(const QString &interface, const QString &name)
QDBusPendingReply Set(const QString &interface, const QString &name, const QDBusVariant &value)
QDBusPendingReply< QVariantMap > GetAll(const QString &interface)
static const char * staticInterfaceName()
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.
QString interface() const
Returns the name of this interface.
\inmodule QtDBus
\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]
GLuint name
GLsizei const GLchar *const * path
#define QStringLiteral(str)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS