2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -i ../../connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a connectioninterfacerequestsadaptor.h:connectioninterfacerequestsadaptor.cpp org.freedesktop.Telepathy.Connection.I.Requests.xml
5 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
7 * This is an auto-generated file.
8 * This file may have been hand-edited. Look for HAND-EDIT comments
9 * before re-generating it.
12 #ifndef CONNECTIONINTERFACEREQUESTSADAPTOR_H_1282550631
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1282550631
15 #include <QtCore/QObject>
16 #include <QtDBus/QtDBus>
17 #include "../../connectioninterfacerequeststypes.h"
19 template<class T> class QList;
20 template<class Key, class Value> class QMap;
26 * Adaptor class for interface org.freedesktop.Telepathy.Connection.Interface.Requests
28 class ConnectionInterfaceRequestsAdaptor: public QDBusAbstractAdaptor
31 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
32 Q_CLASSINFO("D-Bus Introspection", ""
33 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
34 " <property access=\"read\" type=\"(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
35 " <annotation value=\"org::freedesktop::Telepathy::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
37 " <method name=\"CreateChannel\">\n"
38 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
39 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
40 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
41 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
42 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
44 " <method name=\"EnsureChannel\">\n"
45 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
46 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
47 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
48 " <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
49 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
50 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
52 " <signal name=\"NewChannels\">\n"
53 " <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
54 " <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
56 " <signal name=\"ChannelClosed\">\n"
57 " <arg type=\"o\" name=\"removed_channel_object\"/>\n"
62 ConnectionInterfaceRequestsAdaptor(QObject *parent);
63 virtual ~ConnectionInterfaceRequestsAdaptor();
66 Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
67 org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
69 public Q_SLOTS: // METHODS
70 QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
71 bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
73 void ChannelClosed(const QDBusObjectPath &removed_channel_object);
74 void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);