Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-stream-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-stream.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallStreamInterface::CallStreamInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallStreamInterface::CallStreamInterface(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(RemoteMembersChanged(const Tp::ContactSendingStateMap&, const Tp::HandleIdentifierMap&, const Tp::UIntList&, const Tp::CallStateReason&)), NULL, NULL);
28  disconnect(this, SIGNAL(LocalSendingStateChanged(uint, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(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  disconnect(this, SIGNAL(SendingStateChanged(uint)), NULL, NULL);
62  disconnect(this, SIGNAL(ReceivingStateChanged(uint)), NULL, NULL);
63  disconnect(this, SIGNAL(LocalCandidatesAdded(const Tp::CandidateList&)), NULL, NULL);
64  disconnect(this, SIGNAL(LocalCredentialsChanged(const QString&, const QString&)), NULL, NULL);
65  disconnect(this, SIGNAL(RelayInfoChanged(const Tp::StringVariantMapList&)), NULL, NULL);
66  disconnect(this, SIGNAL(STUNServersChanged(const Tp::SocketAddressIPList&)), NULL, NULL);
67  disconnect(this, SIGNAL(ServerInfoRetrieved()), NULL, NULL);
68  disconnect(this, SIGNAL(EndpointsChanged(const Tp::ObjectPathList&, const Tp::ObjectPathList&)), NULL, NULL);
69  disconnect(this, SIGNAL(ICERestartRequested()), NULL, NULL);
70 
71  Tp::AbstractInterface::invalidate(proxy, error, message);
72 }
73 }
74 }
void LocalSendingStateChanged(uint state, const Tp::CallStateReason &reason)
Definition: cli-call-stream.h:44
Definition: buildqt4/TelepathyQt/_gen/types.h:81
Definition: buildqt4/TelepathyQt/_gen/types.h:101
Definition: buildqt4/TelepathyQt/_gen/types.h:1646
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:58
void RelayInfoChanged(const Tp::StringVariantMapList &relayInfo)
Definition: buildqt4/TelepathyQt/_gen/types.h:1284
void RemoteMembersChanged(const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
QList< SocketAddressIP > SocketAddressIPList
Definition: buildqt4/TelepathyQt/_gen/types.h:2876
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
QList< StringVariantMap > StringVariantMapList
Definition: buildqt4/TelepathyQt/_gen/types.h:3087
QList< Candidate > CandidateList
Definition: buildqt4/TelepathyQt/_gen/types.h:413
CallStreamInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:33
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:24
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
void LocalCandidatesAdded(const Tp::CandidateList &candidates)
CallStreamInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:9
void LocalCredentialsChanged(const QString &username, const QString &password)
void EndpointsChanged(const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)
void STUNServersChanged(const Tp::SocketAddressIPList &servers)
Definition: buildqt4/TelepathyQt/_gen/types.h:320


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