1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>Tp::Client::ChannelInterfaceGroupInterface Class Reference</title>
7
<link href="doxygen.css" rel="stylesheet" type="text/css" />
10
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
<td width="1"> </td>
13
<td class="postheader" valign="center">
15
<font color="#004faf">Home</font></a> ·
16
<a href="classes.html">
17
<font color="#004faf">All Classes</font></a> ·
18
<a href="namespaces.html">
19
<font color="#004faf">All Namespaces</font></a> ·
20
<a href="modules.html">
21
<font color="#004faf">Modules</font></a> ·
22
<a href="functions.html">
23
<font color="#004faf">Functions</font></a> ·
25
<font color="#004faf">Files</font></a>
29
<!-- Generated by Doxygen 1.7.6.1 -->
30
<div id="nav-path" class="navpath">
32
<li class="navelem"><a class="el" href="a00724.html">Tp</a> </li>
33
<li class="navelem"><a class="el" href="a00728.html">Client</a> </li>
34
<li class="navelem"><a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> </li>
40
<a href="#pub-slots">Public Slots</a> |
41
<a href="#signals">Signals</a> |
42
<a href="#pub-methods">Public Member Functions</a> |
43
<a href="#pub-static-methods">Static Public Member Functions</a> |
44
<a href="#pro-methods">Protected Member Functions</a> </div>
45
<div class="headertitle">
46
<div class="title">Tp::Client::ChannelInterfaceGroupInterface Class Reference<div class="ingroups"><a class="el" href="a00739.html">Channel proxies</a></div></div> </div>
48
<div class="contents">
49
<!-- doxytag: class="Tp::Client::ChannelInterfaceGroupInterface" --><!-- doxytag: inherits="Tp::AbstractInterface" -->
50
<p><code>#include <<a class="el" href="a00502_source.html">TelepathyQt/Channel</a>></code></p>
52
<p>Inherits <a class="el" href="a00037.html">Tp::AbstractInterface</a>.</p>
54
<p><a href="a01090.html">List of all members.</a></p>
55
<h2><a name="pub-slots"></a>
58
<li>QDBusPendingReply <a class="el" href="a00126.html#a679717c703b0c51ebc9dc1ff6a248693">AddMembers</a> (const <a class="el" href="a00414.html">Tp::UIntList</a> &contacts, const QString &message, int timeout=-1)
59
<li>QDBusPendingReply<br class="typebreak"/>
60
< <a class="el" href="a00414.html">Tp::UIntList</a>, <a class="el" href="a00414.html">Tp::UIntList</a>, <br class="typebreak"/>
61
<a class="el" href="a00414.html">Tp::UIntList</a> > <a class="el" href="a00126.html#ac801b6c6f0174090f556d4451fd94fd7">GetAllMembers</a> (int timeout=-1)
62
<li>QDBusPendingReply< uint > <a class="el" href="a00126.html#ad307d230353b15975e824b9becee2bf0">GetGroupFlags</a> (int timeout=-1)
63
<li>QDBusPendingReply< <a class="el" href="a00414.html">Tp::UIntList</a> > <a class="el" href="a00126.html#ae124118f5339d05e033018c1d540b9b9">GetHandleOwners</a> (const <a class="el" href="a00414.html">Tp::UIntList</a> &handles, int timeout=-1)
64
<li>QDBusPendingReply< <a class="el" href="a00414.html">Tp::UIntList</a> > <a class="el" href="a00126.html#a71a77339bd0c81193ef4ab7501495e20">GetLocalPendingMembers</a> (int timeout=-1)
65
<li>QDBusPendingReply<br class="typebreak"/>
66
< <a class="el" href="a00761.html#gac97059fe5c133488d4dcfec37f43df7b">Tp::LocalPendingInfoList</a> > <a class="el" href="a00126.html#a672af560e2335b00a096b69702c2cdde">GetLocalPendingMembersWithInfo</a> (int timeout=-1)
67
<li>QDBusPendingReply< <a class="el" href="a00414.html">Tp::UIntList</a> > <a class="el" href="a00126.html#a002272a6c67ee7682f32cd318b3d7058">GetMembers</a> (int timeout=-1)
68
<li>QDBusPendingReply< <a class="el" href="a00414.html">Tp::UIntList</a> > <a class="el" href="a00126.html#abfb7d3de4986e5a5039bb199a17e10a4">GetRemotePendingMembers</a> (int timeout=-1)
69
<li>QDBusPendingReply< uint > <a class="el" href="a00126.html#a5c36599b48a9f43842134499cf61ef2d">GetSelfHandle</a> (int timeout=-1)
70
<li>QDBusPendingReply <a class="el" href="a00126.html#a68f5efdb73d7f6dcddb638fb05bea959">RemoveMembers</a> (const <a class="el" href="a00414.html">Tp::UIntList</a> &contacts, const QString &message, int timeout=-1)
71
<li>QDBusPendingReply <a class="el" href="a00126.html#a730c7b58b679aa14cdeeb20e468643cb">RemoveMembersWithReason</a> (const <a class="el" href="a00414.html">Tp::UIntList</a> &contacts, const QString &message, uint reason, int timeout=-1)
73
<h2><a name="signals"></a>
76
<li>void <a class="el" href="a00126.html#a0b5e0a8cf6d7b511a59b6aa6e02e468a">HandleOwnersChanged</a> (const <a class="el" href="a00247.html">Tp::HandleOwnerMap</a> &added, const <a class="el" href="a00414.html">Tp::UIntList</a> &removed)
77
<li>void <a class="el" href="a00126.html#a884c6ce068ac8f57a5c28a9aa958ab0f">HandleOwnersChangedDetailed</a> (const <a class="el" href="a00247.html">Tp::HandleOwnerMap</a> &added, const <a class="el" href="a00414.html">Tp::UIntList</a> &removed, const <a class="el" href="a00246.html">Tp::HandleIdentifierMap</a> &identifiers)
78
<li>void <a class="el" href="a00126.html#a7538d2aae49e96eafb247af84b749ed1">SelfHandleChanged</a> (uint selfHandle)
79
<li>void <a class="el" href="a00126.html#ae14a905b4aa426ac8d39eede78fa3e1a">SelfContactChanged</a> (uint selfHandle, const QString &selfID)
80
<li>void <a class="el" href="a00126.html#aff24670319166febb52fbdd07f1ae1d4">GroupFlagsChanged</a> (uint added, uint removed)
81
<li>void <a class="el" href="a00126.html#a8fd1f5fe36448c5f32c8d35bca1af3c1">MembersChanged</a> (const QString &message, const <a class="el" href="a00414.html">Tp::UIntList</a> &added, const <a class="el" href="a00414.html">Tp::UIntList</a> &removed, const <a class="el" href="a00414.html">Tp::UIntList</a> &localPending, const <a class="el" href="a00414.html">Tp::UIntList</a> &remotePending, uint actor, uint reason)
82
<li>void <a class="el" href="a00126.html#ac840dd1ed0232d40ddaec4b2ffe6b289">MembersChangedDetailed</a> (const <a class="el" href="a00414.html">Tp::UIntList</a> &added, const <a class="el" href="a00414.html">Tp::UIntList</a> &removed, const <a class="el" href="a00414.html">Tp::UIntList</a> &localPending, const <a class="el" href="a00414.html">Tp::UIntList</a> &remotePending, const QVariantMap &details)
84
<h2><a name="pub-methods"></a>
85
Public Member Functions</h2>
87
<li><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">ChannelInterfaceGroupInterface</a> (const QString &busName, const QString &objectPath, QObject *parent=0)
88
<li><a class="el" href="a00126.html#aa8d44d8da94dc3d52ac6676abd03344f">ChannelInterfaceGroupInterface</a> (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
89
<li><a class="el" href="a00126.html#a9f19860cd372053b2a26b3b9872b3966">ChannelInterfaceGroupInterface</a> (<a class="el" href="a00216.html">Tp::DBusProxy</a> *proxy)
90
<li><a class="el" href="a00126.html#a119c2047d24a622af97d9a804380b6ba">ChannelInterfaceGroupInterface</a> (const <a class="el" href="a00117.html">Tp::Client::ChannelInterface</a> &mainInterface)
91
<li><a class="el" href="a00126.html#ab9c5248b077b7b05f480ed923b999857">ChannelInterfaceGroupInterface</a> (const <a class="el" href="a00117.html">Tp::Client::ChannelInterface</a> &mainInterface, QObject *parent)
92
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">requestPropertyGroupFlags</a> () const
93
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#a40b5642f56029baddf910bc36615bb80">requestPropertyHandleOwners</a> () const
94
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#ae3bc5b0510c7d6732846bc81e7d58579">requestPropertyLocalPendingMembers</a> () const
95
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#aabef4247d36d5d5311024ce5a4a746d2">requestPropertyMembers</a> () const
96
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#ab2282518e6a9fcc62da8c2af5748c955">requestPropertyRemotePendingMembers</a> () const
97
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#a97cc43cea0aad7761a3056412ea502be">requestPropertySelfHandle</a> () const
98
<li><a class="el" href="a00329.html">Tp::PendingVariant</a> * <a class="el" href="a00126.html#a700c7ac5d6249d2d3c77bd49cc2c8809">requestPropertyMemberIdentifiers</a> () const
99
<li><a class="el" href="a00330.html">Tp::PendingVariantMap</a> * <a class="el" href="a00126.html#a44dccb58c143ee15afec7d21b045a76a">requestAllProperties</a> () const
101
<h2><a name="pub-static-methods"></a>
102
Static Public Member Functions</h2>
104
<li>static QLatin1String <a class="el" href="a00126.html#a1f6b3019b28cf8c787a4dea326876262">staticInterfaceName</a> ()
106
<h2><a name="pro-methods"></a>
107
Protected Member Functions</h2>
109
<li>virtual void <a class="el" href="a00126.html#ab54c77e9528266c565ec417791e6f546">invalidate</a> (<a class="el" href="a00216.html">Tp::DBusProxy</a> *, const QString &, const QString &)
111
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
112
<div class="textblock"><p>Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Interface.Group". </p>
113
</div><hr/><h2>Constructor & Destructor Documentation</h2>
114
<a class="anchor" id="a8dc738ab020099112172d46f81cbfea7"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface" ref="a8dc738ab020099112172d46f81cbfea7" args="(const QString &busName, const QString &objectPath, QObject *parent=0)" -->
115
<div class="memitem">
116
<div class="memproto">
117
<table class="memname">
119
<td class="memname"><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface</a> </td>
121
<td class="paramtype">const QString & </td>
122
<td class="paramname"><em>busName</em>, </td>
125
<td class="paramkey"></td>
127
<td class="paramtype">const QString & </td>
128
<td class="paramname"><em>objectPath</em>, </td>
131
<td class="paramkey"></td>
133
<td class="paramtype">QObject * </td>
134
<td class="paramname"><em>parent</em> = <code>0</code> </td>
144
<p>Creates a <a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> associated with the given object on the session bus.</p>
145
<dl class="params"><dt><b>Parameters:</b></dt><dd>
146
<table class="params">
147
<tr><td class="paramname">busName</td><td>Name of the service the object is on. </td></tr>
148
<tr><td class="paramname">objectPath</td><td>Path to the object on the service. </td></tr>
149
<tr><td class="paramname">parent</td><td>Passed to the parent class constructor. </td></tr>
156
<a class="anchor" id="aa8d44d8da94dc3d52ac6676abd03344f"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface" ref="aa8d44d8da94dc3d52ac6676abd03344f" args="(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)" -->
157
<div class="memitem">
158
<div class="memproto">
159
<table class="memname">
161
<td class="memname"><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface</a> </td>
163
<td class="paramtype">const QDBusConnection & </td>
164
<td class="paramname"><em>connection</em>, </td>
167
<td class="paramkey"></td>
169
<td class="paramtype">const QString & </td>
170
<td class="paramname"><em>busName</em>, </td>
173
<td class="paramkey"></td>
175
<td class="paramtype">const QString & </td>
176
<td class="paramname"><em>objectPath</em>, </td>
179
<td class="paramkey"></td>
181
<td class="paramtype">QObject * </td>
182
<td class="paramname"><em>parent</em> = <code>0</code> </td>
192
<p>Creates a <a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> associated with the given object on the given bus.</p>
193
<dl class="params"><dt><b>Parameters:</b></dt><dd>
194
<table class="params">
195
<tr><td class="paramname">connection</td><td>The bus via which the object can be reached. </td></tr>
196
<tr><td class="paramname">busName</td><td>Name of the service the object is on. </td></tr>
197
<tr><td class="paramname">objectPath</td><td>Path to the object on the service. </td></tr>
198
<tr><td class="paramname">parent</td><td>Passed to the parent class constructor. </td></tr>
205
<a class="anchor" id="a9f19860cd372053b2a26b3b9872b3966"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface" ref="a9f19860cd372053b2a26b3b9872b3966" args="(Tp::DBusProxy *proxy)" -->
206
<div class="memitem">
207
<div class="memproto">
208
<table class="memname">
210
<td class="memname"><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface</a> </td>
212
<td class="paramtype"><a class="el" href="a00216.html">Tp::DBusProxy</a> * </td>
213
<td class="paramname"><em>proxy</em></td><td>)</td>
219
<p>Creates a <a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> associated with the same object as the given proxy.</p>
220
<dl class="params"><dt><b>Parameters:</b></dt><dd>
221
<table class="params">
222
<tr><td class="paramname">proxy</td><td>The proxy to use. It will also be the QObject::parent() for this object. </td></tr>
229
<a class="anchor" id="a119c2047d24a622af97d9a804380b6ba"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface" ref="a119c2047d24a622af97d9a804380b6ba" args="(const Tp::Client::ChannelInterface &mainInterface)" -->
230
<div class="memitem">
231
<div class="memproto">
232
<table class="memname">
234
<td class="memname"><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface</a> </td>
236
<td class="paramtype">const <a class="el" href="a00117.html">Tp::Client::ChannelInterface</a> & </td>
237
<td class="paramname"><em>mainInterface</em></td><td>)</td>
238
<td><code> [explicit]</code></td>
243
<p>Creates a <a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.</p>
244
<dl class="params"><dt><b>Parameters:</b></dt><dd>
245
<table class="params">
246
<tr><td class="paramname">mainInterface</td><td>The proxy to use. </td></tr>
253
<a class="anchor" id="ab9c5248b077b7b05f480ed923b999857"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface" ref="ab9c5248b077b7b05f480ed923b999857" args="(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)" -->
254
<div class="memitem">
255
<div class="memproto">
256
<table class="memname">
258
<td class="memname"><a class="el" href="a00126.html#a8dc738ab020099112172d46f81cbfea7">Tp::Client::ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface</a> </td>
260
<td class="paramtype">const <a class="el" href="a00117.html">Tp::Client::ChannelInterface</a> & </td>
261
<td class="paramname"><em>mainInterface</em>, </td>
264
<td class="paramkey"></td>
266
<td class="paramtype">QObject * </td>
267
<td class="paramname"><em>parent</em> </td>
277
<p>Creates a <a class="el" href="a00126.html">ChannelInterfaceGroupInterface</a> associated with the same object as the given proxy. However, a different parent object can be specified.</p>
278
<dl class="params"><dt><b>Parameters:</b></dt><dd>
279
<table class="params">
280
<tr><td class="paramname">mainInterface</td><td>The proxy to use. </td></tr>
281
<tr><td class="paramname">parent</td><td>Passed to the parent class constructor. </td></tr>
288
<hr/><h2>Member Function Documentation</h2>
289
<a class="anchor" id="a1f6b3019b28cf8c787a4dea326876262"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::staticInterfaceName" ref="a1f6b3019b28cf8c787a4dea326876262" args="()" -->
290
<div class="memitem">
291
<div class="memproto">
292
<table class="memname">
294
<td class="memname">static QLatin1String <a class="el" href="a00126.html#a1f6b3019b28cf8c787a4dea326876262">Tp::Client::ChannelInterfaceGroupInterface::staticInterfaceName</a> </td>
296
<td class="paramname"></td><td>)</td>
297
<td><code> [inline, static]</code></td>
302
<p>Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Group", which this class represents.</p>
303
<dl class="return"><dt><b>Returns:</b></dt><dd>The D-Bus interface name. </dd></dl>
307
<a class="anchor" id="a93a5eb6f41bedc6c57a25bebf81626b5"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyGroupFlags" ref="a93a5eb6f41bedc6c57a25bebf81626b5" args="() const " -->
308
<div class="memitem">
309
<div class="memproto">
310
<table class="memname">
312
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyGroupFlags</a> </td>
314
<td class="paramname"></td><td>)</td>
315
<td> const<code> [inline]</code></td>
320
<p>Asynchronous getter for the remote object property <code>GroupFlags</code> of type <code>uint</code>.</p>
321
<p>An integer representing the bitwise-OR of flags on this channel. The user interface can use this to present information about which operations are currently valid. Change notification is via the GroupFlagsChanged signal.</p>
322
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
326
<a class="anchor" id="a40b5642f56029baddf910bc36615bb80"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyHandleOwners" ref="a40b5642f56029baddf910bc36615bb80" args="() const " -->
327
<div class="memitem">
328
<div class="memproto">
329
<table class="memname">
331
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#a40b5642f56029baddf910bc36615bb80">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyHandleOwners</a> </td>
333
<td class="paramname"></td><td>)</td>
334
<td> const<code> [inline]</code></td>
339
<p>Asynchronous getter for the remote object property <code>HandleOwners</code> of type <code><a class="el" href="a00247.html">Tp::HandleOwnerMap</a></code>.</p>
340
<p>A map from channel-specific handles to their owners, including at least all of the channel-specific handles in this channel's members, local-pending or remote-pending sets as keys. Any handle not in the keys of this mapping is not channel-specific in this channel. Handles which are channel-specific, but for which the owner is unknown, MUST appear in this mapping with 0 as owner. Change notification is via the HandleOwnersChanged signal.</p>
341
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
345
<a class="anchor" id="ae3bc5b0510c7d6732846bc81e7d58579"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyLocalPendingMembers" ref="ae3bc5b0510c7d6732846bc81e7d58579" args="() const " -->
346
<div class="memitem">
347
<div class="memproto">
348
<table class="memname">
350
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#ae3bc5b0510c7d6732846bc81e7d58579">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyLocalPendingMembers</a> </td>
352
<td class="paramname"></td><td>)</td>
353
<td> const<code> [inline]</code></td>
358
<p>Asynchronous getter for the remote object property <code>LocalPendingMembers</code> of type <code><a class="el" href="a00761.html#gac97059fe5c133488d4dcfec37f43df7b">Tp::LocalPendingInfoList</a></code>.</p>
359
<p>An array of structs containing handles representing contacts requesting channel membership and awaiting local approval with AddMembers.</p>
360
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
364
<a class="anchor" id="aabef4247d36d5d5311024ce5a4a746d2"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyMembers" ref="aabef4247d36d5d5311024ce5a4a746d2" args="() const " -->
365
<div class="memitem">
366
<div class="memproto">
367
<table class="memname">
369
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#aabef4247d36d5d5311024ce5a4a746d2">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyMembers</a> </td>
371
<td class="paramname"></td><td>)</td>
372
<td> const<code> [inline]</code></td>
377
<p>Asynchronous getter for the remote object property <code>Members</code> of type <code><a class="el" href="a00414.html">Tp::UIntList</a></code>.</p>
378
<p>The members of this channel.</p>
379
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
383
<a class="anchor" id="ab2282518e6a9fcc62da8c2af5748c955"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyRemotePendingMembers" ref="ab2282518e6a9fcc62da8c2af5748c955" args="() const " -->
384
<div class="memitem">
385
<div class="memproto">
386
<table class="memname">
388
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#ab2282518e6a9fcc62da8c2af5748c955">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyRemotePendingMembers</a> </td>
390
<td class="paramname"></td><td>)</td>
391
<td> const<code> [inline]</code></td>
396
<p>Asynchronous getter for the remote object property <code>RemotePendingMembers</code> of type <code><a class="el" href="a00414.html">Tp::UIntList</a></code>.</p>
397
<p>An array of handles representing contacts who have been invited to the channel and are awaiting remote approval.</p>
398
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
402
<a class="anchor" id="a97cc43cea0aad7761a3056412ea502be"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertySelfHandle" ref="a97cc43cea0aad7761a3056412ea502be" args="() const " -->
403
<div class="memitem">
404
<div class="memproto">
405
<table class="memname">
407
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#a97cc43cea0aad7761a3056412ea502be">Tp::Client::ChannelInterfaceGroupInterface::requestPropertySelfHandle</a> </td>
409
<td class="paramname"></td><td>)</td>
410
<td> const<code> [inline]</code></td>
415
<p>Asynchronous getter for the remote object property <code>SelfHandle</code> of type <code>uint</code>.</p>
416
<p>The handle for the user on this channel (which can also be a local or remote pending member), or 0 if the user is not a member at all (which is likely to be the case, for instance, on ContactList channels). Note that this is different from the result of Connection.GetSelfHandle on some protocols, so the value of this handle should always be used with the methods of this interface.</p>
417
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
421
<a class="anchor" id="a700c7ac5d6249d2d3c77bd49cc2c8809"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestPropertyMemberIdentifiers" ref="a700c7ac5d6249d2d3c77bd49cc2c8809" args="() const " -->
422
<div class="memitem">
423
<div class="memproto">
424
<table class="memname">
426
<td class="memname"><a class="el" href="a00329.html">Tp::PendingVariant</a>* <a class="el" href="a00126.html#a700c7ac5d6249d2d3c77bd49cc2c8809">Tp::Client::ChannelInterfaceGroupInterface::requestPropertyMemberIdentifiers</a> </td>
428
<td class="paramname"></td><td>)</td>
429
<td> const<code> [inline]</code></td>
434
<p>Asynchronous getter for the remote object property <code>MemberIdentifiers</code> of type <code><a class="el" href="a00246.html">Tp::HandleIdentifierMap</a></code>.</p>
435
<p>The string identifiers for handles mentioned in this channel, to give clients the minimal information necessary to create contacts without waiting for round-trips. <a class="el" href="a00161.html" title="The Connection class represents a Telepathy connection.">Connection</a> managers MUST include at least the identifiers for SelfHandle, Members, LocalPendingMembers (and their actors if any), RemotePendingMembers and HandleOwners.</p>
436
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant which will emit finished when the property has been retrieved. </dd></dl>
440
<a class="anchor" id="a44dccb58c143ee15afec7d21b045a76a"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::requestAllProperties" ref="a44dccb58c143ee15afec7d21b045a76a" args="() const " -->
441
<div class="memitem">
442
<div class="memproto">
443
<table class="memname">
445
<td class="memname"><a class="el" href="a00330.html">Tp::PendingVariantMap</a>* <a class="el" href="a00126.html#a44dccb58c143ee15afec7d21b045a76a">Tp::Client::ChannelInterfaceGroupInterface::requestAllProperties</a> </td>
447
<td class="paramname"></td><td>)</td>
448
<td> const<code> [inline]</code></td>
453
<p>Request all of the <a class="el" href="a00729.html">DBus</a> properties on the interface.</p>
454
<dl class="return"><dt><b>Returns:</b></dt><dd>A pending variant map which will emit finished when the properties have been retrieved. </dd></dl>
458
<a class="anchor" id="a679717c703b0c51ebc9dc1ff6a248693"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::AddMembers" ref="a679717c703b0c51ebc9dc1ff6a248693" args="(const Tp::UIntList &contacts, const QString &message, int timeout=-1)" -->
459
<div class="memitem">
460
<div class="memproto">
461
<table class="memname">
463
<td class="memname">QDBusPendingReply <a class="el" href="a00126.html#a679717c703b0c51ebc9dc1ff6a248693">Tp::Client::ChannelInterfaceGroupInterface::AddMembers</a> </td>
465
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
466
<td class="paramname"><em>contacts</em>, </td>
469
<td class="paramkey"></td>
471
<td class="paramtype">const QString & </td>
472
<td class="paramname"><em>message</em>, </td>
475
<td class="paramkey"></td>
477
<td class="paramtype">int </td>
478
<td class="paramname"><em>timeout</em> = <code>-1</code> </td>
483
<td></td><td><code> [inline, slot]</code></td>
488
<p>Begins a call to the D-Bus method <code>AddMembers</code> on the remote object.</p>
490
<p>Invite all the given contacts into the channel, or accept requests for
491
channel membership for contacts on the pending local list.</p>
493
<p>A message may be provided along with the request, which will be sent
494
to the server if supported. See the CHANNEL_GROUP_FLAG_MESSAGE_ADD and
495
CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT
496
<a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a> to see in which cases this
497
message should be provided.</p>
499
<p>Attempting to add contacts who are already members is allowed;
500
connection managers must silently accept this, without error.</p>
501
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
502
<dl class="params"><dt><b>Parameters:</b></dt><dd>
503
<table class="params">
504
<tr><td class="paramname">contacts</td><td>An array of contact handles to invite to the channel</td></tr>
505
<tr><td class="paramname">message</td><td>A string message, which can be blank if desired </td></tr>
506
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
513
<a class="anchor" id="ac801b6c6f0174090f556d4451fd94fd7"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetAllMembers" ref="ac801b6c6f0174090f556d4451fd94fd7" args="(int timeout=-1)" -->
514
<div class="memitem">
515
<div class="memproto">
516
<table class="memname">
518
<td class="memname">QDBusPendingReply<<a class="el" href="a00414.html">Tp::UIntList</a>, <a class="el" href="a00414.html">Tp::UIntList</a>, <a class="el" href="a00414.html">Tp::UIntList</a>> <a class="el" href="a00126.html#ac801b6c6f0174090f556d4451fd94fd7">Tp::Client::ChannelInterfaceGroupInterface::GetAllMembers</a> </td>
520
<td class="paramtype">int </td>
521
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
522
<td><code> [inline, slot]</code></td>
527
<p>Begins a call to the D-Bus method <code>GetAllMembers</code> on the remote object.</p>
528
<p>Returns arrays of all current, local and remote pending channel members.</p>
529
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
530
<dl class="params"><dt><b>Parameters:</b></dt><dd>
531
<table class="params">
532
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds.</td></tr>
536
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
537
<p>array of handles of current members</p>
538
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
539
<p>array of handles of local pending members</p>
540
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
541
<p>array of handles of remote pending members </p>
545
<a class="anchor" id="ad307d230353b15975e824b9becee2bf0"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetGroupFlags" ref="ad307d230353b15975e824b9becee2bf0" args="(int timeout=-1)" -->
546
<div class="memitem">
547
<div class="memproto">
548
<table class="memname">
550
<td class="memname">QDBusPendingReply<uint> <a class="el" href="a00126.html#ad307d230353b15975e824b9becee2bf0">Tp::Client::ChannelInterfaceGroupInterface::GetGroupFlags</a> </td>
552
<td class="paramtype">int </td>
553
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
554
<td><code> [inline, slot]</code></td>
559
<p>Begins a call to the D-Bus method <code>GetGroupFlags</code> on the remote object.</p>
560
<p>Returns the value of the GroupFlags property.</p>
561
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
562
<dl class="params"><dt><b>Parameters:</b></dt><dd>
563
<table class="params">
564
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds.</td></tr>
568
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
569
<p>The value of the GroupFlags property </p>
573
<a class="anchor" id="ae124118f5339d05e033018c1d540b9b9"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetHandleOwners" ref="ae124118f5339d05e033018c1d540b9b9" args="(const Tp::UIntList &handles, int timeout=-1)" -->
574
<div class="memitem">
575
<div class="memproto">
576
<table class="memname">
578
<td class="memname">QDBusPendingReply<<a class="el" href="a00414.html">Tp::UIntList</a>> <a class="el" href="a00126.html#ae124118f5339d05e033018c1d540b9b9">Tp::Client::ChannelInterfaceGroupInterface::GetHandleOwners</a> </td>
580
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
581
<td class="paramname"><em>handles</em>, </td>
584
<td class="paramkey"></td>
586
<td class="paramtype">int </td>
587
<td class="paramname"><em>timeout</em> = <code>-1</code> </td>
592
<td></td><td><code> [inline, slot]</code></td>
597
<p>Begins a call to the D-Bus method <code>GetHandleOwners</code> on the remote object.</p>
598
<p>If the CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES flag is set on the channel, then the handles of the group members are specific to this channel, and are not meaningful in a connection-wide context such as contact lists. This method allows you to find the owner of the handle if it can be discovered in this channel, or 0 if the owner is not available.</p>
599
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
600
<dl class="params"><dt><b>Parameters:</b></dt><dd>
601
<table class="params">
602
<tr><td class="paramname">handles</td><td>A list of integer handles representing members of the channel </td></tr>
603
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds.</td></tr>
607
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
608
<p>An array of integer handles representing the owner handles of the given room members, in the same order, or 0 if the owner is not available </p>
612
<a class="anchor" id="a71a77339bd0c81193ef4ab7501495e20"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetLocalPendingMembers" ref="a71a77339bd0c81193ef4ab7501495e20" args="(int timeout=-1)" -->
613
<div class="memitem">
614
<div class="memproto">
615
<table class="memname">
617
<td class="memname">QDBusPendingReply<<a class="el" href="a00414.html">Tp::UIntList</a>> <a class="el" href="a00126.html#a71a77339bd0c81193ef4ab7501495e20">Tp::Client::ChannelInterfaceGroupInterface::GetLocalPendingMembers</a> </td>
619
<td class="paramtype">int </td>
620
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
621
<td><code> [inline, slot]</code></td>
626
<p>Begins a call to the D-Bus method <code>GetLocalPendingMembers</code> on the remote object.</p>
627
<p>Returns the To_Be_Added handle (only) for each structure in the LocalPendingMembers property.</p>
628
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
629
<dl class="params"><dt><b>Parameters:</b></dt><dd>
630
<table class="params">
631
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
638
<a class="anchor" id="a672af560e2335b00a096b69702c2cdde"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetLocalPendingMembersWithInfo" ref="a672af560e2335b00a096b69702c2cdde" args="(int timeout=-1)" -->
639
<div class="memitem">
640
<div class="memproto">
641
<table class="memname">
643
<td class="memname">QDBusPendingReply<<a class="el" href="a00761.html#gac97059fe5c133488d4dcfec37f43df7b">Tp::LocalPendingInfoList</a>> <a class="el" href="a00126.html#a672af560e2335b00a096b69702c2cdde">Tp::Client::ChannelInterfaceGroupInterface::GetLocalPendingMembersWithInfo</a> </td>
645
<td class="paramtype">int </td>
646
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
647
<td><code> [inline, slot]</code></td>
652
<p>Begins a call to the D-Bus method <code>GetLocalPendingMembersWithInfo</code> on the remote object.</p>
653
<p>Returns the LocalPendingMembers property.</p>
654
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
655
<dl class="params"><dt><b>Parameters:</b></dt><dd>
656
<table class="params">
657
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds.</td></tr>
661
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
662
<p>An array of structs containing: A handle representing the contact requesting channel membership A handle representing the contact making the request, or 0 if unknown The reason for the request: one of the values of Channel_Group_Change_Reason A string message containing the reason for the request if any (or blank if none) </p>
666
<a class="anchor" id="a002272a6c67ee7682f32cd318b3d7058"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetMembers" ref="a002272a6c67ee7682f32cd318b3d7058" args="(int timeout=-1)" -->
667
<div class="memitem">
668
<div class="memproto">
669
<table class="memname">
671
<td class="memname">QDBusPendingReply<<a class="el" href="a00414.html">Tp::UIntList</a>> <a class="el" href="a00126.html#a002272a6c67ee7682f32cd318b3d7058">Tp::Client::ChannelInterfaceGroupInterface::GetMembers</a> </td>
673
<td class="paramtype">int </td>
674
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
675
<td><code> [inline, slot]</code></td>
680
<p>Begins a call to the D-Bus method <code>GetMembers</code> on the remote object.</p>
681
<p>Returns the Members property.</p>
682
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
683
<dl class="params"><dt><b>Parameters:</b></dt><dd>
684
<table class="params">
685
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
692
<a class="anchor" id="abfb7d3de4986e5a5039bb199a17e10a4"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetRemotePendingMembers" ref="abfb7d3de4986e5a5039bb199a17e10a4" args="(int timeout=-1)" -->
693
<div class="memitem">
694
<div class="memproto">
695
<table class="memname">
697
<td class="memname">QDBusPendingReply<<a class="el" href="a00414.html">Tp::UIntList</a>> <a class="el" href="a00126.html#abfb7d3de4986e5a5039bb199a17e10a4">Tp::Client::ChannelInterfaceGroupInterface::GetRemotePendingMembers</a> </td>
699
<td class="paramtype">int </td>
700
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
701
<td><code> [inline, slot]</code></td>
706
<p>Begins a call to the D-Bus method <code>GetRemotePendingMembers</code> on the remote object.</p>
707
<p>Returns an array of handles representing contacts who have been invited to the channel and are awaiting remote approval.</p>
708
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
709
<dl class="params"><dt><b>Parameters:</b></dt><dd>
710
<table class="params">
711
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
718
<a class="anchor" id="a5c36599b48a9f43842134499cf61ef2d"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GetSelfHandle" ref="a5c36599b48a9f43842134499cf61ef2d" args="(int timeout=-1)" -->
719
<div class="memitem">
720
<div class="memproto">
721
<table class="memname">
723
<td class="memname">QDBusPendingReply<uint> <a class="el" href="a00126.html#a5c36599b48a9f43842134499cf61ef2d">Tp::Client::ChannelInterfaceGroupInterface::GetSelfHandle</a> </td>
725
<td class="paramtype">int </td>
726
<td class="paramname"><em>timeout</em> = <code>-1</code></td><td>)</td>
727
<td><code> [inline, slot]</code></td>
732
<p>Begins a call to the D-Bus method <code>GetSelfHandle</code> on the remote object.</p>
733
<p>Returns the value of the SelfHandle property.</p>
734
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
735
<dl class="params"><dt><b>Parameters:</b></dt><dd>
736
<table class="params">
737
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
744
<a class="anchor" id="a68f5efdb73d7f6dcddb638fb05bea959"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::RemoveMembers" ref="a68f5efdb73d7f6dcddb638fb05bea959" args="(const Tp::UIntList &contacts, const QString &message, int timeout=-1)" -->
745
<div class="memitem">
746
<div class="memproto">
747
<table class="memname">
749
<td class="memname">QDBusPendingReply <a class="el" href="a00126.html#a68f5efdb73d7f6dcddb638fb05bea959">Tp::Client::ChannelInterfaceGroupInterface::RemoveMembers</a> </td>
751
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
752
<td class="paramname"><em>contacts</em>, </td>
755
<td class="paramkey"></td>
757
<td class="paramtype">const QString & </td>
758
<td class="paramname"><em>message</em>, </td>
761
<td class="paramkey"></td>
763
<td class="paramtype">int </td>
764
<td class="paramname"><em>timeout</em> = <code>-1</code> </td>
769
<td></td><td><code> [inline, slot]</code></td>
774
<p>Begins a call to the D-Bus method <code>RemoveMembers</code> on the remote object.</p>
776
<p>Requests the removal of contacts from a channel, reject their
777
request for channel membership on the pending local list, or
778
rescind their invitation on the pending remote list.</p>
780
<p>If the <a class="el" href="a00126.html#a97cc43cea0aad7761a3056412ea502be">SelfHandle </a> is in a Group,
781
it can be removed via this method, in order to leave the group
782
gracefully. This is the recommended way to leave a chatroom, close
783
or reject a <a class="el" href="a00148.html">ChannelTypeStreamedMediaInterface</a>
786
<p>Accordingly, connection managers SHOULD support
787
doing this, regardless of the value of
788
<a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a> .
789
If doing so fails with PermissionDenied, this is considered to a bug
790
in the connection manager, but clients MUST recover by falling back
791
to closing the channel with the <a class="el" href="a00117.html#a822439bf7adb2ce890cf8066ea01a1ff">ChannelInterface::Close()</a>
794
<p>Removing any contact from the local pending list is always
795
allowed. Removing contacts other than the
796
<a class="el" href="a00126.html#a97cc43cea0aad7761a3056412ea502be">SelfHandle </a> from the channel's members
797
is allowed if and only if Channel_Group_Flag_Can_Remove is in the
798
<a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a> ,
799
while removing contacts other than the
800
<a class="el" href="a00126.html#a97cc43cea0aad7761a3056412ea502be">SelfHandle </a> from the remote pending list
801
is allowed if and only if Channel_Group_Flag_Can_Rescind is in the
802
<a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a> .</p>
804
<p>A message may be provided along with the request, which will be
805
sent to the server if supported. See the
806
Channel_Group_Flag_Message_Remove,
807
Channel_Group_Flag_Message_Depart,
808
Channel_Group_Flag_Message_Reject and
809
Channel_Group_Flag_Message_Rescind
810
<a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a> to see in which cases this
811
message should be provided.</p>
812
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
813
<dl class="params"><dt><b>Parameters:</b></dt><dd>
814
<table class="params">
815
<tr><td class="paramname">contacts</td><td>An array of contact handles to remove from the channel</td></tr>
816
<tr><td class="paramname">message</td><td>A string message, which can be blank if desired </td></tr>
817
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
824
<a class="anchor" id="a730c7b58b679aa14cdeeb20e468643cb"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::RemoveMembersWithReason" ref="a730c7b58b679aa14cdeeb20e468643cb" args="(const Tp::UIntList &contacts, const QString &message, uint reason, int timeout=-1)" -->
825
<div class="memitem">
826
<div class="memproto">
827
<table class="memname">
829
<td class="memname">QDBusPendingReply <a class="el" href="a00126.html#a730c7b58b679aa14cdeeb20e468643cb">Tp::Client::ChannelInterfaceGroupInterface::RemoveMembersWithReason</a> </td>
831
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
832
<td class="paramname"><em>contacts</em>, </td>
835
<td class="paramkey"></td>
837
<td class="paramtype">const QString & </td>
838
<td class="paramname"><em>message</em>, </td>
841
<td class="paramkey"></td>
843
<td class="paramtype">uint </td>
844
<td class="paramname"><em>reason</em>, </td>
847
<td class="paramkey"></td>
849
<td class="paramtype">int </td>
850
<td class="paramname"><em>timeout</em> = <code>-1</code> </td>
855
<td></td><td><code> [inline, slot]</code></td>
860
<p>Begins a call to the D-Bus method <code>RemoveMembersWithReason</code> on the remote object.</p>
861
<p>As RemoveMembers, but a reason code may be provided where appropriate. The reason code may be ignored if the underlying protocol is unable to represent the given reason.</p>
862
<p>Note that <em>timeout</em> is ignored as of now. It will be used once <a href="http://bugreports.qt.nokia.com/browse/QTBUG-11775">http://bugreports.qt.nokia.com/browse/QTBUG-11775</a> is fixed.</p>
863
<dl class="params"><dt><b>Parameters:</b></dt><dd>
864
<table class="params">
865
<tr><td class="paramname">contacts</td><td>An array of contact handles to remove from the channel</td></tr>
866
<tr><td class="paramname">message</td><td>A string message, which can be blank if desired</td></tr>
867
<tr><td class="paramname">reason</td><td>A reason for the change </td></tr>
868
<tr><td class="paramname">timeout</td><td>The timeout in milliseconds. </td></tr>
875
<a class="anchor" id="a0b5e0a8cf6d7b511a59b6aa6e02e468a"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::HandleOwnersChanged" ref="a0b5e0a8cf6d7b511a59b6aa6e02e468a" args="(const Tp::HandleOwnerMap &added, const Tp::UIntList &removed)" -->
876
<div class="memitem">
877
<div class="memproto">
878
<table class="memname">
880
<td class="memname">void <a class="el" href="a00126.html#a0b5e0a8cf6d7b511a59b6aa6e02e468a">Tp::Client::ChannelInterfaceGroupInterface::HandleOwnersChanged</a> </td>
882
<td class="paramtype">const <a class="el" href="a00247.html">Tp::HandleOwnerMap</a> & </td>
883
<td class="paramname"><em>added</em>, </td>
886
<td class="paramkey"></td>
888
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
889
<td class="paramname"><em>removed</em> </td>
894
<td></td><td><code> [signal]</code></td>
899
<p>Represents the signal <code>HandleOwnersChanged</code> on the remote object.</p>
900
<p>Emitted whenever the HandleOwners property changes.</p>
901
<dl class="params"><dt><b>Parameters:</b></dt><dd>
902
<table class="params">
903
<tr><td class="paramname">added</td><td>A map from channel-specific handles to their owners, in which the keys include all the handles that were added to the keys of the HandleOwners property, and all the handles in that property whose owner has changed</td></tr>
904
<tr><td class="paramname">removed</td><td>The channel-specific handles that were removed from the keys of the HandleOwners property, as a result of the contact leaving this group in a previous MembersChanged signal </td></tr>
911
<a class="anchor" id="a884c6ce068ac8f57a5c28a9aa958ab0f"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::HandleOwnersChangedDetailed" ref="a884c6ce068ac8f57a5c28a9aa958ab0f" args="(const Tp::HandleOwnerMap &added, const Tp::UIntList &removed, const Tp::HandleIdentifierMap &identifiers)" -->
912
<div class="memitem">
913
<div class="memproto">
914
<table class="memname">
916
<td class="memname">void <a class="el" href="a00126.html#a884c6ce068ac8f57a5c28a9aa958ab0f">Tp::Client::ChannelInterfaceGroupInterface::HandleOwnersChangedDetailed</a> </td>
918
<td class="paramtype">const <a class="el" href="a00247.html">Tp::HandleOwnerMap</a> & </td>
919
<td class="paramname"><em>added</em>, </td>
922
<td class="paramkey"></td>
924
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
925
<td class="paramname"><em>removed</em>, </td>
928
<td class="paramkey"></td>
930
<td class="paramtype">const <a class="el" href="a00246.html">Tp::HandleIdentifierMap</a> & </td>
931
<td class="paramname"><em>identifiers</em> </td>
936
<td></td><td><code> [signal]</code></td>
941
<p>Represents the signal <code>HandleOwnersChangedDetailed</code> on the remote object.</p>
942
<p>Emitted whenever the HandleOwners property changes. Clients can assume this signal is emitted by the <a class="el" href="a00161.html" title="The Connection class represents a Telepathy connection.">Connection</a> Manager if the MemberIdentifiers property exists</p>
943
<dl class="params"><dt><b>Parameters:</b></dt><dd>
944
<table class="params">
945
<tr><td class="paramname">added</td><td>A map from channel-specific handles to their owners, in which the keys include all the handles that were added to the keys of the HandleOwners property, and all the handles in that property whose owner has changed</td></tr>
946
<tr><td class="paramname">removed</td><td>The channel-specific handles that were removed from the keys of the HandleOwners property, as a result of the contact leaving this group in a previous MembersChanged signal</td></tr>
947
<tr><td class="paramname">identifiers</td><td>The string identifiers for handles mentioned in this signal, to give clients the minimal information necessary to create contacts without waiting for round-trips. <a class="el" href="a00161.html" title="The Connection class represents a Telepathy connection.">Connection</a> managers MUST include at least the identifiers for all handles in the Added map, and MAY include those from Removed array. </td></tr>
954
<a class="anchor" id="a7538d2aae49e96eafb247af84b749ed1"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::SelfHandleChanged" ref="a7538d2aae49e96eafb247af84b749ed1" args="(uint selfHandle)" -->
955
<div class="memitem">
956
<div class="memproto">
957
<table class="memname">
959
<td class="memname">void <a class="el" href="a00126.html#a7538d2aae49e96eafb247af84b749ed1">Tp::Client::ChannelInterfaceGroupInterface::SelfHandleChanged</a> </td>
961
<td class="paramtype">uint </td>
962
<td class="paramname"><em>selfHandle</em></td><td>)</td>
963
<td><code> [signal]</code></td>
968
<p>Represents the signal <code>SelfHandleChanged</code> on the remote object.</p>
969
<p>Emitted whenever the SelfHandle property changes.</p>
970
<dl class="params"><dt><b>Parameters:</b></dt><dd>
971
<table class="params">
972
<tr><td class="paramname">selfHandle</td><td>The new value of the SelfHandle property. </td></tr>
979
<a class="anchor" id="ae14a905b4aa426ac8d39eede78fa3e1a"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::SelfContactChanged" ref="ae14a905b4aa426ac8d39eede78fa3e1a" args="(uint selfHandle, const QString &selfID)" -->
980
<div class="memitem">
981
<div class="memproto">
982
<table class="memname">
984
<td class="memname">void <a class="el" href="a00126.html#ae14a905b4aa426ac8d39eede78fa3e1a">Tp::Client::ChannelInterfaceGroupInterface::SelfContactChanged</a> </td>
986
<td class="paramtype">uint </td>
987
<td class="paramname"><em>selfHandle</em>, </td>
990
<td class="paramkey"></td>
992
<td class="paramtype">const QString & </td>
993
<td class="paramname"><em>selfID</em> </td>
998
<td></td><td><code> [signal]</code></td>
1002
<div class="memdoc">
1003
<p>Represents the signal <code>SelfContactChanged</code> on the remote object.</p>
1004
<p>Emitted whenever the SelfHandle property changes. Clients can assume this signal is emitted by the <a class="el" href="a00161.html" title="The Connection class represents a Telepathy connection.">Connection</a> Manager if the MemberIdentifiers property exists.</p>
1005
<dl class="params"><dt><b>Parameters:</b></dt><dd>
1006
<table class="params">
1007
<tr><td class="paramname">selfHandle</td><td>The new value of the SelfHandle property.</td></tr>
1008
<tr><td class="paramname">selfID</td><td>The new value of the SelfHandle property's identifier. </td></tr>
1015
<a class="anchor" id="aff24670319166febb52fbdd07f1ae1d4"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::GroupFlagsChanged" ref="aff24670319166febb52fbdd07f1ae1d4" args="(uint added, uint removed)" -->
1016
<div class="memitem">
1017
<div class="memproto">
1018
<table class="memname">
1020
<td class="memname">void <a class="el" href="a00126.html#aff24670319166febb52fbdd07f1ae1d4">Tp::Client::ChannelInterfaceGroupInterface::GroupFlagsChanged</a> </td>
1022
<td class="paramtype">uint </td>
1023
<td class="paramname"><em>added</em>, </td>
1026
<td class="paramkey"></td>
1028
<td class="paramtype">uint </td>
1029
<td class="paramname"><em>removed</em> </td>
1034
<td></td><td><code> [signal]</code></td>
1038
<div class="memdoc">
1039
<p>Represents the signal <code>GroupFlagsChanged</code> on the remote object.</p>
1040
<p>Emitted when the flags as returned by GetGroupFlags are changed. The user interface should be updated as appropriate.</p>
1041
<dl class="params"><dt><b>Parameters:</b></dt><dd>
1042
<table class="params">
1043
<tr><td class="paramname">added</td><td>A bitwise OR of the flags which have been set</td></tr>
1044
<tr><td class="paramname">removed</td><td>A bitwise OR of the flags which have been cleared </td></tr>
1051
<a class="anchor" id="a8fd1f5fe36448c5f32c8d35bca1af3c1"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::MembersChanged" ref="a8fd1f5fe36448c5f32c8d35bca1af3c1" args="(const QString &message, const Tp::UIntList &added, const Tp::UIntList &removed, const Tp::UIntList &localPending, const Tp::UIntList &remotePending, uint actor, uint reason)" -->
1052
<div class="memitem">
1053
<div class="memproto">
1054
<table class="memname">
1056
<td class="memname">void <a class="el" href="a00126.html#a8fd1f5fe36448c5f32c8d35bca1af3c1">Tp::Client::ChannelInterfaceGroupInterface::MembersChanged</a> </td>
1058
<td class="paramtype">const QString & </td>
1059
<td class="paramname"><em>message</em>, </td>
1062
<td class="paramkey"></td>
1064
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1065
<td class="paramname"><em>added</em>, </td>
1068
<td class="paramkey"></td>
1070
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1071
<td class="paramname"><em>removed</em>, </td>
1074
<td class="paramkey"></td>
1076
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1077
<td class="paramname"><em>localPending</em>, </td>
1080
<td class="paramkey"></td>
1082
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1083
<td class="paramname"><em>remotePending</em>, </td>
1086
<td class="paramkey"></td>
1088
<td class="paramtype">uint </td>
1089
<td class="paramname"><em>actor</em>, </td>
1092
<td class="paramkey"></td>
1094
<td class="paramtype">uint </td>
1095
<td class="paramname"><em>reason</em> </td>
1100
<td></td><td><code> [signal]</code></td>
1104
<div class="memdoc">
1105
<p>Represents the signal <code>MembersChanged</code> on the remote object.</p>
1107
<p>Emitted when contacts join any of the three lists (members, local
1108
pending or remote pending) or when they leave any of the three lists.
1109
There may also be a message from the server regarding this change,
1110
which may be displayed to the user if desired.</p>
1112
<p>All channel-specific handles that are mentioned in this signal
1113
MUST be represented in the value of the
1114
<a class="el" href="a00126.html#a40b5642f56029baddf910bc36615bb80">HandleOwners </a> property.
1115
In practice, this will mean that
1116
<a class="el" href="a00126.html#a0b5e0a8cf6d7b511a59b6aa6e02e468a">HandleOwnersChanged()</a> is
1117
emitted <em>before</em> emitting a MembersChanged signal in which
1118
channel-specific handles are added, but that it is emitted
1119
<em>after</em> emitting a MembersChanged signal in which
1120
channel-specific handles are removed.</p>
1122
<p>See <a class="el" href="a00148.html">ChannelTypeStreamedMediaInterface</a>
1123
for an overview of how group state changes are used to indicate the
1124
progress of a call.</p>
1125
<dl class="params"><dt><b>Parameters:</b></dt><dd>
1126
<table class="params">
1127
<tr><td class="paramname">message</td><td>A string message from the server, or blank if not</td></tr>
1128
<tr><td class="paramname">added</td><td>A list of members added to the channel</td></tr>
1129
<tr><td class="paramname">removed</td><td>A list of members removed from the channel</td></tr>
1130
<tr><td class="paramname">localPending</td><td>A list of members who are pending local approval</td></tr>
1131
<tr><td class="paramname">remotePending</td><td>A list of members who are pending remote approval</td></tr>
1132
<tr><td class="paramname">actor</td><td>The contact handle of the person who made the change, or 0 if not known</td></tr>
1133
<tr><td class="paramname">reason</td><td>A reason for the change </td></tr>
1140
<a class="anchor" id="ac840dd1ed0232d40ddaec4b2ffe6b289"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::MembersChangedDetailed" ref="ac840dd1ed0232d40ddaec4b2ffe6b289" args="(const Tp::UIntList &added, const Tp::UIntList &removed, const Tp::UIntList &localPending, const Tp::UIntList &remotePending, const QVariantMap &details)" -->
1141
<div class="memitem">
1142
<div class="memproto">
1143
<table class="memname">
1145
<td class="memname">void <a class="el" href="a00126.html#ac840dd1ed0232d40ddaec4b2ffe6b289">Tp::Client::ChannelInterfaceGroupInterface::MembersChangedDetailed</a> </td>
1147
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1148
<td class="paramname"><em>added</em>, </td>
1151
<td class="paramkey"></td>
1153
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1154
<td class="paramname"><em>removed</em>, </td>
1157
<td class="paramkey"></td>
1159
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1160
<td class="paramname"><em>localPending</em>, </td>
1163
<td class="paramkey"></td>
1165
<td class="paramtype">const <a class="el" href="a00414.html">Tp::UIntList</a> & </td>
1166
<td class="paramname"><em>remotePending</em>, </td>
1169
<td class="paramkey"></td>
1171
<td class="paramtype">const QVariantMap & </td>
1172
<td class="paramname"><em>details</em> </td>
1177
<td></td><td><code> [signal]</code></td>
1181
<div class="memdoc">
1182
<p>Represents the signal <code>MembersChangedDetailed</code> on the remote object.</p>
1184
<p>Emitted when contacts join any of the three lists (members, local
1185
pending or remote pending) or when they leave any of the three
1186
lists. This signal provides a superset of the information provided by
1187
<a class="el" href="a00126.html#a8fd1f5fe36448c5f32c8d35bca1af3c1">MembersChanged()</a> ;
1188
if the channel's <a class="el" href="a00126.html#a93a5eb6f41bedc6c57a25bebf81626b5">GroupFlags </a>
1189
contains Members_Changed_Detailed, then clients may listen exclusively
1190
to this signal in preference to that signal.</p>
1192
<p>All channel-specific handles that are mentioned in this signal
1193
MUST be represented in the value of the
1194
<a class="el" href="a00126.html#a40b5642f56029baddf910bc36615bb80">HandleOwners </a> property. In practice,
1196
<a class="el" href="a00126.html#a0b5e0a8cf6d7b511a59b6aa6e02e468a">HandleOwnersChanged()</a> is emitted
1197
<em>before</em> emitting a MembersChangedDetailed signal in which
1198
channel-specific handles are added, but that it is emitted
1199
<em>after</em> emitting a MembersChangedDetailed signal in which
1200
channel-specific handles are removed.</p>
1202
<p>See <a class="el" href="a00148.html">ChannelTypeStreamedMediaInterface</a>
1203
for an overview of how group state changes are used to indicate the
1204
progress of a call.</p>
1205
<dl class="params"><dt><b>Parameters:</b></dt><dd>
1206
<table class="params">
1207
<tr><td class="paramname">added</td><td>A list of members added to the channel</td></tr>
1208
<tr><td class="paramname">removed</td><td>A list of members removed from the channel</td></tr>
1209
<tr><td class="paramname">localPending</td><td>A list of members who are pending local approval</td></tr>
1210
<tr><td class="paramname">remotePending</td><td>A list of members who are pending remote approval</td></tr>
1211
<tr><td class="paramname">details</td><td>
1212
<p>Information about the change, which may include the following
1213
well-known keys:</p>
1216
<dt>actor (u — <tp:type>Contact_Handle</tp:type>)</dt>
1217
<dd>The contact handle of the person who made the change; 0 or
1218
omitted if unknown or not applicable.</dd>
1220
<dt>change-reason (u — <tp:type>Channel_Group_Change_Reason</tp:type>)</dt>
1221
<dd>A reason for the change.</dd>
1223
<dt>contact-ids (a{us} — <tp:type>Handle_Identifier_Map</tp:type>)</dt>
1225
<p>The string identifiers for handles mentioned in this signal, to
1226
give clients the minimal information necessary to react to the
1227
event without waiting for round-trips. Connection managers
1228
SHOULD include the identifiers for members added to the group and
1229
for the actor (if any); they MAY omit the identifiers for handles
1230
which have been removed from the group.</p>
1232
<div class="rationale">
1233
<p>On IRC, an event such as a netsplit could cause the vast
1234
majority of a channel to leave. Given that clients should
1235
already know the identifiers of a channel's members, including
1236
potentially hundreds of strings in the netsplit signal is
1240
<p>Clients MUST NOT assume that the presence or absence of a
1241
handle in this mapping is meaningful. This mapping is merely
1242
an optimization for round-trip reduction, and connection
1243
managers MAY add additional handles, omit some handles, or
1244
omit the mapping completely.</p>
1247
<dt>message (s)</dt>
1248
<dd>A string message from the server regarding the change</dd>
1250
<dt>error (s — <tp:type>DBus_Error_Name</tp:type>)</dt>
1251
<dd>A (possibly implementation-specific) DBus error describing the
1252
change, providing more specific information than the
1253
<tp:type>Channel_Group_Change_Reason</tp:type> enum allows. This
1254
MUST only be present if it is strictly more informative than
1255
'change-reason'; if present, 'change-reason' MUST be set to the
1256
closest available reason.
1258
<div class="rationale">
1259
A SIP connection manager might want to signal "402 Payment
1260
required" as something more specific than Error or
1261
Permission_Denied so that a SIP-aware UI could handle it
1262
specially; including a namespaced error permits this to be done
1263
without <tp:type>Channel_Group_Change_Reason</tp:type> being
1264
extended to encompass every error any CM ever wants to report.
1268
<dt>debug-message (s)</dt>
1269
<dd>Debugging information on the change. SHOULD NOT be shown to
1270
users in normal circumstances.</dd>
1279
<a class="anchor" id="ab54c77e9528266c565ec417791e6f546"></a><!-- doxytag: member="Tp::Client::ChannelInterfaceGroupInterface::invalidate" ref="ab54c77e9528266c565ec417791e6f546" args="(Tp::DBusProxy *, const QString &, const QString &)" -->
1280
<div class="memitem">
1281
<div class="memproto">
1282
<table class="memname">
1284
<td class="memname">void <a class="el" href="a00126.html#ab54c77e9528266c565ec417791e6f546">Tp::Client::ChannelInterfaceGroupInterface::invalidate</a> </td>
1286
<td class="paramtype"><a class="el" href="a00216.html">Tp::DBusProxy</a> * </td>
1287
<td class="paramname"><em>proxy</em>, </td>
1290
<td class="paramkey"></td>
1292
<td class="paramtype">const QString & </td>
1293
<td class="paramname"><em>error</em>, </td>
1296
<td class="paramkey"></td>
1298
<td class="paramtype">const QString & </td>
1299
<td class="paramname"><em>message</em> </td>
1304
<td></td><td><code> [protected, virtual]</code></td>
1308
<div class="memdoc">
1310
<p>Reimplemented from <a class="el" href="a00037.html#a79dde56ba44455f47c7c354ada07467a">Tp::AbstractInterface</a>.</p>
1314
</div><!-- contents -->
1315
<p /><address><hr /><div align="center">
1316
<table width="100%" cellspacing="0" border="0"><tr class="address">
1317
<td width="30%">Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation</td>
1318
<td width="30%" align="right"><div align="right">Telepathy-Qt 0.9.3</div></td>
1319
</tr></table></div></address>