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

cli-media-session-handler-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/media-session-handler.h"
3
4 namespace Tp
5 {
6 namespace Client
7 {
8
9 MediaSessionHandlerInterface::MediaSessionHandlerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13
14 MediaSessionHandlerInterface::MediaSessionHandlerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18
19 MediaSessionHandlerInterface::MediaSessionHandlerInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 void MediaSessionHandlerInterface::invalidate(Tp::DBusProxy *proxy,
25 const QString &error, const QString &message)
26 {
27 disconnect(this, SIGNAL(NewStreamHandler(const QDBusObjectPath&, uint, uint, uint)), NULL, NULL);
28
29 Tp::AbstractInterface::invalidate(proxy, error, message);
30 }
31 }
32 }
Tp
Definition: abstract-adaptor.cpp:31
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusConnection
Tp::Client::MediaSessionHandlerInterface::MediaSessionHandlerInterface
MediaSessionHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-media-session-handler-body.hpp:9
QObject::disconnect
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QDBusObjectPath
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
QObject
QString
Tp::Client::MediaSessionHandlerInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-media-session-handler-body.hpp:24
Tp::Client::MediaSessionHandlerInterface::NewStreamHandler
void NewStreamHandler(const QDBusObjectPath &streamHandler, uint ID, uint mediaType, uint direction)
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