Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-content-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-content.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallContentInterface::CallContentInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallContentInterface::CallContentInterface(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(StreamsAdded(const Tp::ObjectPathList&)), NULL, NULL);
28  disconnect(this, SIGNAL(StreamsRemoved(const Tp::ObjectPathList&, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42 
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 
62  Tp::AbstractInterface::invalidate(proxy, error, message);
63 }
64 
65 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QString& busName, const QString& objectPath, QObject *parent)
66  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69 
70 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
71  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
72 {
73 }
74 
77 {
78 }
79 
81  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84 
86  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89 
91  const QString &error, const QString &message)
92 {
93  disconnect(this, SIGNAL(TonesDeferred(const QString&)), NULL, NULL);
94  disconnect(this, SIGNAL(SendingTones(const QString&)), NULL, NULL);
95  disconnect(this, SIGNAL(StoppedTones(bool)), NULL, NULL);
96 
97  Tp::AbstractInterface::invalidate(proxy, error, message);
98 }
99 
100 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
102 {
103 }
104 
105 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
106  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
107 {
108 }
109 
112 {
113 }
114 
116  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
117 {
118 }
119 
121  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
122 {
123 }
124 
126  const QString &error, const QString &message)
127 {
128  disconnect(this, SIGNAL(NewMediaDescriptionOffer(const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
129  disconnect(this, SIGNAL(MediaDescriptionOfferDone()), NULL, NULL);
130  disconnect(this, SIGNAL(LocalMediaDescriptionChanged(const QVariantMap&)), NULL, NULL);
131  disconnect(this, SIGNAL(RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap&)), NULL, NULL);
132  disconnect(this, SIGNAL(MediaDescriptionsRemoved(const Tp::UIntList&)), NULL, NULL);
133  disconnect(this, SIGNAL(DTMFChangeRequested(uchar, uint)), NULL, NULL);
134 
135  Tp::AbstractInterface::invalidate(proxy, error, message);
136 }
137 
138 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
139  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
140 {
141 }
142 
143 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
144  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
145 {
146 }
147 
150 {
151 }
152 
154  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
155 {
156 }
157 
159  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
160 {
161 }
162 
164  const QString &error, const QString &message)
165 {
166  disconnect(this, SIGNAL(KeyFrameRequested()), NULL, NULL);
167  disconnect(this, SIGNAL(VideoResolutionChanged(const Tp::VideoResolution&)), NULL, NULL);
168  disconnect(this, SIGNAL(BitrateChanged(uint)), NULL, NULL);
169  disconnect(this, SIGNAL(FramerateChanged(uint)), NULL, NULL);
170  disconnect(this, SIGNAL(MTUChanged(uint)), NULL, NULL);
171 
172  Tp::AbstractInterface::invalidate(proxy, error, message);
173 }
174 }
175 }
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:125
Definition: build/TelepathyQt/_gen/types.h:3286
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:798
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:100
void RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
Definition: build/TelepathyQt/_gen/types.h:84
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
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:55
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:1222
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:9
void StreamsAdded(const Tp::ObjectPathList &streams)
void LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)
void DTMFChangeRequested(uchar event, uint state)
void StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)
Definition: build/TelepathyQt/_gen/types.h:329
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:291
Definition: cli-call-content.h:44
Definition: build/TelepathyQt/_gen/types.h:107
void MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)
void NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:33
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:138
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:58
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:163
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:65
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:24
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:480
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
void VideoResolutionChanged(const Tp::VideoResolution &newResolution)
void TonesDeferred(const QString &tones)
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Definition: build/TelepathyQt/_gen/types.h:1229
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:90


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