11 #ifndef PROPERTIES_INTERFACE_H_1410173698 
   12 #define PROPERTIES_INTERFACE_H_1410173698 
   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 <ubuntu/download_manager/metatypes.h> 
   32     { 
return "org.freedesktop.DBus.Properties"; }
 
   40     inline QDBusPendingReply<QDBusVariant> 
Get(
const QString &interface_name, 
const QString &property_name)
 
   42         QList<QVariant> argumentList;
 
   43         argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name);
 
   44         return asyncCallWithArgumentList(QLatin1String(
"Get"), argumentList);
 
   47     inline QDBusPendingReply<QVariantMap> 
GetAll(
const QString &interface_name)
 
   49         QList<QVariant> argumentList;
 
   50         argumentList << QVariant::fromValue(interface_name);
 
   51         return asyncCallWithArgumentList(QLatin1String(
"GetAll"), argumentList);
 
   54     inline QDBusPendingReply<> 
Set(
const QString &interface_name, 
const QString &property_name, 
const QDBusVariant &value)
 
   56         QList<QVariant> argumentList;
 
   57         argumentList << QVariant::fromValue(interface_name) << QVariant::fromValue(property_name) << QVariant::fromValue(value);
 
   58         return asyncCallWithArgumentList(QLatin1String(
"Set"), argumentList);
 
   62     void PropertiesChanged(
const QString &interface_name, 
const QVariantMap &changed_properties, 
const QStringList &invalidated_properties);
 
   66   namespace freedesktop {