This file is indexed.

/usr/share/gtk-doc/html/gdata/GDataContactsQuery.html is in libgdata-doc 0.12.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataContactsQuery</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch15.html" title="Google Contacts API">
<link rel="prev" href="GDataContactsService.html" title="GDataContactsService">
<link rel="next" href="GDataContactsContact.html" title="GDataContactsContact">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GDataContactsService.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch15.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GData Reference Manual</th>
<td><a accesskey="n" href="GDataContactsContact.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GDataContactsQuery.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GDataContactsQuery.description" class="shortcut">Description</a>
                   | 
                  <a href="#GDataContactsQuery.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GDataContactsQuery.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GDataContactsQuery"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataContactsQuery.top_of_page"></a>GDataContactsQuery</span></h2>
<p>GDataContactsQuery — GData Contacts query object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataContactsQuery.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="GDataContactsQuery.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gdata/services/contacts/gdata-contacts-query.h&gt;

                    <a class="link" href="GDataContactsQuery.html#GDataContactsQuery-struct" title="GDataContactsQuery">GDataContactsQuery</a>;
                    <a class="link" href="GDataContactsQuery.html#GDataContactsQueryClass" title="GDataContactsQueryClass">GDataContactsQueryClass</a>;
<a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="returnvalue">GDataContactsQuery</span></a> * <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-new" title="gdata_contacts_query_new ()">gdata_contacts_query_new</a>           (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);
<a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="returnvalue">GDataContactsQuery</span></a> * <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-new-with-limits" title="gdata_contacts_query_new_with_limits ()">gdata_contacts_query_new_with_limits</a>
                                                        (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);
const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-get-order-by" title="gdata_contacts_query_get_order_by ()">gdata_contacts_query_get_order_by</a>   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-set-order-by" title="gdata_contacts_query_set_order_by ()">gdata_contacts_query_set_order_by</a>   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order_by</code></em>);
const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-get-sort-order" title="gdata_contacts_query_get_sort_order ()">gdata_contacts_query_get_sort_order</a> (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-set-sort-order" title="gdata_contacts_query_set_sort_order ()">gdata_contacts_query_set_sort_order</a> (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sort_order</code></em>);
<a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-show-deleted" title="gdata_contacts_query_show_deleted ()">gdata_contacts_query_show_deleted</a>   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-set-show-deleted" title="gdata_contacts_query_set_show_deleted ()">gdata_contacts_query_set_show_deleted</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_deleted</code></em>);
const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-get-group" title="gdata_contacts_query_get_group ()">gdata_contacts_query_get_group</a>      (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataContactsQuery.html#gdata-contacts-query-set-group" title="gdata_contacts_query_set_group ()">gdata_contacts_query_set_group</a>      (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GDataContactsQuery.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a class="link" href="GDataQuery.html" title="GDataQuery">GDataQuery</a>
         +----GDataContactsQuery
</pre>
</div>
<div class="refsect1">
<a name="GDataContactsQuery.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--group" title='The "group" property'>group</a>"                    <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--order-by" title='The "order-by" property'>order-by</a>"                 <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--show-deleted" title='The "show-deleted" property'>show-deleted</a>"             <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--sort-order" title='The "sort-order" property'>sort-order</a>"               <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GDataContactsQuery.description"></a><h2>Description</h2>
<p>
<a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> represents a collection of query parameters specific to the Google Contacts service, which go above and beyond
those catered for by <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a>.
</p>
<p>
For more information on the custom GData query parameters supported by <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>, see the <a class="ulink" href="http://code.google.com/apis/contacts/docs/2.0/reference.html#Parameters" target="_top">online documentation</a>.
</p>
<p>
</p>
<div class="example">
<a name="id450908"></a><p class="title"><b>Example 19. Querying for Contacts</b></p>
<div class="example-contents">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GDataContactsService</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">service</span><span class="symbol">;</span>
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group_id</span><span class="symbol">;</span>
<span class="usertype">GDataContactsQuery</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">query</span><span class="symbol">;</span>
<span class="usertype">GDataFeed</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">feed</span><span class="symbol">;</span>
<span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">i</span><span class="symbol">;</span>
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>

<span class="comment">/* Create a service and return the group we're querying within. */</span>
<span class="normal">service </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_contacts_service</span><span class="normal"> </span><span class="symbol">();</span>
<span class="normal">group_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function">query_user_for_group</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>

<span class="comment">/* Create the query to use. We're going to query for contacts which match the search term "John" within a given group,</span>
<span class="comment"> * including deleted contacts. The group is specified by its ID. */</span>
<span class="normal">query </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataContactsQuery.html#gdata-contacts-query-new">gdata_contacts_query_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"John"</span><span class="symbol">);</span>
<span class="function"><a href="GDataContactsQuery.html#gdata-contacts-query-set-show-deleted">gdata_contacts_query_set_show_deleted</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">query</span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
<span class="function"><a href="GDataContactsQuery.html#gdata-contacts-query-set-group">gdata_contacts_query_set_group</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">query</span><span class="symbol">,</span><span class="normal"> group_id</span><span class="symbol">);</span>

<span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">group_id</span><span class="symbol">);</span>

<span class="comment">/* Execute the query */</span>
<span class="normal">feed </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataContactsService.html#gdata-contacts-service-query-contacts">gdata_contacts_service_query_contacts</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> query</span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>

<span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">query</span><span class="symbol">);</span>
<span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>

<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal">    </span><span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error querying for contacts: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
<span class="normal">    </span><span class="keyword">return</span><span class="symbol">;</span>
<span class="cbracket">}</span>

