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

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
21 DBusDaemonInterface::DBusDaemonInterface(Tp::DBusProxy *proxy)
22 : Tp::AbstractInterface(proxy, staticInterfaceName())
23 {
24 }
25
26 DBusDaemonInterface::DBusDaemonInterface(const Tp::AbstractInterface& mainInterface)
27 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
28 {
29 }
30
31 DBusDaemonInterface::DBusDaemonInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
32 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
33 {
34 }
35
36 void DBusDaemonInterface::invalidate(Tp::DBusProxy *proxy,
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
56 IntrospectableInterface::IntrospectableInterface(Tp::DBusProxy *proxy)
57 : Tp::AbstractInterface(proxy, staticInterfaceName())
58 {
59 }
60
61 IntrospectableInterface::IntrospectableInterface(const Tp::AbstractInterface& mainInterface)
62 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
63 {
64 }
65
66 IntrospectableInterface::IntrospectableInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
67 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
68 {
69 }
70
71 void IntrospectableInterface::invalidate(Tp::DBusProxy *proxy,
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
88 PeerInterface::PeerInterface(Tp::DBusProxy *proxy)
89 : Tp::AbstractInterface(proxy, staticInterfaceName())
90 {
91 }
92
93 PeerInterface::PeerInterface(const Tp::AbstractInterface& mainInterface)
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
103 void PeerInterface::invalidate(Tp::DBusProxy *proxy,
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
120 PropertiesInterface::PropertiesInterface(Tp::DBusProxy *proxy)
121 : Tp::AbstractInterface(proxy, staticInterfaceName())
122 {
123 }
124
125 PropertiesInterface::PropertiesInterface(const Tp::AbstractInterface& mainInterface)
126 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
127 {
128 }
129
130 PropertiesInterface::PropertiesInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
131 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
132 {
133 }
134
135 void PropertiesInterface::invalidate(Tp::DBusProxy *proxy,
136 const QString &error, const QString &message)
137 {
138
139 Tp::AbstractInterface::invalidate(proxy, error, message);
140 }
141 }
142 }
143 }
Tp::Client::DBus::DBusDaemonInterface::DBusDaemonInterface
DBusDaemonInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:11
Tp
Definition: abstract-adaptor.cpp:31
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusConnection
QObject::disconnect
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
Tp::Client::DBus::IntrospectableInterface::IntrospectableInterface
IntrospectableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:46
Tp::Client::DBus::PeerInterface::PeerInterface
PeerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:78
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
QObject
Tp::Client::DBus::PropertiesInterface::PropertiesInterface
PropertiesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:110
QString
Tp::Client::DBus::PropertiesInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:135
Tp::Client::DBus::DBusDaemonInterface::NameAcquired
void NameAcquired(const QString &name)
Tp::Client::DBus::PeerInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:103
Tp::Client::DBus::DBusDaemonInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:36
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::DBus::IntrospectableInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:71
Tp::Client::DBus::DBusDaemonInterface::NameLost
void NameLost(const QString &name)
Tp::Client::DBus::DBusDaemonInterface::NameOwnerChanged
void NameOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)