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

cli-account-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/account.h"
3
4 namespace Tp
5 {
6 namespace Client
7 {
8
9 AccountInterface::AccountInterface(const QString& busName, const QString& objectPath, QObject *parent)
10 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13
14 AccountInterface::AccountInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18
19 AccountInterface::AccountInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 void AccountInterface::invalidate(Tp::DBusProxy *proxy,
25 const QString &error, const QString &message)
26 {
27 disconnect(this, SIGNAL(Removed()), NULL, NULL);
28 disconnect(this, SIGNAL(AccountPropertyChanged(const QVariantMap&)), NULL, NULL);
29
30 Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32
33 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QString& busName, const QString& objectPath, QObject *parent)
34 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37
38 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42
43 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(Tp::DBusProxy *proxy)
44 : Tp::AbstractInterface(proxy, staticInterfaceName())
45 {
46 }
47
48 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface& mainInterface)
49 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52
53 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
54 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57
58 void AccountInterfaceAddressingInterface::invalidate(Tp::DBusProxy *proxy,
59 const QString &error, const QString &message)
60 {
61
62 Tp::AbstractInterface::invalidate(proxy, error, message);
63 }
64
65 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QString& busName, const QString& objectPath, QObject *parent)
66 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69
70 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
71 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
72 {
73 }
74
75 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(Tp::DBusProxy *proxy)
76 : Tp::AbstractInterface(proxy, staticInterfaceName())
77 {
78 }
79
80 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface)
81 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84
85 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
86 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89
90 void AccountInterfaceAvatarInterface::invalidate(Tp::DBusProxy *proxy,
91 const QString &error, const QString &message)
92 {
93 disconnect(this, SIGNAL(AvatarChanged()), NULL, NULL);
94
95 Tp::AbstractInterface::invalidate(proxy, error, message);
96 }
97
98 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QString& busName, const QString& objectPath, QObject *parent)
99 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
100 {
101 }
102
103 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
104 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
105 {
106 }
107
108 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(Tp::DBusProxy *proxy)
109 : Tp::AbstractInterface(proxy, staticInterfaceName())
110 {
111 }
112
113 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const Tp::Client::AccountInterface& mainInterface)
114 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
115 {
116 }
117
118 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
119 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
120 {
121 }
122
123 void AccountInterfaceStorageInterface::invalidate(Tp::DBusProxy *proxy,
124 const QString &error, const QString &message)
125 {
126
127 Tp::AbstractInterface::invalidate(proxy, error, message);
128 }
129 }
130 }
Tp::Client::AccountInterfaceStorageInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:123
Tp::Client::AccountInterfaceAvatarInterface::AvatarChanged
void AvatarChanged()
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface
AccountInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:33
Tp::Client::AccountInterface::AccountInterface
AccountInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:9
Tp::Client::AccountInterface
Definition: cli-account.h:44
Tp::Client::AccountInterfaceStorageInterface::AccountInterfaceStorageInterface
AccountInterfaceStorageInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:98
Tp::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface
AccountInterfaceAvatarInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:65
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::AccountInterface::AccountPropertyChanged
void AccountPropertyChanged(const QVariantMap &properties)
Tp::Client::AccountInterface::Removed
void Removed()
Tp::Client::AccountInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:24
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
Tp::Client::AccountInterfaceAvatarInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:90
Tp::Client::AccountInterfaceAddressingInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:58