Home · Modules · All Classes · All Namespaces
cli-connection-manager-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/connection-manager.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ConnectionManagerInterface::ConnectionManagerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ConnectionManagerInterface::ConnectionManagerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
20  : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(NewConnection(const QString&, const QDBusObjectPath&, const QString&)), NULL, NULL);
28 
29  Tp::AbstractInterface::invalidate(proxy, error, message);
30 }
31 
32 ProtocolInterface::ProtocolInterface(const QString& busName, const QString& objectPath, QObject *parent)
33  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
34 {
35 }
36 
37 ProtocolInterface::ProtocolInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
38  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
39 {
40 }
41 
43  : Tp::AbstractInterface(proxy, staticInterfaceName())
44 {
45 }
46 
48  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
49 {
50 }
51 
53  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
54 {
55 }
56 
58  const QString &error, const QString &message)
59 {
60 
61  Tp::AbstractInterface::invalidate(proxy, error, message);
62 }
63 
64 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const QString& busName, const QString& objectPath, QObject *parent)
65  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
66 {
67 }
68 
69 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
70  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
71 {
72 }
73 
75  : Tp::AbstractInterface(proxy, staticInterfaceName())
76 {
77 }
78 
80  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
81 {
82 }
83 
85  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
86 {
87 }
88 
90  const QString &error, const QString &message)
91 {
92 
93  Tp::AbstractInterface::invalidate(proxy, error, message);
94 }
95 
96 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const QString& busName, const QString& objectPath, QObject *parent)
97  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
98 {
99 }
100 
101 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
102  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
103 {
104 }
105 
107  : Tp::AbstractInterface(proxy, staticInterfaceName())
108 {
109 }
110 
112  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
113 {
114 }
115 
117  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
118 {
119 }
120 
122  const QString &error, const QString &message)
123 {
124 
125  Tp::AbstractInterface::invalidate(proxy, error, message);
126 }
127 
128 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const QString& busName, const QString& objectPath, QObject *parent)
129  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
130 {
131 }
132 
133 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
134  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
135 {
136 }
137 
139  : Tp::AbstractInterface(proxy, staticInterfaceName())
140 {
141 }
142 
144  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
145 {
146 }
147 
149  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
150 {
151 }
152 
154  const QString &error, const QString &message)
155 {
156 
157  Tp::AbstractInterface::invalidate(proxy, error, message);
158 }
159 }
160 }
void NewConnection(const QString &busName, const QDBusObjectPath &objectPath, const QString &protocol)
Definition: cli-connection-manager.h:44
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:57
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:153
The AbstractInterface class is the base class for all client side D-Bus interfaces,...
Definition: abstract-interface.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:89
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:24
ProtocolInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:64
ProtocolInterfaceAvatarsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:96
ProtocolInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:32
ConnectionManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:9
ProtocolInterfacePresenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:128
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:121
Definition: abstract-adaptor.cpp:31
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42