aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html')
-rw-r--r--libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html589
1 files changed, 589 insertions, 0 deletions
diff --git a/libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html b/libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html
new file mode 100644
index 00000000..cdee2379
--- /dev/null
+++ b/libcontextsubscriber/doc/html/class_context_subscriber_1_1_property_handle.html
@@ -0,0 +1,589 @@
+<!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: ContextSubscriber::PropertyHandle 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_subscriber.html">ContextSubscriber</a>::<a class="el" href="class_context_subscriber_1_1_property_handle.html">PropertyHandle</a>
+ </div>
+</div>
+<div class="contents">
+<h1>ContextSubscriber::PropertyHandle Class Reference</h1><!-- doxytag: class="ContextSubscriber::PropertyHandle" -->A common handle for a context property.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="propertyhandle_8h-source.html">propertyhandle.h</a>&gt;</code>
+<p>
+
+<p>
+<a href="class_context_subscriber_1_1_property_handle-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_subscriber_1_1_property_handle.html#0ceee4d69e18be36e726af552aaa58ba">valueChanged</a> ()</td></tr>
+
+<tr><td colspan="2"><br><h2>Public Member Functions</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_subscriber_1_1_property_handle.html#0b12828c764b164dc276a84d46c2ae55">subscribe</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Increase the <code>subscribeCount</code> of this context property and subscribe to it through the <code>myProvider</code> instance if neccessary. <a href="#0b12828c764b164dc276a84d46c2ae55"></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_subscriber_1_1_property_handle.html#d1e8961717be9c3a813096092d1837a4">unsubscribe</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decrease the <code>subscribeCount</code> of this context property and unsubscribe from it through the <code>myProvider</code> instance if neccessary. <a href="#d1e8961717be9c3a813096092d1837a4"></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_subscriber_1_1_property_handle.html#6d4c9e5006a080e7ae645ed15b1edb28">key</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#bfeb2b16704e22adc33c31e162ef4e36">value</a> () const </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_subscriber_1_1_property_handle.html#22f3af77b3cd883beeab47c5f4365169">isSubscribePending</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_context_property_info.html">ContextPropertyInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#2626ff2603e1afcd8172008d5932006a">info</a> () const </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_subscriber_1_1_property_handle.html#1d0a471cd063b862fcf09aafd4b125af">onValueChanged</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used by the <code><a class="el" href="class_context_subscriber_1_1_handle_signal_router.html" title="Routes the valueChanged() and the subscribeFinished() signals to the correct PropertyHandle...">HandleSignalRouter</a></code> to change the value of the property. <a href="#1d0a471cd063b862fcf09aafd4b125af"></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_subscriber_1_1_property_handle.html#1d4157822007d94fbdfa3af80a8fc758">setSubscribeFinished</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets <code>subscribePending</code> to false. <a href="#1d4157822007d94fbdfa3af80a8fc758"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_context_subscriber_1_1_property_handle.html">PropertyHandle</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#7f70f0de00c9781d43c99ca5d7f87eb1">instance</a> (const QString &amp;key)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#6001316d6491ca69ca5be43af4a36211">ignoreCommander</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#3031c1cf5c5d3ccdcf91a2218c2e460e">setTypeCheck</a> (bool typeCheck)</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_subscriber_1_1_property_handle.html#067242c57b142940ba02b1e5a74548d5">updateProvider</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decides who is the current provider of this property and sets up <code>myProvider</code> accordingly. <a href="#067242c57b142940ba02b1e5a74548d5"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Private 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_subscriber_1_1_property_handle.html#1d523c4bc3538073f7f617456cd81a79">PropertyHandle</a> (const QString &amp;key)</td></tr>
+
+<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_context_subscriber_1_1_provider.html">Provider</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#da859c28e9320fcb89328cb5153a3d35">myProvider</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="class_context_subscriber_1_1_provider.html" title="Connects to a group of properties via the help of a plugin.">Provider</a> of this property. <a href="#da859c28e9320fcb89328cb5153a3d35"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_context_property_info.html">ContextPropertyInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#aa914d9958d6a3f6b69d3b1446307cea">myInfo</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Metadata for this property. <a href="#aa914d9958d6a3f6b69d3b1446307cea"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#809f0eae9aef4ffec99f035b7e0e547f">subscribeCount</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of subscribed <a class="el" href="class_context_property.html" title="The ContextProperty class allows access to keys and their values.">ContextProperty</a> objects subscribed to this property. <a href="#809f0eae9aef4ffec99f035b7e0e547f"></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_subscriber_1_1_property_handle.html#e7fb88f203671edb264655c06bc2e1f0">subscribeCountLock</a></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_subscriber_1_1_property_handle.html#584bab7e2a167ccf22f45a5cd3f46c16">subscribePending</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True when the subscription has been started, but hasn't been finished yet (used by the waitForSubscription() feature). <a href="#584bab7e2a167ccf22f45a5cd3f46c16"></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_subscriber_1_1_property_handle.html#ba3e2fbd0fc8a8ab0db60efe934f7d6d">myKey</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Key of this property. <a href="#ba3e2fbd0fc8a8ab0db60efe934f7d6d"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">QReadWriteLock&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#d3d31e74ac2b7e1727ff0947895f4fc1">valueLock</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#984638b2c34c7756fd17ff41de90a2df">myValue</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current value of this property. <a href="#984638b2c34c7756fd17ff41de90a2df"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html">DBusNameListener</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#8cb5a37f3a69e7019e9d7559e1e2993c">commanderListener</a> = new <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html">DBusNameListener</a>(commanderDBusType, commanderDBusName)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Listener for ContextCommander's (dis)appearance. <a href="#8cb5a37f3a69e7019e9d7559e1e2993c"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#cb7a882c3ef0423544754bd6fd5de7af">commandingEnabled</a> = true</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether the properties can be directed to ContextCommander. <a href="#cb7a882c3ef0423544754bd6fd5de7af"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_property_handle.html#27312e770b51ebf5439e31361ceb46c4">typeCheckEnabled</a> = false</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether we check the type of the value received from the provider. <a href="#27312e770b51ebf5439e31361ceb46c4"></a><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A common handle for a context property.
+<p>
+Only one handle exists at a time for a context property, no matter how much <a class="el" href="class_context_property.html" title="The ContextProperty class allows access to keys and their values.">ContextProperty</a> objects are created for it.<p>
+Communication with the provider is done through the <code>myProvider</code> <code><a class="el" href="class_context_subscriber_1_1_provider.html" title="Connects to a group of properties via the help of a plugin.">Provider</a></code> instance, which is updated when needed because of registry changes. Handling of disappearance from the DBus and then reappearance on the DBus of the same provider is handled privately by <code><a class="el" href="class_context_subscriber_1_1_provider.html" title="Connects to a group of properties via the help of a plugin.">Provider</a></code>. If we don't know the current provider for this handle, then the <code>myProvider</code> pointer is 0.<p>
+<a class="el" href="class_context_subscriber_1_1_property_handle.html" title="A common handle for a context property.">PropertyHandle</a> and <a class="el" href="class_context_subscriber_1_1_provider.html" title="Connects to a group of properties via the help of a plugin.">Provider</a> instances are never deleted; they stick around until the process is terminated.<p>
+All of the <a class="el" href="class_context_subscriber_1_1_property_handle.html" title="A common handle for a context property.">PropertyHandle</a> instances and Property provider instances are always created with the <code>QCoreApplication's</code> thread as the thread where they live. This is needed, because user threads can go away and we would like to have only one DBus connection. <hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="1d523c4bc3538073f7f617456cd81a79"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::PropertyHandle" ref="1d523c4bc3538073f7f617456cd81a79" args="(const QString &amp;key)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextSubscriber::PropertyHandle::PropertyHandle </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]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="6001316d6491ca69ca5be43af4a36211"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::ignoreCommander" ref="6001316d6491ca69ca5be43af4a36211" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::ignoreCommander </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="2626ff2603e1afcd8172008d5932006a"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::info" ref="2626ff2603e1afcd8172008d5932006a" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const <a class="el" href="class_context_property_info.html">ContextPropertyInfo</a> * ContextSubscriber::PropertyHandle::info </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="7f70f0de00c9781d43c99ca5d7f87eb1"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::instance" ref="7f70f0de00c9781d43c99ca5d7f87eb1" args="(const QString &amp;key)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_subscriber_1_1_property_handle.html">PropertyHandle</a> * ContextSubscriber::PropertyHandle::instance </td>
+ <td>(</td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>key</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="22f3af77b3cd883beeab47c5f4365169"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::isSubscribePending" ref="22f3af77b3cd883beeab47c5f4365169" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool ContextSubscriber::PropertyHandle::isSubscribePending </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="6d4c9e5006a080e7ae645ed15b1edb28"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::key" ref="6d4c9e5006a080e7ae645ed15b1edb28" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QString ContextSubscriber::PropertyHandle::key </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="1d0a471cd063b862fcf09aafd4b125af"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::onValueChanged" ref="1d0a471cd063b862fcf09aafd4b125af" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::onValueChanged </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Used by the <code><a class="el" href="class_context_subscriber_1_1_handle_signal_router.html" title="Routes the valueChanged() and the subscribeFinished() signals to the correct PropertyHandle...">HandleSignalRouter</a></code> to change the value of the property.
+<p>
+Before changing the value it checks the type if type checks are enabled. The verification errors are signalled on the stderr. After the check it updates the value and emits the <a class="el" href="class_context_subscriber_1_1_property_handle.html#0ceee4d69e18be36e726af552aaa58ba">valueChanged()</a> signal.
+</div>
+</div><p>
+<a class="anchor" name="1d4157822007d94fbdfa3af80a8fc758"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::setSubscribeFinished" ref="1d4157822007d94fbdfa3af80a8fc758" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::setSubscribeFinished </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Sets <code>subscribePending</code> to false.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="3031c1cf5c5d3ccdcf91a2218c2e460e"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::setTypeCheck" ref="3031c1cf5c5d3ccdcf91a2218c2e460e" args="(bool typeCheck)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::setTypeCheck </td>
+ <td>(</td>
+ <td class="paramtype">bool&nbsp;</td>
+ <td class="paramname"> <em>typeCheck</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="0b12828c764b164dc276a84d46c2ae55"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::subscribe" ref="0b12828c764b164dc276a84d46c2ae55" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::subscribe </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Increase the <code>subscribeCount</code> of this context property and subscribe to it through the <code>myProvider</code> instance if neccessary.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="d1e8961717be9c3a813096092d1837a4"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::unsubscribe" ref="d1e8961717be9c3a813096092d1837a4" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::unsubscribe </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Decrease the <code>subscribeCount</code> of this context property and unsubscribe from it through the <code>myProvider</code> instance if neccessary.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="067242c57b142940ba02b1e5a74548d5"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::updateProvider" ref="067242c57b142940ba02b1e5a74548d5" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::updateProvider </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [private, slot]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Decides who is the current provider of this property and sets up <code>myProvider</code> accordingly.
+<p>
+If the provider has changed then renews the subscriptions.
+</div>
+</div><p>
+<a class="anchor" name="bfeb2b16704e22adc33c31e162ef4e36"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::value" ref="bfeb2b16704e22adc33c31e162ef4e36" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QVariant ContextSubscriber::PropertyHandle::value </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="0ceee4d69e18be36e726af552aaa58ba"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::valueChanged" ref="0ceee4d69e18be36e726af552aaa58ba" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::PropertyHandle::valueChanged </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [signal]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<hr><h2>Member Data Documentation</h2>
+<a class="anchor" name="8cb5a37f3a69e7019e9d7559e1e2993c"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::commanderListener" ref="8cb5a37f3a69e7019e9d7559e1e2993c" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html">DBusNameListener</a> * <a class="el" href="class_context_subscriber_1_1_property_handle.html#8cb5a37f3a69e7019e9d7559e1e2993c">ContextSubscriber::PropertyHandle::commanderListener</a> = new <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html">DBusNameListener</a>(commanderDBusType, commanderDBusName)<code> [static, private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Listener for ContextCommander's (dis)appearance.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="cb7a882c3ef0423544754bd6fd5de7af"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::commandingEnabled" ref="cb7a882c3ef0423544754bd6fd5de7af" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool <a class="el" href="class_context_subscriber_1_1_property_handle.html#cb7a882c3ef0423544754bd6fd5de7af">ContextSubscriber::PropertyHandle::commandingEnabled</a> = true<code> [static, private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Whether the properties can be directed to ContextCommander.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="aa914d9958d6a3f6b69d3b1446307cea"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::myInfo" ref="aa914d9958d6a3f6b69d3b1446307cea" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_property_info.html">ContextPropertyInfo</a>* <a class="el" href="class_context_subscriber_1_1_property_handle.html#aa914d9958d6a3f6b69d3b1446307cea">ContextSubscriber::PropertyHandle::myInfo</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Metadata for this property.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="ba3e2fbd0fc8a8ab0db60efe934f7d6d"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::myKey" ref="ba3e2fbd0fc8a8ab0db60efe934f7d6d" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QString <a class="el" href="class_context_subscriber_1_1_property_handle.html#ba3e2fbd0fc8a8ab0db60efe934f7d6d">ContextSubscriber::PropertyHandle::myKey</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Key of this property.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="da859c28e9320fcb89328cb5153a3d35"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::myProvider" ref="da859c28e9320fcb89328cb5153a3d35" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_subscriber_1_1_provider.html">Provider</a>* <a class="el" href="class_context_subscriber_1_1_property_handle.html#da859c28e9320fcb89328cb5153a3d35">ContextSubscriber::PropertyHandle::myProvider</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+<a class="el" href="class_context_subscriber_1_1_provider.html" title="Connects to a group of properties via the help of a plugin.">Provider</a> of this property.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="984638b2c34c7756fd17ff41de90a2df"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::myValue" ref="984638b2c34c7756fd17ff41de90a2df" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QVariant <a class="el" href="class_context_subscriber_1_1_property_handle.html#984638b2c34c7756fd17ff41de90a2df">ContextSubscriber::PropertyHandle::myValue</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Current value of this property.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="809f0eae9aef4ffec99f035b7e0e547f"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::subscribeCount" ref="809f0eae9aef4ffec99f035b7e0e547f" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned int <a class="el" href="class_context_subscriber_1_1_property_handle.html#809f0eae9aef4ffec99f035b7e0e547f">ContextSubscriber::PropertyHandle::subscribeCount</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Number of subscribed <a class="el" href="class_context_property.html" title="The ContextProperty class allows access to keys and their values.">ContextProperty</a> objects subscribed to this property.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="e7fb88f203671edb264655c06bc2e1f0"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::subscribeCountLock" ref="e7fb88f203671edb264655c06bc2e1f0" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QMutex <a class="el" href="class_context_subscriber_1_1_property_handle.html#e7fb88f203671edb264655c06bc2e1f0">ContextSubscriber::PropertyHandle::subscribeCountLock</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="584bab7e2a167ccf22f45a5cd3f46c16"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::subscribePending" ref="584bab7e2a167ccf22f45a5cd3f46c16" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool <a class="el" href="class_context_subscriber_1_1_property_handle.html#584bab7e2a167ccf22f45a5cd3f46c16">ContextSubscriber::PropertyHandle::subscribePending</a><code> [private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+True when the subscription has been started, but hasn't been finished yet (used by the waitForSubscription() feature).
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="27312e770b51ebf5439e31361ceb46c4"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::typeCheckEnabled" ref="27312e770b51ebf5439e31361ceb46c4" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool <a class="el" href="class_context_subscriber_1_1_property_handle.html#27312e770b51ebf5439e31361ceb46c4">ContextSubscriber::PropertyHandle::typeCheckEnabled</a> = false<code> [static, private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Whether we check the type of the value received from the provider.
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="d3d31e74ac2b7e1727ff0947895f4fc1"></a><!-- doxytag: member="ContextSubscriber::PropertyHandle::valueLock" ref="d3d31e74ac2b7e1727ff0947895f4fc1" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QReadWriteLock <a class="el" href="class_context_subscriber_1_1_property_handle.html#d3d31e74ac2b7e1727ff0947895f4fc1">ContextSubscriber::PropertyHandle::valueLock</a><code> [mutable, private]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="propertyhandle_8h-source.html">propertyhandle.h</a><li><a class="el" href="mocs_8cpp.html">mocs.cpp</a><li><a class="el" href="propertyhandle_8cpp.html">propertyhandle.cpp</a></ul>
+</div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Fri Oct 23 08:59:23 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>