aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/doc/html/class_context_property_info.html
blob: e48c782c7705d06abe07d998823a0852da6c5af1 (plain)
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
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libcontextsubscriber: ContextPropertyInfo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ContextPropertyInfo Class Reference</h1><!-- doxytag: class="ContextPropertyInfo" -->A class to introspect a context property details.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="contextpropertyinfo_8h-source.html">contextpropertyinfo.h</a>&gt;</code>
<p>

<p>
<a href="class_context_property_info-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#19bb4eb5067f8bd9504db7733b02be26">providerChanged</a> (const QString &amp;newProvider)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the provider of the key changes.  <a href="#19bb4eb5067f8bd9504db7733b02be26"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#5c03f07e13e9decec21d9bcc415bd35c">providerDBusTypeChanged</a> (QDBusConnection::BusType newBusType)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the bus type of provider of the key changes.  <a href="#5c03f07e13e9decec21d9bcc415bd35c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#ffead559621ed710667dddafd240db58">typeChanged</a> (const QString &amp;newType)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the key type changes.  <a href="#ffead559621ed710667dddafd240db58"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#9d4c44c032c884821a3cc643f759cbb2">existsChanged</a> (bool exists)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the key existance in the registry changes.  <a href="#9d4c44c032c884821a3cc643f759cbb2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#37c67d07a2f0c361378ac79e6589a968">providedChanged</a> (bool provided)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the key gets a provider or loses a provider.  <a href="#37c67d07a2f0c361378ac79e6589a968"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#9523b5b197a619e783b8ba3780a391aa">pluginChanged</a> (QString plugin, QString constructionString)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when the libcontextsubscriber plugin providing the key changes, or the construction parameter to give to the plugin changes.  <a href="#9523b5b197a619e783b8ba3780a391aa"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#dd1b6db4bfb5c36cd6ae9b9352112c4c">ContextPropertyInfo</a> (const QString &amp;key, QObject *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new <a class="el" href="class_context_property_info.html" title="A class to introspect a context property details.">ContextPropertyInfo</a> for <em>key</em> with the given <em>parent</em>.  <a href="#dd1b6db4bfb5c36cd6ae9b9352112c4c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#1c06eaa93db43664c42435c4a0394d8d">~ContextPropertyInfo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the object.  <a href="#1c06eaa93db43664c42435c4a0394d8d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#81b41c6e79e7914c78de43a0dc642eb9">key</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the full name of the introspected key.  <a href="#81b41c6e79e7914c78de43a0dc642eb9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#d8b0cd1c2e29b63a0a672fd407ce4150">doc</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the doc (documentation) for the introspected key.  <a href="#d8b0cd1c2e29b63a0a672fd407ce4150"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#7f8e0cc9c8439e6ec109a16a80a2d3fc">type</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the type name for the introspected key.  <a href="#7f8e0cc9c8439e6ec109a16a80a2d3fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#c5540a24a4610bb641f8e64a48d4f356">exists</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the key exists in the registry.  <a href="#c5540a24a4610bb641f8e64a48d4f356"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#9d270042f069bafc0f994b3b19804d8a">provided</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the key is provided by someone.  <a href="#9d270042f069bafc0f994b3b19804d8a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#f2e6ee62ab7203f3750dc9851bf67868">providerDBusName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the dbus name of the provider supplying this property/key.  <a href="#f2e6ee62ab7203f3750dc9851bf67868"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QDBusConnection::BusType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#ee09f09db9cc631bc3d175cae7f0f671">providerDBusType</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the bus type of the provider supplying this property/key.  <a href="#ee09f09db9cc631bc3d175cae7f0f671"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#b67e0d20a267bae467bd449358273fbc">plugin</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the name of the plugin supplying this property.  <a href="#b67e0d20a267bae467bd449358273fbc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#c638ba6bd9336c58174fa8bb20fa7d4e">constructionString</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the construction parameter for the Provider supplying this property.  <a href="#c638ba6bd9336c58174fa8bb20fa7d4e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#7e8ce934ea7a6441bd1c8131f9a2e102">onKeyDataChanged</a> (const QString &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This slot is connected to the <em>keyDataChanged</em> signal of the actual infobackend instance.  <a href="#7e8ce934ea7a6441bd1c8131f9a2e102"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#c3d71c5189748d3eee041c82864f995f">keyName</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The name of the key his <a class="el" href="class_context_property_info.html" title="A class to introspect a context property details.">ContextPropertyInfo</a> represents.  <a href="#c3d71c5189748d3eee041c82864f995f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#d0b09926f8b67dd4bb2d9f2bc2a2c601">cachedDoc</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The documentation of the key.  <a href="#d0b09926f8b67dd4bb2d9f2bc2a2c601"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#cf9a9eaef12257a6086db1f19d6cec16">cachedType</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached (stored) type of the key.  <a href="#cf9a9eaef12257a6086db1f19d6cec16"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#9f9952efdd9233f8866be935ce99b77d">cachedPlugin</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached name of the plugin providing the key.  <a href="#9f9952efdd9233f8866be935ce99b77d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#ea6a129d247681b419d4c223416a83f0">cachedConstructionString</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached construction string for the Provider.  <a href="#ea6a129d247681b419d4c223416a83f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#947a8bb92256db235c15536254bca04e">cachedExists</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached state of the key (existance).  <a href="#947a8bb92256db235c15536254bca04e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#147080cf2a90aa4883c74e7d43af3dad">cachedProvided</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached state of the key (whether someone provides it).  <a href="#147080cf2a90aa4883c74e7d43af3dad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QMutex&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_property_info.html#8f23781855ffcfbcbd979d9e410c493e">cacheLock</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock for the cache.  <a href="#8f23781855ffcfbcbd979d9e410c493e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class to introspect a context property details. 
<p>
This class is used to obtain information about a given key in the context registry. The information can be provided either from xml files or from a cdb database. It's possible to query the type, the provider and the documentation of the given key/property. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="dd1b6db4bfb5c36cd6ae9b9352112c4c"></a><!-- doxytag: member="ContextPropertyInfo::ContextPropertyInfo" ref="dd1b6db4bfb5c36cd6ae9b9352112c4c" args="(const QString &amp;key, QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ContextPropertyInfo::ContextPropertyInfo           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a new <a class="el" href="class_context_property_info.html" title="A class to introspect a context property details.">ContextPropertyInfo</a> for <em>key</em> with the given <em>parent</em>. 
<p>
The object can be used to perform introspection on the given <em>key</em>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The full name of the key. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="1c06eaa93db43664c42435c4a0394d8d"></a><!-- doxytag: member="ContextPropertyInfo::~ContextPropertyInfo" ref="1c06eaa93db43664c42435c4a0394d8d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ContextPropertyInfo::~ContextPropertyInfo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destroys the object. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c638ba6bd9336c58174fa8bb20fa7d4e"></a><!-- doxytag: member="ContextPropertyInfo::constructionString" ref="c638ba6bd9336c58174fa8bb20fa7d4e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::constructionString           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the construction parameter for the Provider supplying this property. 
<p>

