Home · Modules · All Classes · All Namespaces
cli-dbus-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/dbus.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 namespace DBus
9 {
10 
11 DBusDaemonInterface::DBusDaemonInterface(const QString& busName, const QString& objectPath, QObject *parent)
12  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
13 {
14 }
15 
16 DBusDaemonInterface::DBusDaemonInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
17  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
18 {
19 }
20 
22  : Tp::AbstractInterface(proxy, staticInterfaceName())
23 {
24 }
25 
27  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
28 {
29 }
30 
32  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
33 {
34 }
35 
37  const QString &error, const QString &message)
38 {
39  disconnect(this, SIGNAL(NameOwnerChanged(const QString&, const QString&, const QString&)), NULL, NULL);
40  disconnect(this, SIGNAL(NameLost(const QString&)), NULL, NULL);
41  disconnect(this, SIGNAL(NameAcquired(const QString&)), NULL, NULL);
42 
43  Tp::AbstractInterface::invalidate(proxy, error, message);
44 }
45 
46 IntrospectableInterface::IntrospectableInterface(const QString& busName, const QString& objectPath, QObject *parent)
47  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
48 {
49 }
50 
51 IntrospectableInterface::IntrospectableInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
52  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
53 {
54 }
55 
57  : Tp::AbstractInterface(proxy, staticInterfaceName())
58 {
59 }
60 
62  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
63 {
64 }
65 
67  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
68 {
69 }
70 
72  const QString &error, const QString &message)
73 {
74 
75  Tp::AbstractInterface::invalidate(proxy, error, message);
76 }
77 
78 PeerInterface::PeerInterface(const QString& busName, const QString& objectPath, QObject *parent)
79  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
80 {
81 }
82 
83 PeerInterface::PeerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
84  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
85 {
86 }
87 
89  : Tp::AbstractInterface(proxy, staticInterfaceName())
90 {
91 }
92 
94  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
95 {
96 }
97 
98 PeerInterface::PeerInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
99  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
100 {
101 }
102 
104  const QString &error, const QString &message)
105 {
106 
107  Tp::AbstractInterface::invalidate(proxy, error, message);
108 }
109 
110 PropertiesInterface::PropertiesInterface(const QString& busName, const QString& objectPath, QObject *parent)
111  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
112 {
113 }
114 
115 PropertiesInterface::PropertiesInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
116  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
117 {
118 }
119 
121  : Tp::AbstractInterface(proxy, staticInterfaceName())
122 {
123 }
124 
126  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
127 {
128 }
129 
131  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
132 {
133 }
134 
136  const QString &error, const QString &message)
137 {
138 
139  Tp::AbstractInterface::invalidate(proxy, error, message);
140 }
141 }
142 }
143 }
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-dbus-body.hpp:36
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:135
void NameAcquired(const QString &name)
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-dbus-body.hpp:103
IntrospectableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:46
PropertiesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:110
PeerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:78
void NameOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)
DBusDaemonInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:11
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:71
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
void NameLost(const QString &name)