Home · Modules · All Classes · All Namespaces
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 }
Tp::SocketAddressIPList
QList< SocketAddressIP > SocketAddressIPList
Definition: BUILD/TelepathyQt/_gen/types.h:2920
Tp::Client::CallStreamInterface::RemoteMembersChanged
void RemoteMembersChanged(const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::CallStreamInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:24
Tp::CandidateList
QList< Candidate > CandidateList
Definition: BUILD/TelepathyQt/_gen/types.h:429
Tp::AbstractInterface
The AbstractInterface class is the base class for all client side D-Bus interfaces,...
Definition: abstract-interface.h:42
Tp::Client::CallStreamInterface::CallStreamInterface
CallStreamInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:9
Tp::HandleIdentifierMap
Definition: BUILD/TelepathyQt/_gen/types.h:1677
Tp::Client::CallStreamInterfaceMediaInterface::ServerInfoRetrieved
void ServerInfoRetrieved()
Tp
Definition: abstract-adaptor.cpp:31
Tp::Client::CallStreamInterfaceMediaInterface::STUNServersChanged
void STUNServersChanged(const Tp::SocketAddressIPList &servers)
Tp::Client::CallStreamInterfaceMediaInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:58
Tp::Client::CallStreamInterfaceMediaInterface::LocalCandidatesAdded
void LocalCandidatesAdded(const Tp::CandidateList &candidates)
Tp::Client::CallStreamInterfaceMediaInterface::SendingStateChanged
void SendingStateChanged(uint state)
Tp::Client::CallStreamInterfaceMediaInterface::ReceivingStateChanged
void ReceivingStateChanged(uint state)
Tp::Client::CallStreamInterfaceMediaInterface::LocalCredentialsChanged
void LocalCredentialsChanged(const QString &username, const QString &password)
Tp::CallStateReason
Definition: BUILD/TelepathyQt/_gen/types.h:336
Tp::Client::CallStreamInterface
Definition: cli-call-stream.h:44
Tp::ContactSendingStateMap
Definition: BUILD/TelepathyQt/_gen/types.h:1313
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
Tp::Client::CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface
CallStreamInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:33
Tp::Client::CallStreamInterfaceMediaInterface::ICERestartRequested
void ICERestartRequested()
Tp::Client::CallStreamInterfaceMediaInterface::RelayInfoChanged
void RelayInfoChanged(const Tp::StringVariantMapList &relayInfo)
Tp::Client::CallStreamInterfaceMediaInterface::EndpointsChanged
void EndpointsChanged(const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)
Tp::UIntList
Definition: BUILD/TelepathyQt/_gen/types.h:109
Tp::Client::CallStreamInterface::LocalSendingStateChanged
void LocalSendingStateChanged(uint state, const Tp::CallStateReason &reason)
Tp::StringVariantMapList
QList< StringVariantMap > StringVariantMapList
Definition: BUILD/TelepathyQt/_gen/types.h:3133
Tp::ObjectPathList
Definition: BUILD/TelepathyQt/_gen/types.h:85