2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -i vicar-telepathy/cpp/connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a connectioninterfacerequestsadaptor.h:connectioninterfacerequestsadaptor.cpp data/xml/org.freedesktop.Telepathy.Connection.I.Requests.xml
5 * qdbusxml2cpp is Copyright (C) 2011 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_1318919889
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1318919889
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 " <property access=\"read\" type=\"a(oa{sv})\" name=\"Channels\">\n"
38 " <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
40 " <method name=\"CreateChannel\">\n"
41 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
42 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
43 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
44 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
45 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
47 " <method name=\"EnsureChannel\">\n"
48 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
49 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
50 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
51 " <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
52 " <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
53 " <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
55 " <signal name=\"NewChannels\">\n"
56 " <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
57 " <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
59 " <signal name=\"ChannelClosed\">\n"
60 " <arg type=\"o\" name=\"removed_channel_object\"/>\n"
65 ConnectionInterfaceRequestsAdaptor(QObject *parent);
66 virtual ~ConnectionInterfaceRequestsAdaptor();
69 Q_PROPERTY(org::freedesktop::Telepathy::ChannelDetailsList Channels READ channels)
70 org::freedesktop::Telepathy::ChannelDetailsList channels() const;
72 Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
73 org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
75 public Q_SLOTS: // METHODS
76 QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
77 bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
79 void ChannelClosed(const QDBusObjectPath &removed_channel_object);
80 void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);