<span class="comment">/* Iterate through the returned contacts and do something with them */</span>
<span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataFeed.html#gdata-feed-get-entries">gdata_feed_get_entries</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">feed</span><span class="symbol">);</span><span class="normal"> i </span><span class="symbol">!=</span><span class="normal"> <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol">=</span><span class="normal"> i</span><span class="symbol">-&gt;</span><span class="normal">next</span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal">    </span><span class="usertype">GDataContactsContact</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contact </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GDATA_CONTACTS_CONTACT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i</span><span class="symbol">-&gt;</span><span class="normal">data</span><span class="symbol">);</span>

<span class="normal">    </span><span class="comment">/* Do something with the contact here, such as insert it into a UI */</span>
<span class="cbracket">}</span>

<span class="function"><a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">feed</span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

</div>
<p><br class="example-break">
</p>
</div>
<div class="refsect1">
<a name="GDataContactsQuery.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GDataContactsQuery-struct"></a><h3>GDataContactsQuery</h3>
<pre class="programlisting">typedef struct _GDataContactsQuery GDataContactsQuery;</pre>
<p>
All the fields in the <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> structure are private and should never be accessed directly.
</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataContactsQueryClass"></a><h3>GDataContactsQueryClass</h3>
<pre class="programlisting">typedef struct {
} GDataContactsQueryClass;
</pre>
<p>
All the fields in the <a class="link" href="GDataContactsQuery.html#GDataContactsQueryClass" title="GDataContactsQueryClass"><span class="type">GDataContactsQueryClass</span></a> structure are private and should never be accessed directly.
</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-new"></a><h3>gdata_contacts_query_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="returnvalue">GDataContactsQuery</span></a> * gdata_contacts_query_new           (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);</pre>
<p>
Creates a new <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title='The "q" property'><span class="type">"q"</span></a> property set to <em class="parameter"><code>q</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>q</code></em> :</span></p></td>
<td>a query string, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-new-with-limits"></a><h3>gdata_contacts_query_new_with_limits ()</h3>
<pre class="programlisting"><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="returnvalue">GDataContactsQuery</span></a> * gdata_contacts_query_new_with_limits
                                                        (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);</pre>
