Loading...
Searching...
No Matches
properties_interface.h
Go to the documentation of this file.
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp org.freedesktop.dBus.properties.xml -i metatypes.h -p properties_interface -c PropertiesInterface
*
* qdbusxml2cpp is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
#ifndef PROPERTIES_INTERFACE_H_1410173698
#define PROPERTIES_INTERFACE_H_1410173698
#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>
#include <lomiri/download_manager/metatypes.h>
/*
* Proxy class for interface org.freedesktop.DBus.Properties
*/
class PropertiesInterface: public QDBusAbstractInterface
{
Q_OBJECT
public:
static inline const char *staticInterfaceName()
{ return "org.freedesktop.DBus.Properties"; }
public:
PropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
~PropertiesInterface();
public Q_SLOTS: // METHODS
inline QDBusPendingReply<QDBusVariant> Get(const QString &interface_name, const QString &property_name)
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name);
return asyncCallWithArgumentList(QLatin1String("Get"), argumentList);
}
inline QDBusPendingReply<QVariantMap> GetAll(const QString &interface_name)
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(interface_name);
return asyncCallWithArgumentList(QLatin1String("GetAll"), argumentList);
}
inline QDBusPendingReply<> Set(const QString &interface_name, const QString &property_name, const QDBusVariant &value)
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name) << QVariant::fromValue(value);
return asyncCallWithArgumentList(QLatin1String("Set"), argumentList);
}
Q_SIGNALS: // SIGNALS
void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties);
};
namespace org {
namespace freedesktop {
namespace DBus {
typedef ::PropertiesInterface Properties;
}
}
}
#endif
PropertiesInterface
Definition properties_interface.h:28
PropertiesInterface::staticInterfaceName
static const char * staticInterfaceName()
Definition properties_interface.h:31
PropertiesInterface::PropertiesChanged
void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties)
PropertiesInterface::Get
QDBusPendingReply< QDBusVariant > Get(const QString &interface_name, const QString &property_name)
Definition properties_interface.h:40
PropertiesInterface::Set
QDBusPendingReply Set(const QString &interface_name, const QString &property_name, const QDBusVariant &value)
Definition properties_interface.h:54
PropertiesInterface::~PropertiesInterface
~PropertiesInterface()
Definition properties_interface.cpp:23
PropertiesInterface::GetAll
QDBusPendingReply< QVariantMap > GetAll(const QString &interface_name)
Definition properties_interface.h:47
PropertiesInterface::PropertiesInterface
PropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0)
Definition properties_interface.cpp:18
QObject
org::freedesktop::DBus
Definition properties_interface.h:67
org::freedesktop::DBus::Properties
::PropertiesInterface Properties
Definition properties_interface.h:68
org::freedesktop
Definition properties_interface.h:66
org
Definition properties_interface.h:65