</div>
</div><p>
<a class="anchor" name="d8b0cd1c2e29b63a0a672fd407ce4150"></a><!-- doxytag: member="ContextPropertyInfo::doc" ref="d8b0cd1c2e29b63a0a672fd407ce4150" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::doc           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the doc (documentation) for the introspected key. 
<p>

</div>
</div><p>
<a class="anchor" name="c5540a24a4610bb641f8e64a48d4f356"></a><!-- doxytag: member="ContextPropertyInfo::exists" ref="c5540a24a4610bb641f8e64a48d4f356" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ContextPropertyInfo::exists           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the key exists in the registry. 
<p>

</div>
</div><p>
<a class="anchor" name="9d4c44c032c884821a3cc643f759cbb2"></a><!-- doxytag: member="ContextPropertyInfo::existsChanged" ref="9d4c44c032c884821a3cc643f759cbb2" args="(bool exists)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::existsChanged           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>exists</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the key existance in the registry changes. 
<p>
The <em>exists</em> is the new state of the introspected key. This is a strict signal - it's emitted only when there was an actual change in the state. Using this signal you can wait (watch) for various keys to become available. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>exists</em>&nbsp;</td><td>The new state of the key. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="81b41c6e79e7914c78de43a0dc642eb9"></a><!-- doxytag: member="ContextPropertyInfo::key" ref="81b41c6e79e7914c78de43a0dc642eb9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::key           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the full name of the introspected key. 
<p>

