Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel-request-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/channel-request.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ChannelRequestInterface::ChannelRequestInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ChannelRequestInterface::ChannelRequestInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(Failed(const QString&, const QString&)), NULL, NULL);
28  disconnect(this, SIGNAL(Succeeded()), NULL, NULL);
29  disconnect(this, SIGNAL(SucceededWithChannel(const QDBusObjectPath&, const QVariantMap&, const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
30 
31  Tp::AbstractInterface::invalidate(proxy, error, message);
32 }
33 }
34 }
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-request-body.hpp:24
void SucceededWithChannel(const QDBusObjectPath &connection, const QVariantMap &connectionProperties, const QDBusObjectPath &channel, const QVariantMap &channelProperties)
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 Failed(const QString &error, const QString &message)
static QLatin1String staticInterfaceName()
Definition: cli-channel-request.h:55
Definition: abstract-adaptor.cpp:31
ChannelRequestInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-request-body.hpp:9
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


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