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 
20  : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23 
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 
44  : Tp::AbstractInterface(proxy, staticInterfaceName())
45 {
46 }
47 
49  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52 
54  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57 
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 
76  : Tp::AbstractInterface(proxy, staticInterfaceName())
77 {
78 }
79 
81  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84 
86  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89 
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 
109  : Tp::AbstractInterface(proxy, staticInterfaceName())
110 {
111 }
112 
114  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
115 {
116 }
117 
119  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
120 {
121 }
122 
124  const QString &error, const QString &message)
125 {
126 
127  Tp::AbstractInterface::invalidate(proxy, error, message);
128 }
129 }
130 }
AccountInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:9
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:58
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:24
AccountInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:33
void AccountPropertyChanged(const QVariantMap &properties)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:90
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
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
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:123
Definition: cli-account.h:44
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
AccountInterfaceStorageInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:98
AccountInterfaceAvatarInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:65


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