</div>
</div><p>
<a class="anchor" name="7e8ce934ea7a6441bd1c8131f9a2e102"></a><!-- doxytag: member="ContextPropertyInfo::onKeyDataChanged" ref="7e8ce934ea7a6441bd1c8131f9a2e102" args="(const QString &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::onKeyDataChanged           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This slot is connected to the <em>keyDataChanged</em> signal of the actual infobackend instance. 
<p>
It's executed on every change to any of the keys. We first check if the data concerns us. Next we update the cached values and fire the actual signals. 
</div>
</div><p>
<a class="anchor" name="b67e0d20a267bae467bd449358273fbc"></a><!-- doxytag: member="ContextPropertyInfo::plugin" ref="b67e0d20a267bae467bd449358273fbc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::plugin           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the name of the plugin supplying this property. 
<p>

</div>
</div><p>
<a class="anchor" name="9523b5b197a619e783b8ba3780a391aa"></a><!-- doxytag: member="ContextPropertyInfo::pluginChanged" ref="9523b5b197a619e783b8ba3780a391aa" args="(QString plugin, QString constructionString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::pluginChanged           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>plugin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>constructionString</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the libcontextsubscriber plugin providing the key changes, or the construction parameter to give to the plugin changes. 
<p>
. The <em>plugin</em> is the name of the new plugin providing the key and the <em>constructionString</em> is the new construction parameter to give to the plugin. 
</div>
</div><p>
<a class="anchor" name="9d270042f069bafc0f994b3b19804d8a"></a><!-- doxytag: member="ContextPropertyInfo::provided" ref="9d270042f069bafc0f994b3b19804d8a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ContextPropertyInfo::provided           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the key is provided by someone. 
<p>

