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 * Do not edit! All changes made to it will be lost.
11 #include "connectioninterfacerequestsadaptor.h"
12 #include <QtCore/QMetaObject>
13 #include <QtCore/QByteArray>
14 #include <QtCore/QList>
15 #include <QtCore/QMap>
16 #include <QtCore/QString>
17 #include <QtCore/QStringList>
18 #include <QtCore/QVariant>
21 * Implementation of adaptor class ConnectionInterfaceRequestsAdaptor
24 ConnectionInterfaceRequestsAdaptor::ConnectionInterfaceRequestsAdaptor(QObject *parent)
25 : QDBusAbstractAdaptor(parent)
28 setAutoRelaySignals(true);
31 ConnectionInterfaceRequestsAdaptor::~ConnectionInterfaceRequestsAdaptor()
36 org::freedesktop::Telepathy::ChannelDetailsList ConnectionInterfaceRequestsAdaptor::channels() const
38 // get the value of property Channels
39 return qvariant_cast< org::freedesktop::Telepathy::ChannelDetailsList >(parent()->property("Channels"));
42 org::freedesktop::Telepathy::RequestableChannelClassList ConnectionInterfaceRequestsAdaptor::requestableChannelClasses() const
44 // get the value of property RequestableChannelClasses
45 return qvariant_cast< org::freedesktop::Telepathy::RequestableChannelClassList >(parent()->property("RequestableChannelClasses"));
48 QDBusObjectPath ConnectionInterfaceRequestsAdaptor::CreateChannel(const QVariantMap &request, QVariantMap &channel_properties)
50 // handle method call org.freedesktop.Telepathy.Connection.Interface.Requests.CreateChannel
51 //return static_cast<YourObjectType *>(parent())->CreateChannel(request, channel_properties);
54 bool ConnectionInterfaceRequestsAdaptor::EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties)
56 // handle method call org.freedesktop.Telepathy.Connection.Interface.Requests.EnsureChannel
57 //return static_cast<YourObjectType *>(parent())->EnsureChannel(request, channel_object, channel_properties);