2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -i QtTelepathy/Common/BaseTypes -i QtTelepathy/Common/ConnectionManagerTypes -a include/QtTelepathy/Core/connectionmanageradaptor.h: xml/tp-connmgr.xml
5 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
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 CONNECTIONMANAGERADAPTOR_H_1172489892
13 #define CONNECTIONMANAGERADAPTOR_H_1172489892
15 #include <QtCore/QObject>
16 #include <QtDBus/QtDBus>
17 #include "connectionmanagertypes.h"
19 template<class T> class QList;
20 template<class Key, class Value> class QMap;
26 * Adaptor class for interface org.freedesktop.Telepathy.ConnectionManager
28 class ConnectionManagerAdaptor: public QDBusAbstractAdaptor
31 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.ConnectionManager")
32 Q_CLASSINFO("D-Bus Introspection", ""
33 " <interface name=\"org.freedesktop.Telepathy.ConnectionManager\" >\n"
34 " <method name=\"GetParameters\" >\n"
35 " <annotation value=\"org::freedesktop::Telepathy::ParameterDefinitionList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\" />\n"
36 " <arg direction=\"in\" type=\"s\" name=\"proto\" />\n"
37 " <arg direction=\"out\" type=\"a(susv)\" />\n"
39 " <method name=\"ListProtocols\" >\n"
40 " <arg direction=\"out\" type=\"as\" />\n"
42 " <method name=\"RequestConnection\" >\n"
43 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\" />\n"
44 " <arg direction=\"in\" type=\"s\" name=\"proto\" />\n"
45 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\" />\n"
46 " <arg direction=\"out\" type=\"s\" name=\"bus_name\" />\n"
47 " <arg direction=\"out\" type=\"o\" name=\"object_path\" />\n"
49 " <signal name=\"NewConnection\" >\n"
50 " <arg type=\"s\" name=\"bus_name\" />\n"
51 " <arg type=\"o\" name=\"object_path\" />\n"
52 " <arg type=\"s\" name=\"proto\" />\n"
57 ConnectionManagerAdaptor(QObject *parent);
58 virtual ~ConnectionManagerAdaptor();
61 public Q_SLOTS: // METHODS
62 org::freedesktop::Telepathy::ParameterDefinitionList GetParameters(const QString &proto);
63 QStringList ListProtocols();
64 QString RequestConnection(const QString &proto, QVariantMap parameters, QDBusObjectPath &object_path);
66 void NewConnection(const QString &bus_name, const QDBusObjectPath &object_path, const QString &proto);