~ubuntu-branches/ubuntu/wily/telepathy-qt5/wily

« back to all changes in this revision

Viewing changes to doc/html/a00549_source.html

  • Committer: Package Import Robot
  • Author(s): Tiago Salem Herrmann
  • Date: 2015-05-29 18:01:17 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150529180117-nj5geaevciyps6b5
Tags: 0.9.6.1-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="iso-8859-1"?>
2
 
<!DOCTYPE html
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">
5
 
<head>
6
 
  <title>contact.h Source File</title>
7
 
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
8
 
</head>
9
 
<body>
10
 
<table border="0" cellpadding="0" cellspacing="0" width="100%">
11
 
<tr>
12
 
<td width="1">&nbsp;&nbsp;</td>
13
 
<td class="postheader" valign="center">
14
 
<a href="index.html">
15
 
<font color="#004faf">Home</font></a>&nbsp;&middot;
16
 
<a href="classes.html">
17
 
<font color="#004faf">All Classes</font></a>&nbsp;&middot;
18
 
<a href="namespaces.html">
19
 
<font color="#004faf">All Namespaces</font></a>&nbsp;&middot;
20
 
<a href="modules.html">
21
 
<font color="#004faf">Modules</font></a>&nbsp;&middot;
22
 
<a href="functions.html">
23
 
<font color="#004faf">Functions</font></a>&nbsp;&middot;
24
 
<a href="files.html">
25
 
<font color="#004faf">Files</font></a>
26
 
</td>
27
 
</tr>
28
 
</table>
29
 
<!-- Generated by Doxygen 1.7.6.1 -->
30
 
</div>
31
 
<div class="header">
32
 
  <div class="headertitle">
33
 
<div class="title">contact.h</div>  </div>
34
 
</div><!--header-->
35
 
<div class="contents">
36
 
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
37
 
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef _TelepathyQt_contact_h_HEADER_GUARD_</span>
38
 
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define _TelepathyQt_contact_h_HEADER_GUARD_</span>
39
 
<a name="l00025"></a>00025 <span class="preprocessor"></span>
40
 
<a name="l00026"></a>00026 <span class="preprocessor">#ifndef IN_TP_QT_HEADER</span>
41
 
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#error IN_TP_QT_HEADER</span>
42
 
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
43
 
<a name="l00029"></a>00029 <span class="preprocessor"></span>
44
 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;TelepathyQt/Channel&gt;</span>
45
 
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;TelepathyQt/Feature&gt;</span>
46
 
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;TelepathyQt/Object&gt;</span>
47
 
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;TelepathyQt/Types&gt;</span>
48
 
<a name="l00034"></a>00034 
49
 
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;QSet&gt;</span>
50
 
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;QVariantMap&gt;</span>
51
 
<a name="l00037"></a>00037 
52
 
<a name="l00038"></a>00038 <span class="keyword">namespace </span>Tp
53
 
