aboutsummaryrefslogtreecommitdiff
path: root/libcontextprovider/doc/html/class_context_provider_1_1_property.html
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextprovider/doc/html/class_context_provider_1_1_property.html')
-rw-r--r--libcontextprovider/doc/html/class_context_provider_1_1_property.html302
1 files changed, 302 insertions, 0 deletions
diff --git a/libcontextprovider/doc/html/class_context_provider_1_1_property.html b/libcontextprovider/doc/html/class_context_provider_1_1_property.html
new file mode 100644
index 00000000..d85f189c
--- /dev/null
+++ b/libcontextprovider/doc/html/class_context_provider_1_1_property.html
@@ -0,0 +1,302 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>libcontextprovider: ContextProvider::Property 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.6.1 -->
+<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_property.html">Property</a>
+ </div>
+</div>
+<div class="contents">
+<h1>ContextProvider::Property Class Reference</h1><!-- doxytag: class="ContextProvider::Property" -->
+<p>A <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object represents a context property, i.e., a key-value pair.
+<a href="#_details">More...</a></p>
+
+<p><code>#include &lt;<a class="el" href="property_8h_source.html">ContextProvider</a>&gt;</code></p>
+
+<p><a href="class_context_provider_1_1_property-members.html">List of all members.</a></p>
+<table border="0" cellpadding="0" cellspacing="0">
+<tr><td colspan="2"><h2>Signals</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#aedb511bfc215c2933193d5685c574943">firstSubscriberAppeared</a> (const QString &amp;key)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is emitted when the first subscriber appears for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a>. <a href="#aedb511bfc215c2933193d5685c574943"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#a586f7dff49a3c4536acc289c314586ee">lastSubscriberDisappeared</a> (const QString &amp;key)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is emitted when the last subscriber disappears for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a>. <a href="#a586f7dff49a3c4536acc289c314586ee"></a><br/></td></tr>
+<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#a8b66e2cb81aca7f0162a51bb0e9c93f5">Property</a> (<a class="el" href="class_context_provider_1_1_service.html">Service</a> &amp;service, const QString &amp;key, QObject *parent=0)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object on <em>service</em> for the key <em>k</em>. <a href="#a8b66e2cb81aca7f0162a51bb0e9c93f5"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#a62299c267b73e990a03faf3113445f9e">Property</a> (const QString &amp;key, QObject *parent=0)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object on the default service for the key <em>k</em>. <a href="#a62299c267b73e990a03faf3113445f9e"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#a3c5fbb4b6f0ce1f779c2bfa6190ed8d2">~Property</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#a3c5fbb4b6f0ce1f779c2bfa6190ed8d2"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#ab88d712808775617a9839523c537afcb">key</a> () const </td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the name of the key this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> represents. <a href="#ab88d712808775617a9839523c537afcb"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#acd83fed5c066aa375148738744e5b3e3">isSet</a> () const </td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the key is set (it's value is determined). <a href="#acd83fed5c066aa375148738744e5b3e3"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#a44c5ff15b11d53d2a44bc77cacb41314">setValue</a> (const QVariant &amp;v)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the property value to QVariant <em>v</em>. <a href="#a44c5ff15b11d53d2a44bc77cacb41314"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#af05d9adb2b2ee2a5d66e6a9875ccd167">value</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current value of the property. <a href="#af05d9adb2b2ee2a5d66e6a9875ccd167"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_property.html#aa65dc7374559b7a7d86034b8c9ef9807">unsetValue</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unsets the value. <a href="#aa65dc7374559b7a7d86034b8c9ef9807"></a><br/></td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<p>A <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object represents a context property, i.e., a key-value pair. </p>
+<p>Each <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object is associated with a <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the ContextKit...">Service</a> object at construction time. </p>
+<hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="a8b66e2cb81aca7f0162a51bb0e9c93f5"></a><!-- doxytag: member="ContextProvider::Property::Property" ref="a8b66e2cb81aca7f0162a51bb0e9c93f5" args="(Service &amp;service, const QString &amp;key, QObject *parent=0)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::Property::Property </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="class_context_provider_1_1_service.html">Service</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>service</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></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>Create a <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object on <em>service</em> for the key <em>k</em>. </p>
+
+</div>
+</div>
+<a class="anchor" id="a62299c267b73e990a03faf3113445f9e"></a><!-- doxytag: member="ContextProvider::Property::Property" ref="a62299c267b73e990a03faf3113445f9e" args="(const QString &amp;key, QObject *parent=0)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::Property::Property </td>
+ <td>(</td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>k</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>Create a <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object on the default service for the key <em>k</em>. </p>
+<p>The default service can be set with <a class="el" href="class_context_provider_1_1_service.html#a385b58aef7878b6e33a3989d139f9a4a" title="Sets the Service object as the default one to use when constructing Property objects...">Service::setAsDefault()</a>. </p>
+
+</div>
+</div>
+<a class="anchor" id="a3c5fbb4b6f0ce1f779c2bfa6190ed8d2"></a><!-- doxytag: member="ContextProvider::Property::~Property" ref="a3c5fbb4b6f0ce1f779c2bfa6190ed8d2" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::Property::~Property </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Destructor. </p>
+
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="aedb511bfc215c2933193d5685c574943"></a><!-- doxytag: member="ContextProvider::Property::firstSubscriberAppeared" ref="aedb511bfc215c2933193d5685c574943" args="(const QString &amp;key)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::Property::firstSubscriberAppeared </td>
+ <td>(</td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>key</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [signal]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>This is emitted when the first subscriber appears for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a>. </p>
+<p>It can be used e.g. to start the actual process of harvesting the data needed for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a>. </p>
+
+</div>
+</div>
+<a class="anchor" id="acd83fed5c066aa375148738744e5b3e3"></a><!-- doxytag: member="ContextProvider::Property::isSet" ref="acd83fed5c066aa375148738744e5b3e3" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool ContextProvider::Property::isSet </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 set (it's value is determined). </p>
+
+</div>
+</div>
+<a class="anchor" id="ab88d712808775617a9839523c537afcb"></a><!-- doxytag: member="ContextProvider::Property::key" ref="ab88d712808775617a9839523c537afcb" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QString ContextProvider::Property::key </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 key this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> represents. </p>
+
+</div>
+</div>
+<a class="anchor" id="a586f7dff49a3c4536acc289c314586ee"></a><!-- doxytag: member="ContextProvider::Property::lastSubscriberDisappeared" ref="a586f7dff49a3c4536acc289c314586ee" args="(const QString &amp;key)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::Property::lastSubscriberDisappeared </td>
+ <td>(</td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>key</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [signal]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>This is emitted when the last subscriber disappears for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a>. </p>
+<p>It can be used e.g. to stop the process of harvesting the data needed for this <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> (and save resources). </p>
+
+</div>
+</div>
+<a class="anchor" id="a44c5ff15b11d53d2a44bc77cacb41314"></a><!-- doxytag: member="ContextProvider::Property::setValue" ref="a44c5ff15b11d53d2a44bc77cacb41314" args="(const QVariant &amp;v)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::Property::setValue </td>
+ <td>(</td>
+ <td class="paramtype">const QVariant &amp;&nbsp;</td>
+ <td class="paramname"> <em>v</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Sets the property value to QVariant <em>v</em>. </p>
+
+</div>
+</div>
+<a class="anchor" id="aa65dc7374559b7a7d86034b8c9ef9807"></a><!-- doxytag: member="ContextProvider::Property::unsetValue" ref="aa65dc7374559b7a7d86034b8c9ef9807" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::Property::unsetValue </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Unsets the value. </p>
+<p>This is equivalent to setting it to a null QVariant. </p>
+
+</div>
+</div>
+<a class="anchor" id="af05d9adb2b2ee2a5d66e6a9875ccd167"></a><!-- doxytag: member="ContextProvider::Property::value" ref="af05d9adb2b2ee2a5d66e6a9875ccd167" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QVariant ContextProvider::Property::value </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Returns the current value of the property. </p>
+<p>The returned QVariant is invalid if the key value is undetermined or the <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> is invalid. </p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="property_8h_source.html">property.h</a></li>
+<li><a class="el" href="property_8cpp.html">property.cpp</a></li>
+</ul>
+</div>
+<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 19 14:19:52 2009 for libcontextprovider by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
+</body>
+</html>