aboutsummaryrefslogtreecommitdiff
path: root/libcontextprovider/doc/html/class_context_provider_1_1_subscriber_adaptor.html
blob: e938d8c1073fcc98a7fa4bd86be39c5322e6ba71 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libcontextprovider: ContextProvider::SubscriberAdaptor 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 class="navpath"><a class="el" href="namespace_context_provider.html">ContextProvider</a>::<a class="el" href="class_context_provider_1_1_subscriber_adaptor.html">SubscriberAdaptor</a>
  </div>
</div>
<div class="contents">
<h1>ContextProvider::SubscriberAdaptor Class Reference</h1><!-- doxytag: class="ContextProvider::SubscriberAdaptor" -->A DBus adaptor for implementing the org.freedesktop.ContextKit.Subscriber interface. Using the <a class="el" href="class_context_provider_1_1_subscriber.html" title="Subscriber implements the org.freedesktop.ContextKit.Subscriber DBus interface with...">Subscriber</a> the remote client can subscribe and unsubscribe from keys.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="subscriberadaptor_8h-source.html">subscriberadaptor.h</a>&gt;</code>
<p>

<p>
<a href="class_context_provider_1_1_subscriber_adaptor-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QMap&lt; QString, QVariant &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_subscriber_adaptor.html#5ee496e408e9406d752d80511d8c0596">Subscribe</a> (const QStringList &amp;keys, QStringList &amp;undetermined)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performs the <a class="el" href="class_context_provider_1_1_subscriber.html#38b01c1486af496970ed00e8bb9dd503" title="Subscribes to te specified list of keys.">Subscriber::subscribe</a> method to subscribe to a given set of keys.  <a href="#5ee496e408e9406d752d80511d8c0596"></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_provider_1_1_subscriber_adaptor.html#b964442115740fa585f94e73a0a6e62d">Unsubscribe</a> (const QStringList &amp;keys)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performs the <a class="el" href="class_context_provider_1_1_subscriber.html#d006229fc6745798dbe55ceb81f88722" title="Unsubscribes from the passed list of keys.">Subscriber::unsubscribe</a> method to unsubscribe from a given set of keys.  <a href="#b964442115740fa585f94e73a0a6e62d"></a><br></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_provider_1_1_subscriber_adaptor.html#d959ca1be2787271374a334a06c4ec4d">Changed</a> (const QMap&lt; QString, QVariant &gt; &amp;values, const QStringList &amp;undetermined)</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_provider_1_1_subscriber_adaptor.html#e9275992f7fe4ddd7094d2a3f294da7b">SubscriberAdaptor</a> (<a class="el" href="class_context_provider_1_1_subscriber.html">Subscriber</a> *subscriber)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. Creates new adaptor for the given <em>subscriber</em> <a class="el" href="class_context_provider_1_1_subscriber.html" title="Subscriber implements the org.freedesktop.ContextKit.Subscriber DBus interface with...">Subscriber</a> object.  <a href="#e9275992f7fe4ddd7094d2a3f294da7b"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A DBus adaptor for implementing the org.freedesktop.ContextKit.Subscriber interface. Using the <a class="el" href="class_context_provider_1_1_subscriber.html" title="Subscriber implements the org.freedesktop.ContextKit.Subscriber DBus interface with...">Subscriber</a> the remote client can subscribe and unsubscribe from keys. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e9275992f7fe4ddd7094d2a3f294da7b"></a><!-- doxytag: member="ContextProvider::SubscriberAdaptor::SubscriberAdaptor" ref="e9275992f7fe4ddd7094d2a3f294da7b" args="(Subscriber *subscriber)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ContextProvider::SubscriberAdaptor::SubscriberAdaptor           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_context_provider_1_1_subscriber.html">Subscriber</a> *&nbsp;</td>
          <td class="paramname"> <em>subscriber</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. Creates new adaptor for the given <em>subscriber</em> <a class="el" href="class_context_provider_1_1_subscriber.html" title="Subscriber implements the org.freedesktop.ContextKit.Subscriber DBus interface with...">Subscriber</a> object. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d959ca1be2787271374a334a06c4ec4d"></a><!-- doxytag: member="ContextProvider::SubscriberAdaptor::Changed" ref="d959ca1be2787271374a334a06c4ec4d" args="(const QMap&lt; QString, QVariant &gt; &amp;values, const QStringList &amp;undetermined)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::SubscriberAdaptor::Changed           </td>
          <td>(</td>
          <td class="paramtype">const QMap&lt; QString, QVariant &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>undetermined</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>

</div>
</div><p>
<a class="anchor" name="5ee496e408e9406d752d80511d8c0596"></a><!-- doxytag: member="ContextProvider::SubscriberAdaptor::Subscribe" ref="5ee496e408e9406d752d80511d8c0596" args="(const QStringList &amp;keys, QStringList &amp;undetermined)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMap&lt; QString, QVariant &gt; ContextProvider::SubscriberAdaptor::Subscribe           </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>undetermined</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Performs the <a class="el" href="class_context_provider_1_1_subscriber.html#38b01c1486af496970ed00e8bb9dd503" title="Subscribes to te specified list of keys.">Subscriber::subscribe</a> method to subscribe to a given set of keys. 
<p>

</div>
</div><p>
<a class="anchor" name="b964442115740fa585f94e73a0a6e62d"></a><!-- doxytag: member="ContextProvider::SubscriberAdaptor::Unsubscribe" ref="b964442115740fa585f94e73a0a6e62d" args="(const QStringList &amp;keys)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::SubscriberAdaptor::Unsubscribe           </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>keys</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Performs the <a class="el" href="class_context_provider_1_1_subscriber.html#d006229fc6745798dbe55ceb81f88722" title="Unsubscribes from the passed list of keys.">Subscriber::unsubscribe</a> method to unsubscribe from a given set of keys. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="subscriberadaptor_8h-source.html">subscriberadaptor.h</a><li><a class="el" href="subscriberadaptor_8cpp.html">subscriberadaptor.cpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 21 16:36:23 2009 for libcontextprovider 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>