<a name="l00039"></a>00039 {
54
 
<a name="l00040"></a>00040 
55
 
<a name="l00041"></a>00041 <span class="keyword">struct </span>AvatarData;
56
 
<a name="l00042"></a>00042 <span class="keyword">class </span>ContactCapabilities;
57
 
<a name="l00043"></a>00043 <span class="keyword">class </span>LocationInfo;
58
 
<a name="l00044"></a>00044 <span class="keyword">class </span>ContactManager;
59
 
<a name="l00045"></a>00045 <span class="keyword">class </span>PendingContactInfo;
60
 
<a name="l00046"></a>00046 <span class="keyword">class </span>PendingOperation;
61
 
<a name="l00047"></a>00047 <span class="keyword">class </span>PendingStringList;
62
 
<a name="l00048"></a>00048 <span class="keyword">class </span>Presence;
63
 
<a name="l00049"></a>00049 <span class="keyword">class </span>ReferencedHandles;
64
 
<a name="l00050"></a>00050 
65
 
<a name="l00051"></a><a class="code" href="a00190.html">00051</a> <span class="keyword">class </span>TP_QT_EXPORT <a class="code" href="a00190.html" title="The Contact class represents a Telepathy contact.">Contact</a> : <span class="keyword">public</span> <a class="code" href="a00292.html" title="The Object class provides an object with property notification.">Object</a>
66
 
<a name="l00052"></a>00052 {
67
 
<a name="l00053"></a>00053     Q_OBJECT
68
 
<a name="l00054"></a>00054     Q_DISABLE_COPY(<a class="code" href="a00190.html" title="The Contact class represents a Telepathy contact.">Contact</a>)
69
 
<a name="l00055"></a>00055 
70
 
<a name="l00056"></a>00056 <span class="keyword">public</span>:
71
 
<a name="l00057"></a><a class="code" href="a00190.html#a536e766810218cd7d6de0d201dd03ebe">00057</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a536e766810218cd7d6de0d201dd03ebe">FeatureAlias</a>;
72
 
<a name="l00058"></a><a class="code" href="a00190.html#a6f66e39ad96bf52b25126f39459c47dc">00058</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a6f66e39ad96bf52b25126f39459c47dc">FeatureAvatarData</a>;
73
 
<a name="l00059"></a><a class="code" href="a00190.html#af9b6a80e2453f27272859b57cd47f80f">00059</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#af9b6a80e2453f27272859b57cd47f80f">FeatureAvatarToken</a>;
74
 
<a name="l00060"></a><a class="code" href="a00190.html#a06e83ec4d31a506b6812a8afda6a8af5">00060</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a06e83ec4d31a506b6812a8afda6a8af5">FeatureCapabilities</a>;
75
 
<a name="l00061"></a><a class="code" href="a00190.html#a949fd098a4d13311dc4d81c2a1706553">00061</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a949fd098a4d13311dc4d81c2a1706553">FeatureInfo</a>;
76
 
<a name="l00062"></a><a class="code" href="a00190.html#a3e80342afc76406c7c069d96e0cdbac8">00062</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a3e80342afc76406c7c069d96e0cdbac8">FeatureLocation</a>;
77
 
<a name="l00063"></a><a class="code" href="a00190.html#af9098f3f176bfce4fa2628f97d4c9ae3">00063</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#af9098f3f176bfce4fa2628f97d4c9ae3">FeatureSimplePresence</a>;
78
 
<a name="l00064"></a><a class="code" href="a00190.html#adafed65eb8ad4fb16e611ee8fc400d66">00064</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#adafed65eb8ad4fb16e611ee8fc400d66">FeatureAddresses</a>;
79
 
<a name="l00065"></a><a class="code" href="a00190.html#a5210cf171bfb7d9df41c02b285fb24ce">00065</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00190.html#a5210cf171bfb7d9df41c02b285fb24ce">FeatureClientTypes</a>;
80
 
<a name="l00066"></a>00066 
81
 
<a name="l00067"></a><a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">00067</a>     <span class="keyword">enum</span> <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">PresenceState</a> {
82
 
<a name="l00068"></a><a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5baf7076e1e97f86d1c4ebc4ebe290e3c61">00068</a>          <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5baf7076e1e97f86d1c4ebc4ebe290e3c61">PresenceStateNo</a>,
83
 
<a name="l00069"></a><a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5ba9c5f79349a1de47e9734bf77042f0728">00069</a>          <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5ba9c5f79349a1de47e9734bf77042f0728">PresenceStateAsk</a>,
84
 
<a name="l00070"></a><a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5ba7eabc92c3f6ae76802f5bdfac658ebdc">00070</a>          PresenceStateYes
85
 
<a name="l00071"></a>00071     };
86
 
<a name="l00072"></a>00072 
87
 
<a name="l00073"></a><a class="code" href="a00254.html">00073</a>     <span class="keyword">class </span><a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a>
88
 
<a name="l00074"></a>00074     {
89
 
<a name="l00075"></a>00075     <span class="keyword">public</span>:
90
 
<a name="l00076"></a>00076         <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a>();
91
 
<a name="l00077"></a>00077         <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a>(<span class="keyword">const</span> <a class="code" href="a00761.html#ga1bcdf451db0cd688c513eb251f9db826">ContactInfoFieldList</a> &amp;fields);
92
 
<a name="l00078"></a>00078         <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a>(<span class="keyword">const</span> <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a> &amp;other);
93
 
<a name="l00079"></a>00079         ~<a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a>();
94
 
<a name="l00080"></a>00080 
95
 
<a name="l00081"></a><a class="code" href="a00254.html#a77b2fa73a80c4a54d2be600118cea44b">00081</a>         <span class="keywordtype">bool</span> <a class="code" href="a00254.html#a77b2fa73a80c4a54d2be600118cea44b">isValid</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mPriv.constData() != 0; }
96
 
<a name="l00082"></a>00082 
97
 
<a name="l00083"></a>00083         <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a> &amp;other);
98
 
<a name="l00084"></a>00084 
99
 
<a name="l00085"></a>00085         <a class="code" href="a00761.html#ga1bcdf451db0cd688c513eb251f9db826">ContactInfoFieldList</a> fields(<span class="keyword">const</span> QString &amp;name) <span class="keyword">const</span>;
100
 
<a name="l00086"></a>00086 
101
 
<a name="l00087"></a>00087         <a class="code" href="a00761.html#ga1bcdf451db0cd688c513eb251f9db826">ContactInfoFieldList</a> allFields() <span class="keyword">const</span>;
102
 
<a name="l00088"></a>00088 
103
 
<a name="l00089"></a>00089     <span class="keyword">private</span>:
104
 
<a name="l00090"></a><a class="code" href="a00254.html#a15a94ff2bd578e608a94d0a1ba4bd3e0">00090</a>         <span class="keyword">struct </span>Private;
105
 
<a name="l00091"></a>00091         <span class="keyword">friend</span> <span class="keyword">struct </span>Private;
106
 
<a name="l00092"></a>00092         QSharedDataPointer&lt;Private&gt; mPriv;
107
 
<a name="l00093"></a>00093     };
108
 