</div>
</div><p>
<a class="anchor" name="37c67d07a2f0c361378ac79e6589a968"></a><!-- doxytag: member="ContextPropertyInfo::providedChanged" ref="37c67d07a2f0c361378ac79e6589a968" args="(bool provided)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::providedChanged           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>provided</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the key gets a provider or loses a provider. 
<p>
The <em>provided</em> is the new state of the introspected key. This is a strict signal - it's emitted only when there was an actual change in the state. Using this signal you can wait (watch) for various keys to become available. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>provided</em>&nbsp;</td><td>The new state of the key. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="19bb4eb5067f8bd9504db7733b02be26"></a><!-- doxytag: member="ContextPropertyInfo::providerChanged" ref="19bb4eb5067f8bd9504db7733b02be26" args="(const QString &amp;newProvider)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::providerChanged           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>newProvider</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the provider of the key changes. 
<p>
The <em>newProvider</em> contains the name of the new provider. This is a strict signal - it's emitted only when there was an actual change in the value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newProvider</em>&nbsp;</td><td>The DBus name of the new provider. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="f2e6ee62ab7203f3750dc9851bf67868"></a><!-- doxytag: member="ContextPropertyInfo::providerDBusName" ref="f2e6ee62ab7203f3750dc9851bf67868" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::providerDBusName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the dbus name of the provider supplying this property/key. 
<p>
This function is maintained for backwards compatibility. 
</div>
</div><p>
<a class="anchor" name="ee09f09db9cc631bc3d175cae7f0f671"></a><!-- doxytag: member="ContextPropertyInfo::providerDBusType" ref="ee09f09db9cc631bc3d175cae7f0f671" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QDBusConnection::BusType ContextPropertyInfo::providerDBusType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the bus type of the provider supplying this property/key. 
<p>
Ie. if it's a session bus or a system bus. This function is maintained for backwards compatibility. 
</div>
</div><p>
<a class="anchor" name="5c03f07e13e9decec21d9bcc415bd35c"></a><!-- doxytag: member="ContextPropertyInfo::providerDBusTypeChanged" ref="5c03f07e13e9decec21d9bcc415bd35c" args="(QDBusConnection::BusType newBusType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::providerDBusTypeChanged           </td>
          <td>(</td>
          <td class="paramtype">QDBusConnection::BusType&nbsp;</td>
          <td class="paramname"> <em>newBusType</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the bus type of provider of the key changes. 
<p>
The <em>newBusType</em> is the type of new bus This is a strict signal - it's emitted only when there was an actual change in the value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newBusType</em>&nbsp;</td><td>The DBus bus type of the provider. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="7f8e0cc9c8439e6ec109a16a80a2d3fc"></a><!-- doxytag: member="ContextPropertyInfo::type" ref="7f8e0cc9c8439e6ec109a16a80a2d3fc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ContextPropertyInfo::type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the type name for the introspected key. 
<p>

</div>
</div><p>
<a class="anchor" name="ffead559621ed710667dddafd240db58"></a><!-- doxytag: member="ContextPropertyInfo::typeChanged" ref="ffead559621ed710667dddafd240db58" args="(const QString &amp;newType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextPropertyInfo::typeChanged           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>newType</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the key type changes. 
<p>
The <em>newType</em> is the new type of the introspected key. This is a strict signal - it's emitted only when there was an actual change in the value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newType</em>&nbsp;</td><td>The new type of the key. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="ea6a129d247681b419d4c223416a83f0"></a><!-- doxytag: member="ContextPropertyInfo::cachedConstructionString" ref="ea6a129d247681b419d4c223416a83f0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_context_property_info.html#ea6a129d247681b419d4c223416a83f0">ContextPropertyInfo::cachedConstructionString</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cached construction string for the Provider. 
<p>

</div>
</div><p>
<a class="anchor" name="d0b09926f8b67dd4bb2d9f2bc2a2c601"></a><!-- doxytag: member="ContextPropertyInfo::cachedDoc" ref="d0b09926f8b67dd4bb2d9f2bc2a2c601" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_context_property_info.html#d0b09926f8b67dd4bb2d9f2bc2a2c601">ContextPropertyInfo::cachedDoc</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The documentation of the key. 
<p>

</div>
</div><p>
<a class="anchor" name="947a8bb92256db235c15536254bca04e"></a><!-- doxytag: member="ContextPropertyInfo::cachedExists" ref="947a8bb92256db235c15536254bca04e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_context_property_info.html#947a8bb92256db235c15536254bca04e">ContextPropertyInfo::cachedExists</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cached state of the key (existance). 
<p>

</div>
</div><p>
<a class="anchor" name="9f9952efdd9233f8866be935ce99b77d"></a><!-- doxytag: member="ContextPropertyInfo::cachedPlugin" ref="9f9952efdd9233f8866be935ce99b77d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_context_property_info.html#9f9952efdd9233f8866be935ce99b77d">ContextPropertyInfo::cachedPlugin</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cached name of the plugin providing the key. 
<p>

</div>
</div><p>
<a class="anchor" name="147080cf2a90aa4883c74e7d43af3dad"></a><!-- doxytag: member="ContextPropertyInfo::cachedProvided" ref="147080cf2a90aa4883c74e7d43af3dad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_context_property_info.html#147080cf2a90aa4883c74e7d43af3dad">ContextPropertyInfo::cachedProvided</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cached state of the key (whether someone provides it). 
<p>

</div>
</div><p>
<a class="anchor" name="cf9a9eaef12257a6086db1f19d6cec16"></a><!-- doxytag: member="ContextPropertyInfo::cachedType" ref="cf9a9eaef12257a6086db1f19d6cec16" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_context_property_info.html#cf9a9eaef12257a6086db1f19d6cec16">ContextPropertyInfo::cachedType</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cached (stored) type of the key. 
<p>

</div>
</div><p>
<a class="anchor" name="8f23781855ffcfbcbd979d9e410c493e"></a><!-- doxytag: member="ContextPropertyInfo::cacheLock" ref="8f23781855ffcfbcbd979d9e410c493e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMutex <a class="el" href="class_context_property_info.html#8f23781855ffcfbcbd979d9e410c493e">ContextPropertyInfo::cacheLock</a><code> [mutable, private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Lock for the cache. 
<p>

</div>
</div><p>
<a class="anchor" name="c3d71c5189748d3eee041c82864f995f"></a><!-- doxytag: member="ContextPropertyInfo::keyName" ref="c3d71c5189748d3eee041c82864f995f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_context_property_info.html#c3d71c5189748d3eee041c82864f995f">ContextPropertyInfo::keyName</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The name of the key his <a class="el" href="class_context_property_info.html" title="A class to introspect a context property details.">ContextPropertyInfo</a> represents. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="contextpropertyinfo_8h-source.html">contextpropertyinfo.h</a><li><a class="el" href="contextpropertyinfo_8cpp.html">contextpropertyinfo.cpp</a><li><a class="el" href="mocs_8cpp.html">mocs.cpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 21 16:36:35 2009 for libcontextsubscriber by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>