<p>
Creates a new <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title='The "q" property'><span class="type">"q"</span></a> property set to <em class="parameter"><code>q</code></em>, and the limits <em class="parameter"><code>start_index</code></em> and <em class="parameter"><code>max_results</code></em>
applied.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>q</code></em> :</span></p></td>
<td>a query string, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start_index</code></em> :</span></p></td>
<td>a one-based start index for the results, or <code class="code">0</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_results</code></em> :</span></p></td>
<td>the maximum number of results to return, or <code class="code">0</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-get-order-by"></a><h3>gdata_contacts_query_get_order_by ()</h3>
<pre class="programlisting">const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_contacts_query_get_order_by   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--order-by" title='The "order-by" property'><span class="type">"order-by"</span></a> property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the order by property, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-set-order-by"></a><h3>gdata_contacts_query_set_order_by ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_contacts_query_set_order_by   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order_by</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--order-by" title='The "order-by" property'><span class="type">"order-by"</span></a> property of the <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> to the new order by string, <em class="parameter"><code>order_by</code></em>.
</p>
<p>
Set <em class="parameter"><code>order_by</code></em> to <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>order_by</code></em> :</span></p></td>
<td>a new order by string, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-get-sort-order"></a><h3>gdata_contacts_query_get_sort_order ()</h3>
<pre class="programlisting">const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_contacts_query_get_sort_order (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--sort-order" title='The "sort-order" property'><span class="type">"sort-order"</span></a> property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the sort order property, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-set-sort-order"></a><h3>gdata_contacts_query_set_sort_order ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_contacts_query_set_sort_order (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sort_order</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--sort-order" title='The "sort-order" property'><span class="type">"sort-order"</span></a> property of the <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> to the new sort order string, <em class="parameter"><code>sort_order</code></em>.
</p>
<p>
Set <em class="parameter"><code>sort_order</code></em> to <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sort_order</code></em> :</span></p></td>
<td>a new sort order string, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-show-deleted"></a><h3>gdata_contacts_query_show_deleted ()</h3>
<pre class="programlisting"><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdata_contacts_query_show_deleted   (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--show-deleted" title='The "show-deleted" property'><span class="type">"show-deleted"</span></a> property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if deleted contacts should be shown, <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-set-show-deleted"></a><h3>gdata_contacts_query_set_show_deleted ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_contacts_query_set_show_deleted
                                                        (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_deleted</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--show-deleted" title='The "show-deleted" property'><span class="type">"show-deleted"</span></a> property of the <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_deleted</code></em> :</span></p></td>
<td>
<a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show deleted contacts, <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-get-group"></a><h3>gdata_contacts_query_get_group ()</h3>
<pre class="programlisting">const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_contacts_query_get_group      (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--group" title='The "group" property'><span class="type">"group"</span></a> property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the group property, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-contacts-query-set-group"></a><h3>gdata_contacts_query_set_group ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_contacts_query_set_group      (<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataContactsQuery.html#GDataContactsQuery--group" title='The "group" property'><span class="type">"group"</span></a> property of the <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> to the new group ID URI, <em class="parameter"><code>group</code></em>.
</p>
<p>
Set <em class="parameter"><code>group</code></em> to <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a new group ID URI, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
</div>
<div class="refsect1">
<a name="GDataContactsQuery.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataContactsQuery--group"></a><h3>The <code class="literal">"group"</code> property</h3>
<pre class="programlisting">  "group"                    <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Constrains the results to only those belonging to the group specified. The value of this parameter
should be a group ID URI.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataContactsQuery--order-by"></a><h3>The <code class="literal">"order-by"</code> property</h3>
<pre class="programlisting">  "order-by"                 <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Sorting criterion. The only supported value is <code class="literal">lastmodified</code>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataContactsQuery--show-deleted"></a><h3>The <code class="literal">"show-deleted"</code> property</h3>
<pre class="programlisting">  "show-deleted"             <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Whether to include deleted contacts in the query feed. Deleted contacts return <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
from <a class="link" href="GDataContactsContact.html#gdata-contacts-contact-is-deleted" title="gdata_contacts_contact_is_deleted ()"><code class="function">gdata_contacts_contact_is_deleted()</code></a>, and have no other information. They do not
normally appear in query results.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataContactsQuery--sort-order"></a><h3>The <code class="literal">"sort-order"</code> property</h3>
<pre class="programlisting">  "sort-order"               <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Sorting order direction. Can be either <code class="literal">ascending</code> or <code class="literal">descending</code>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.2.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>