<a name="l00094"></a>00094 
109
 
<a name="l00095"></a>00095     ~<a class="code" href="a00190.html" title="The Contact class represents a Telepathy contact.">Contact</a>();
110
 
<a name="l00096"></a>00096 
111
 
<a name="l00097"></a>00097     ContactManagerPtr manager() <span class="keyword">const</span>;
112
 
<a name="l00098"></a>00098 
113
 
<a name="l00099"></a>00099     <a class="code" href="a00363.html" title="Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...">ReferencedHandles</a> handle() <span class="keyword">const</span>;
114
 
<a name="l00100"></a>00100 
115
 
<a name="l00101"></a>00101     <span class="comment">// TODO filter: exact, prefix, substring match</span>
116
 
<a name="l00102"></a>00102     QString id() <span class="keyword">const</span>;
117
 
<a name="l00103"></a>00103 
118
 
<a name="l00104"></a>00104     <a class="code" href="a00228.html" title="The Features class represents a list of Feature.">Features</a> requestedFeatures() <span class="keyword">const</span>;
119
 
<a name="l00105"></a>00105     <a class="code" href="a00228.html" title="The Features class represents a list of Feature.">Features</a> actualFeatures() <span class="keyword">const</span>;
120
 
<a name="l00106"></a>00106 
121
 
<a name="l00107"></a>00107     <span class="comment">// TODO filter: exact, prefix, substring match</span>
122
 
<a name="l00108"></a>00108     QString alias() <span class="keyword">const</span>;
123
 
<a name="l00109"></a>00109 
124
 
<a name="l00110"></a>00110     QMap&lt;QString, QString&gt; vcardAddresses() <span class="keyword">const</span>;
125
 
<a name="l00111"></a>00111     QStringList uris() <span class="keyword">const</span>;
126
 
<a name="l00112"></a>00112 
127
 
<a name="l00113"></a>00113     <span class="keywordtype">bool</span> isAvatarTokenKnown() <span class="keyword">const</span>;
128
 
<a name="l00114"></a>00114     QString avatarToken() <span class="keyword">const</span>;
129
 
<a name="l00115"></a>00115     <a class="code" href="a00057.html" title="The AvatarData class represents a Telepathy avatar.">AvatarData</a> avatarData() <span class="keyword">const</span>;
130
 
<a name="l00116"></a>00116     <span class="keywordtype">void</span> requestAvatarData();
131
 
<a name="l00117"></a>00117 
132
 
