| Home · All Classes · All Namespaces · Modules · Functions · Files

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
19 ConnectionManagerInterface::ConnectionManagerInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 void ConnectionManagerInterface::invalidate(Tp::DBusProxy *proxy,
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
42 ProtocolInterface::ProtocolInterface(Tp::DBusProxy *proxy)
43 : Tp::AbstractInterface(proxy, staticInterfaceName())
44 {
45 }
46
47 ProtocolInterface::ProtocolInterface(const Tp::Client::ConnectionManagerInterface& mainInterface)
48 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
49 {
50 }
51
52 ProtocolInterface::ProtocolInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject *parent)
53 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
54 {
55 }
56
57 void ProtocolInterface::invalidate(Tp::DBusProxy *proxy,
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
74 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(Tp::DBusProxy *proxy)
75 : Tp::AbstractInterface(proxy, staticInterfaceName())
76 {
77 }
78
79 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const Tp::Client::ConnectionManagerInterface& mainInterface)
80 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
81 {
82 }
83
84 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject *parent)
85 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
86 {
87 }
88
89 void ProtocolInterfaceAddressingInterface::invalidate(Tp::DBusProxy *proxy,
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
106 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(Tp::DBusProxy *proxy)
107 : Tp::AbstractInterface(proxy, staticInterfaceName())
108 {
109 }
110
111 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const Tp::Client::ConnectionManagerInterface& mainInterface)
112 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
113 {
114 }
115
116 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject *parent)
117 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
118 {
119 }
120
121 void ProtocolInterfaceAvatarsInterface::invalidate(Tp::DBusProxy *proxy,
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
138 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(Tp::DBusProxy *proxy)
139 : Tp::AbstractInterface(proxy, staticInterfaceName())
140 {
141 }
142
143 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const Tp::Client::ConnectionManagerInterface& mainInterface)
144 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
145 {
146 }
147
148 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject *parent)
149 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
150 {
151 }
152
153 void ProtocolInterfacePresenceInterface::invalidate(Tp::DBusProxy *proxy,
154 const QString &error, const QString &message)
155 {
156
157 Tp::AbstractInterface::invalidate(proxy, error, message);
158 }
159 }
160 }
Tp::Client::ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface
ProtocolInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:64
Tp
Definition: abstract-adaptor.cpp:31
Tp::Client::ProtocolInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:57
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::ConnectionManagerInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:24
QDBusConnection
QObject::disconnect
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QDBusObjectPath
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
QObject
Tp::Client::ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface
ProtocolInterfaceAvatarsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:96
Tp::Client::ConnectionManagerInterface::NewConnection
void NewConnection(const QString &busName, const QDBusObjectPath &objectPath, const QString &protocol)
QString
Tp::Client::ProtocolInterfaceAvatarsInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:121
Tp::Client::ConnectionManagerInterface::ConnectionManagerInterface
ConnectionManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:9
Tp::Client::ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface
ProtocolInterfacePresenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:128
Tp::AbstractInterface
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::Client::ProtocolInterfaceAddressingInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:89
Tp::Client::ProtocolInterfacePresenceInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:153
Tp::Client::ProtocolInterface::ProtocolInterface
ProtocolInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:32
Tp::Client::ConnectionManagerInterface
Definition: cli-connection-manager.h:44