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

cli-properties-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/properties.h"
3
4 namespace Tp
5 {
6 namespace Client
7 {
8
9 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const QString& busName, const QString& objectPath, QObject *parent)
10 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13
14 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18
19 PropertiesInterfaceInterface::PropertiesInterfaceInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const Tp::AbstractInterface& mainInterface)
25 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
26 {
27 }
28
29 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
30 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
31 {
32 }
33
34 void PropertiesInterfaceInterface::invalidate(Tp::DBusProxy *proxy,
35 const QString &error, const QString &message)
36 {
37 disconnect(this, SIGNAL(PropertiesChanged(const Tp::PropertyValueList&)), NULL, NULL);
38 disconnect(this, SIGNAL(PropertyFlagsChanged(const Tp::PropertyFlagsChangeList&)), NULL, NULL);
39
40 Tp::AbstractInterface::invalidate(proxy, error, message);
41 }
42 }
43 }
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::PropertiesInterfaceInterface::PropertyFlagsChanged
void PropertyFlagsChanged(const Tp::PropertyFlagsChangeList &properties)
Tp::PropertyValueList
QList< PropertyValue > PropertyValueList
Definition: build/TelepathyQt/_gen/types.h:2360
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::PropertiesInterfaceInterface::PropertiesChanged
void PropertiesChanged(const Tp::PropertyValueList &properties)
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
Tp::Client::PropertiesInterfaceInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-properties-body.hpp:34
Tp::PropertyFlagsChangeList
QList< PropertyFlagsChange > PropertyFlagsChangeList
Definition: build/TelepathyQt/_gen/types.h:2293
Tp::Client::PropertiesInterfaceInterface::PropertiesInterfaceInterface
PropertiesInterfaceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-properties-body.hpp:9