<a name="l00118"></a>00118     <span class="comment">/*</span>
133
 
<a name="l00119"></a>00119 <span class="comment">     * TODO filter:</span>
134
 
<a name="l00120"></a>00120 <span class="comment">     *  - exact match of presence().type(), presence().status()</span>
135
 
<a name="l00121"></a>00121 <span class="comment">     *  - ANY 1 of a number of presence types/statuses</span>
136
 
<a name="l00122"></a>00122 <span class="comment">     *  - presence().type() greater or less than a set value</span>
137
 
<a name="l00123"></a>00123 <span class="comment">     *  - have/don&#39;t have presence().message() AND exact/prefix/substring</span>
138
 
<a name="l00124"></a>00124 <span class="comment">     */</span>
139
 
<a name="l00125"></a>00125     <a class="code" href="a00332.html" title="The Presence class represents a Telepathy simple presence.">Presence</a> presence() <span class="keyword">const</span>;
140
 
<a name="l00126"></a>00126 
141
 
<a name="l00127"></a>00127     <span class="comment">// TODO filter: the same as Account filtering by caps</span>
142
 
<a name="l00128"></a>00128     <a class="code" href="a00192.html" title="The ContactCapabilities class represents the capabilities of a Contact.">ContactCapabilities</a> capabilities() <span class="keyword">const</span>;
143
 
<a name="l00129"></a>00129 
144
 
<a name="l00130"></a>00130     <span class="comment">// TODO filter: is it available, how accurate, are they near me</span>
145
 
<a name="l00131"></a>00131     <a class="code" href="a00260.html" title="The LocationInfo class represents the location of a Telepathy Contact.">LocationInfo</a> location() <span class="keyword">const</span>;
146
 
<a name="l00132"></a>00132 
147
 
<a name="l00133"></a>00133     <span class="comment">// TODO filter: having a specific field, having ANY field,</span>
148
 
<a name="l00134"></a>00134     <span class="comment">// (field: exact, contents: exact/prefix/substring)</span>
149
 
<a name="l00135"></a>00135     <span class="keywordtype">bool</span> isContactInfoKnown() <span class="keyword">const</span>;
150
 
<a name="l00136"></a>00136     <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">InfoFields</a> infoFields() <span class="keyword">const</span>;
151
 
<a name="l00137"></a>00137     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *refreshInfo();
152
 
<a name="l00138"></a>00138     <a class="code" href="a00314.html" title="The PendingContactInfo class represents the parameters of and the reply to an asynchronous contact in...">PendingContactInfo</a> *requestInfo();
153
 
<a name="l00139"></a>00139 
154
 
<a name="l00140"></a>00140     <span class="comment">/*</span>
155
 
<a name="l00141"></a>00141 <span class="comment">     * Filters on exact values of these, but also the &quot;in your contact list at all or not&quot; usecase</span>
156
 
<a name="l00142"></a>00142 <span class="comment">     */</span>
157
 
<a name="l00143"></a>00143     <span class="keywordtype">bool</span> isSubscriptionStateKnown() <span class="keyword">const</span>;
158
 
<a name="l00144"></a>00144     <span class="keywordtype">bool</span> isSubscriptionRejected() <span class="keyword">const</span>;
159
 
<a name="l00145"></a>00145     <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">PresenceState</a> subscriptionState() <span class="keyword">const</span>;
160
 
<a name="l00146"></a>00146     <span class="keywordtype">bool</span> isPublishStateKnown() <span class="keyword">const</span>;
161
 
<a name="l00147"></a>00147     <span class="keywordtype">bool</span> isPublishCancelled() <span class="keyword">const</span>;
162
 
<a name="l00148"></a>00148     <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">PresenceState</a> publishState() <span class="keyword">const</span>;
163
 
<a name="l00149"></a>00149     QString publishStateMessage() <span class="keyword">const</span>;
164
 
<a name="l00150"></a>00150 
165
 
<a name="l00151"></a>00151     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *requestPresenceSubscription(<span class="keyword">const</span> QString &amp;message = QString());
166
 
<a name="l00152"></a>00152     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *removePresenceSubscription(<span class="keyword">const</span> QString &amp;message = QString());
167
 
<a name="l00153"></a>00153     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *authorizePresencePublication(<span class="keyword">const</span> QString &amp;message = QString());
168
 
