Lomiri Download Manager 0.1.1
A session-wide downloading service
 
Loading...
Searching...
No Matches
properties_interface.h
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp org.freedesktop.dBus.properties.xml -i metatypes.h -p properties_interface -c PropertiesInterface
4 *
5 * qdbusxml2cpp is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
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_INTERFACE_H_1410173698
12#define PROPERTIES_INTERFACE_H_1410173698
13
14#include <QtCore/QObject>
15#include <QtCore/QByteArray>
16#include <QtCore/QList>
17#include <QtCore/QMap>
18#include <QtCore/QString>
19#include <QtCore/QStringList>
20#include <QtCore/QVariant>
21#include <QtDBus/QtDBus>
22#include <lomiri/download_manager/metatypes.h>
23
24/*
25 * Proxy class for interface org.freedesktop.DBus.Properties
26 */
27class PropertiesInterface: public QDBusAbstractInterface
28{
29 Q_OBJECT
30public:
31 static inline const char *staticInterfaceName()
32 { return "org.freedesktop.DBus.Properties"; }
33
34public:
35 PropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
36
38
39public Q_SLOTS: // METHODS
40 inline QDBusPendingReply<QDBusVariant> Get(const QString &interface_name, const QString &property_name)
41 {
42 QList<QVariant> argumentList;
43 argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name);
44 return asyncCallWithArgumentList(QLatin1String("Get"), argumentList);
45 }
46
47 inline QDBusPendingReply<QVariantMap> GetAll(const QString &interface_name)
48 {
49 QList<QVariant> argumentList;
50 argumentList << QVariant::fromValue(interface_name);
51 return asyncCallWithArgumentList(QLatin1String("GetAll"), argumentList);
52 }
53
54 inline QDBusPendingReply<> Set(const QString &interface_name, const QString &property_name, const QDBusVariant &value)
55 {
56 QList<QVariant> argumentList;
57 argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name) << QVariant::fromValue(value);
58 return asyncCallWithArgumentList(QLatin1String("Set"), argumentList);
59 }
60
61Q_SIGNALS: // SIGNALS
62 void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties);
63};
64
65namespace org {
66 namespace freedesktop {
67 namespace DBus {
69 }
70 }
71}
72#endif
static const char * staticInterfaceName()
void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties)
QDBusPendingReply< QDBusVariant > Get(const QString &interface_name, const QString &property_name)
QDBusPendingReply Set(const QString &interface_name, const QString &property_name, const QDBusVariant &value)
QDBusPendingReply< QVariantMap > GetAll(const QString &interface_name)
PropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0)
::PropertiesInterface Properties