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 
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 
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 
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 
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 *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:135
PeerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:78
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:644
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:103
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
void NameAcquired(const QString &name)
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:781
DBusDaemonInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:11
void NameLost(const QString &name)
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:529
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:71
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-dbus-body.hpp:36
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:57
IntrospectableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:46
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
void NameOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)
PropertiesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-dbus-body.hpp:110


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7