<a name="l00154"></a>00154     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *removePresencePublication(<span class="keyword">const</span> QString &amp;message = QString());
169
 
<a name="l00155"></a>00155 
170
 
<a name="l00156"></a>00156     <span class="comment">/*</span>
171
 
<a name="l00157"></a>00157 <span class="comment">     * Filter on being blocked or not</span>
172
 
<a name="l00158"></a>00158 <span class="comment">     */</span>
173
 
<a name="l00159"></a>00159     <span class="keywordtype">bool</span> isBlocked() <span class="keyword">const</span>;
174
 
<a name="l00160"></a>00160     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *block();
175
 
<a name="l00161"></a>00161     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *blockAndReportAbuse();
176
 
<a name="l00162"></a>00162     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *unblock();
177
 
<a name="l00163"></a>00163 
178
 
<a name="l00164"></a>00164     <span class="comment">/*</span>
179
 
<a name="l00165"></a>00165 <span class="comment">     * Filter on the groups they&#39;re in - to show a specific group only</span>
180
 
<a name="l00166"></a>00166 <span class="comment">     *</span>
181
 
<a name="l00167"></a>00167 <span class="comment">     * Also prefix/substring match on ANY of the groups of the contact</span>
182
 
<a name="l00168"></a>00168 <span class="comment">     */</span>
183
 
<a name="l00169"></a>00169     QStringList groups() <span class="keyword">const</span>;
184
 
<a name="l00170"></a>00170     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *addToGroup(<span class="keyword">const</span> QString &amp;group);
185
 
<a name="l00171"></a>00171     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *removeFromGroup(<span class="keyword">const</span> QString &amp;group);
186
 
<a name="l00172"></a>00172 
187
 
<a name="l00173"></a>00173     QStringList clientTypes() <span class="keyword">const</span>;
188
 
<a name="l00174"></a>00174     <a class="code" href="a00326.html" title="The PendingStringList class is a generic subclass of PendingOperation representing a pending D-Bus me...">PendingStringList</a> *requestClientTypes();
189
 
<a name="l00175"></a>00175 
190
 
<a name="l00176"></a>00176 Q_SIGNALS:
191
 
<a name="l00177"></a>00177     <span class="keywordtype">void</span> aliasChanged(<span class="keyword">const</span> QString &amp;alias);
192
 
<a name="l00178"></a>00178 
193
 
<a name="l00179"></a>00179     <span class="keywordtype">void</span> avatarTokenChanged(<span class="keyword">const</span> QString &amp;avatarToken);
194
 
<a name="l00180"></a>00180     <span class="keywordtype">void</span> avatarDataChanged(<span class="keyword">const</span> <a class="code" href="a00057.html" title="The AvatarData class represents a Telepathy avatar.">Tp::AvatarData</a> &amp;avatarData);
195
 
<a name="l00181"></a>00181 
196
 
<a name="l00182"></a>00182     <span class="keywordtype">void</span> presenceChanged(<span class="keyword">const</span> <a class="code" href="a00332.html" title="The Presence class represents a Telepathy simple presence.">Tp::Presence</a> &amp;presence);
197
 
<a name="l00183"></a>00183 
198
 
<a name="l00184"></a>00184     <span class="keywordtype">void</span> capabilitiesChanged(<span class="keyword">const</span> <a class="code" href="a00192.html" title="The ContactCapabilities class represents the capabilities of a Contact.">Tp::ContactCapabilities</a> &amp;caps);
199
 
<a name="l00185"></a>00185 
200
 
<a name="l00186"></a>00186     <span class="keywordtype">void</span> locationUpdated(<span class="keyword">const</span> <a class="code" href="a00260.html" title="The LocationInfo class represents the location of a Telepathy Contact.">Tp::LocationInfo</a> &amp;location);
201
 
<a name="l00187"></a>00187 
202
 
