51
51
<a class="link" href="GDataContactsQuery.html#GDataContactsQuery-struct" title="GDataContactsQuery">GDataContactsQuery</a>;
52
52
<a class="link" href="GDataContactsQuery.html#GDataContactsQueryClass" title="GDataContactsQueryClass">GDataContactsQueryClass</a>;
53
<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/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);
53
<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>);
54
54
<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>
55
(<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
56
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>,
57
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);
58
const <a href="/opt/gnome2/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>);
55
(<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>,
56
<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>,
57
<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>);
58
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>);
59
59
<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>,
60
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order_by</code></em>);
61
const <a href="/opt/gnome2/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>);
60
<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>);
61
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>);
62
62
<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>,
63
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sort_order</code></em>);
64
<a href="/opt/gnome2/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>);
63
<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>);
64
<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>);
65
65
<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>
66
66
(<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
67
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_deleted</code></em>);
68
const <a href="/opt/gnome2/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>);
67
<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>);
68
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>);
69
69
<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>,
70
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group</code></em>);
70
<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>);
73
73
<div class="refsect1">
74
74
<a name="GDataContactsQuery.object-hierarchy"></a><h2>Object Hierarchy</h2>
75
75
<pre class="synopsis">
76
<a href="/opt/gnome2/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
76
<a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
77
77
+----<a class="link" href="GDataQuery.html" title="GDataQuery">GDataQuery</a>
78
78
+----GDataContactsQuery
81
81
<div class="refsect1">
82
82
<a name="GDataContactsQuery.properties"></a><h2>Properties</h2>
83
83
<pre class="synopsis">
84
"<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--group" title='The "group" property'>group</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
85
"<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--order-by" title='The "order-by" property'>order-by</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
86
"<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--show-deleted" title='The "show-deleted" property'>show-deleted</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
87
"<a class="link" href="GDataContactsQuery.html#GDataContactsQuery--sort-order" title='The "sort-order" property'>sort-order</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
84
"<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
85
"<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
86
"<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
87
"<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
90
90
<div class="refsect1">
97
97
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>.
101
<div class="example">
102
<a name="id631349"></a><p class="title"><b>Example 16. Querying for Contacts</b></p>
103
<div class="example-contents">
104
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
107
<td class="listing_lines" align="right"><pre>1
146
<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>
147
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group_id</span><span class="symbol">;</span>
148
<span class="usertype">GDataContactsQuery</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">query</span><span class="symbol">;</span>
149
<span class="usertype">GDataFeed</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">feed</span><span class="symbol">;</span>
150
<span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">i</span><span class="symbol">;</span>
151
<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>
153
<span class="comment">/* Create a service and return the group we're querying within. */</span>
154
<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>
155
<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>
157
<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>
158
<span class="comment"> * including deleted contacts. The group is specified by its ID. */</span>
159
<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>
160
<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>
161
<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>
163
<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>
165
<span class="comment">/* Execute the query */</span>
166
<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">&</span><span class="normal">error</span><span class="symbol">);</span>
168
<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>
169
<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>
171
<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>
172
<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">-></span><span class="normal">message</span><span class="symbol">);</span>
173
<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>
174
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
175
<span class="cbracket">}</span>
177
<span class="comment">/* Iterate through the returned contacts and do something with them */</span>
178
<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">-></span><span class="normal">next</span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
179
<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">-></span><span class="normal">data</span><span class="symbol">);</span>
181
<span class="normal"> </span><span class="comment">/* Do something with the contact here, such as insert it into a UI */</span>
182
<span class="cbracket">}</span>
184
<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>
191
<p><br class="example-break">
100
194
<div class="refsect1">
101
195
<a name="GDataContactsQuery.details"></a><h2>Details</h2>
146
240
<div class="refsect2">
147
241
<a name="gdata-contacts-query-new-with-limits"></a><h3>gdata_contacts_query_new_with_limits ()</h3>
148
242
<pre class="programlisting"><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="returnvalue">GDataContactsQuery</span></a> * gdata_contacts_query_new_with_limits
149
(<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
150
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>,
151
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);</pre>
243
(<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>,
244
<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>,
245
<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>
153
247
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>
207
301
<div class="refsect2">
208
302
<a name="gdata-contacts-query-set-order-by"></a><h3>gdata_contacts_query_set_order_by ()</h3>
209
303
<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>,
210
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order_by</code></em>);</pre>
304
<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>
212
306
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>.
215
Set <em class="parameter"><code>order_by</code></em> to <a href="/opt/gnome2/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.
309
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.
217
311
<div class="variablelist"><table border="0">
218
312
<col align="left" valign="top">
258
352
<div class="refsect2">
259
353
<a name="gdata-contacts-query-set-sort-order"></a><h3>gdata_contacts_query_set_sort_order ()</h3>
260
354
<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>,
261
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sort_order</code></em>);</pre>
355
<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>
263
357
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>.
266
Set <em class="parameter"><code>sort_order</code></em> to <a href="/opt/gnome2/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.
360
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.
268
362
<div class="variablelist"><table border="0">
269
363
<col align="left" valign="top">
311
405
<a name="gdata-contacts-query-set-show-deleted"></a><h3>gdata_contacts_query_set_show_deleted ()</h3>
312
406
<pre class="programlisting"><span class="returnvalue">void</span> gdata_contacts_query_set_show_deleted
313
407
(<em class="parameter"><code><a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery"><span class="type">GDataContactsQuery</span></a> *self</code></em>,
314
<em class="parameter"><code><a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_deleted</code></em>);</pre>
408
<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>
316
410
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>.
359
453
<div class="refsect2">
360
454
<a name="gdata-contacts-query-set-group"></a><h3>gdata_contacts_query_set_group ()</h3>
361
455
<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>,
362
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *group</code></em>);</pre>
456
<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>
364
458
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>.
367
Set <em class="parameter"><code>group</code></em> to <a href="/opt/gnome2/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.
461
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.
369
463
<div class="variablelist"><table border="0">
370
464
<col align="left" valign="top">
410
504
<div class="refsect2">
411
505
<a name="GDataContactsQuery--show-deleted"></a><h3>The <code class="literal">"show-deleted"</code> property</h3>
412
<pre class="programlisting"> "show-deleted" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
506
<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>
414
Whether to include deleted contacts in the query feed. Deleted contacts return <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
508
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>
415
509
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
416
510
normally appear in query results.