2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -i connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a src/connectioninterfacerequestsadaptor.h:src/connectioninterfacerequestsadaptor.cpp data/Conn.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_1280083803
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1280083803
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;
24 //class org::freedesktop::Telepathy::RequestableChannelClass;
25 //class org::freedesktop::Telepathy::RequestableChannelClassList;
28 * Adaptor class for interface org.freedesktop.Telepathy.Connection.Interface.Requests
30 class ConnectionInterfaceRequestsAdaptor: public QDBusAbstractAdaptor
33 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
34 Q_CLASSINFO("D-Bus Introspection", ""
35 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
36 " <property access=\"read\" type=\"(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
37 " <annotation value=\"org::freedesktop::Telepathy::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
39 " <method name=\"CreateChannel\">\n"
40 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
41 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
42 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
43 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
44 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
46 " <method name=\"EnsureChannel\">\n"
47 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
48 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
49 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
50 " <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
51 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
52 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
54 " <signal name=\"NewChannels\">\n"
55 " <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
56 " <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
58 " <signal name=\"ChannelClosed\">\n"
59 " <arg type=\"o\" name=\"removed_channel_object\"/>\n"
64 ConnectionInterfaceRequestsAdaptor(QObject *parent);
65 virtual ~ConnectionInterfaceRequestsAdaptor();
68 Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
69 org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
71 public Q_SLOTS: // METHODS
72 QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
73 bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
75 void ChannelClosed(const QDBusObjectPath &removed_channel_object);
76 void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);