<a name="l00188"></a>00188     <span class="keywordtype">void</span> infoFieldsChanged(<span class="keyword">const</span> <a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">Tp::Contact::InfoFields</a> &amp;infoFields);
203
 
<a name="l00189"></a>00189 
204
 
<a name="l00190"></a>00190     <span class="keywordtype">void</span> subscriptionStateChanged(<a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">Tp::Contact::PresenceState</a> state);
205
 
<a name="l00191"></a>00191 
206
 
<a name="l00192"></a>00192     <span class="keywordtype">void</span> publishStateChanged(<a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">Tp::Contact::PresenceState</a> state, <span class="keyword">const</span> QString &amp;message);
207
 
<a name="l00193"></a>00193 
208
 
<a name="l00194"></a>00194     <span class="keywordtype">void</span> blockStatusChanged(<span class="keywordtype">bool</span> blocked);
209
 
<a name="l00195"></a>00195 
210
 
<a name="l00196"></a>00196     <span class="keywordtype">void</span> addedToGroup(<span class="keyword">const</span> QString &amp;group);
211
 
<a name="l00197"></a>00197     <span class="keywordtype">void</span> removedFromGroup(<span class="keyword">const</span> QString &amp;group);
212
 
<a name="l00198"></a>00198 
213
 
<a name="l00199"></a>00199     <span class="keywordtype">void</span> clientTypesChanged(<span class="keyword">const</span> QStringList &amp;clientTypes);
214
 
<a name="l00200"></a>00200 
215
 
<a name="l00201"></a>00201     <span class="comment">// TODO: consider how the Renaming interface should work and map to Contacts</span>
216
 
<a name="l00202"></a>00202     <span class="comment">// I guess it would be something like:</span>
217
 
<a name="l00203"></a>00203     <span class="comment">// void renamedTo(Tp::ContactPtr)</span>
218
 
<a name="l00204"></a>00204     <span class="comment">// with that contact getting the same features requested as the current one. Or would we rather</span>
219
 
<a name="l00205"></a>00205     <span class="comment">// want to signal that change right away with a handle?</span>
220
 
<a name="l00206"></a>00206 
221
 
<a name="l00207"></a>00207 <span class="keyword">protected</span>:
222
 
<a name="l00208"></a>00208     <a class="code" href="a00190.html" title="The Contact class represents a Telepathy contact.">Contact</a>(<a class="code" href="a00201.html" title="The ContactManager class is responsible for managing contacts.">ContactManager</a> *manager, <span class="keyword">const</span> <a class="code" href="a00363.html" title="Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...">ReferencedHandles</a> &amp;handle,
223
 
<a name="l00209"></a>00209             <span class="keyword">const</span> <a class="code" href="a00228.html" title="The Features class represents a list of Feature.">Features</a> &amp;requestedFeatures, <span class="keyword">const</span> QVariantMap &amp;attributes);
224
 
<a name="l00210"></a>00210 
225
 
<a name="l00211"></a>00211     <span class="keyword">virtual</span> <span class="keywordtype">void</span> augment(<span class="keyword">const</span> <a class="code" href="a00228.html" title="The Features class represents a list of Feature.">Features</a> &amp;requestedFeatures, <span class="keyword">const</span> QVariantMap &amp;attributes);
226
 
<a name="l00212"></a>00212 
227
 
<a name="l00213"></a>00213 <span class="keyword">private</span>:
228
 
<a name="l00214"></a>00214     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> FeatureRosterGroups;
229
 
<a name="l00215"></a>00215 
230
 
<a name="l00216"></a>00216     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveAlias(<span class="keyword">const</span> QString &amp;alias);
231
 
<a name="l00217"></a>00217     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveAvatarToken(<span class="keyword">const</span> QString &amp;avatarToken);
232
 
<a name="l00218"></a>00218     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setAvatarToken(<span class="keyword">const</span> QString &amp;token);
233
 
<a name="l00219"></a>00219     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveAvatarData(<span class="keyword">const</span> <a class="code" href="a00057.html" title="The AvatarData class represents a Telepathy avatar.">AvatarData</a> &amp;);
234
 
<a name="l00220"></a>00220     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveSimplePresence(<span class="keyword">const</span> <a class="code" href="a00383.html">SimplePresence</a> &amp;presence);
235
 
<a name="l00221"></a>00221     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveCapabilities(<span class="keyword">const</span> <a class="code" href="a00761.html#gac19bde94a4bfba9311f1f37fbbdbe05c">RequestableChannelClassList</a> &amp;caps);
236
 
<a name="l00222"></a>00222     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveLocation(<span class="keyword">const</span> QVariantMap &amp;location);
237
 
<a name="l00223"></a>00223     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveInfo(<span class="keyword">const</span> <a class="code" href="a00761.html#ga1bcdf451db0cd688c513eb251f9db826">ContactInfoFieldList</a> &amp;info);
238
 
<a name="l00224"></a>00224     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveAddresses(<span class="keyword">const</span> QMap&lt;QString, QString&gt; &amp;addresses,
239
 
<a name="l00225"></a>00225             <span class="keyword">const</span> QStringList &amp;uris);
240
 
<a name="l00226"></a>00226     TP_QT_NO_EXPORT <span class="keywordtype">void</span> receiveClientTypes(<span class="keyword">const</span> QStringList &amp;clientTypes);
241
 
<a name="l00227"></a>00227 
242
 
<a name="l00228"></a>00228     TP_QT_NO_EXPORT <span class="keyword">static</span> <a class="code" href="a00190.html#ab758b1908d04f9870c8091456f3ddc5b">PresenceState</a> subscriptionStateToPresenceState(uint subscriptionState);
243
 
<a name="l00229"></a>00229     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setSubscriptionState(<a class="code" href="a00757.html#ga6c99f8845100a205c12d66ec117a78de">SubscriptionState</a> state);
244
 
<a name="l00230"></a>00230     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setPublishState(<a class="code" href="a00757.html#ga6c99f8845100a205c12d66ec117a78de">SubscriptionState</a> state, <span class="keyword">const</span> QString &amp;message = QString());
245
 
<a name="l00231"></a>00231     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setBlocked(<span class="keywordtype">bool</span> value);
246
 
<a name="l00232"></a>00232 
247
 
<a name="l00233"></a>00233     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setAddedToGroup(<span class="keyword">const</span> QString &amp;group);
248
 
<a name="l00234"></a>00234     TP_QT_NO_EXPORT <span class="keywordtype">void</span> setRemovedFromGroup(<span class="keyword">const</span> QString &amp;group);
249
 
<a name="l00235"></a>00235 
250
 
<a name="l00236"></a><a class="code" href="a00190.html#a54a11fdc71e1679a42fa0c0e3856673d">00236</a>     <span class="keyword">struct </span>Private;
251
 
<a name="l00237"></a>00237     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00161.html" title="The Connection class represents a Telepathy connection.">Connection</a>;
252
 
<a name="l00238"></a><a class="code" href="a00190.html#a9b869d252cbb8c79ad69967ca2f8e7d7">00238</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00197.html" title="The ContactFactory class is responsible for constructing Contact objects according to application-def...">ContactFactory</a>;
253
 
<a name="l00239"></a><a class="code" href="a00190.html#a47e77d21706e11e895af252dd4105c97">00239</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00201.html" title="The ContactManager class is responsible for managing contacts.">ContactManager</a>;
254
 
<a name="l00240"></a><a class="code" href="a00190.html#a15a94ff2bd578e608a94d0a1ba4bd3e0">00240</a>     <span class="keyword">friend</span> <span class="keyword">struct </span>Private;
255
 
<a name="l00241"></a>00241     Private *mPriv;
256
 
<a name="l00242"></a>00242 };
257
 
<a name="l00243"></a>00243 
258
 
<a name="l00244"></a>00244 } <span class="comment">// Tp</span>
259
 
<a name="l00245"></a>00245 
260
 
<a name="l00246"></a>00246 Q_DECLARE_METATYPE(<a class="code" href="a00254.html" title="The Contact::InfoFields class represents the information of a Telepathy contact.">Tp::Contact::InfoFields</a>);
261
 
<a name="l00247"></a>00247 
262
 
<a name="l00248"></a>00248 <span class="preprocessor">#endif</span>
263
 
</pre></div></div><!-- contents -->
264
 
<p /><address><hr /><div align="center">
265
 
<table width="100%" cellspacing="0" border="0"><tr class="address">
266
 
<td width="30%">Copyright &copy; 2008-2011 Collabora Ltd. and Nokia Corporation</td>
267
 
<td width="30%" align="right"><div align="right">Telepathy-Qt 0.9.3</div></td>
268
 
</tr></table></div></address>
269
 
</body>
270
 
</html>