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 
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 
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
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 
66  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69 
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 
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
102 {
103 }
104 
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);
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 
139  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
140 {
141 }
142 
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 }
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:33
void VideoResolutionChanged(const Tp::VideoResolution &newResolution)
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:9
Definition: cli-call-content.h:44
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:138
void LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:291
QString service() const
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:58
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:1222
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:24
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:329
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:3286
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:125
void RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
void MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)
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
QDBusConnection connection() const
void NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:100
QString path() const
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:798
void DTMFChangeRequested(uchar event, uint state)
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:480
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:163
void TonesDeferred(const QString &tones)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:90
void StreamsAdded(const Tp::ObjectPathList &streams)
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:107
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QObject * parent() const
void StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:1229
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:84
Definition: abstract-adaptor.cpp:31
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:65


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