aboutsummaryrefslogtreecommitdiff
path: root/libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html')
-rw-r--r--libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html436
1 files changed, 436 insertions, 0 deletions
diff --git a/libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html b/libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html
new file mode 100644
index 00000000..32db8922
--- /dev/null
+++ b/libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html
@@ -0,0 +1,436 @@
+<!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::ServiceBackend 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_service_backend.html">ServiceBackend</a>
+ </div>
+</div>
+<div class="contents">
+<h1>ContextProvider::ServiceBackend Class Reference</h1><!-- doxytag: class="ContextProvider::ServiceBackend" -->
+<p>A <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> is the real worker behind <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>.
+<a href="#_details">More...</a></p>
+
+<p><code>#include &lt;<a class="el" href="servicebackend_8h_source.html">servicebackend.h</a>&gt;</code></p>
+
+<p><a href="class_context_provider_1_1_service_backend-members.html">List of all members.</a></p>
+<table border="0" cellpadding="0" cellspacing="0">
+<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_service_backend.html#a2f72a8d1752eb4f930410deed93bd14e">ServiceBackend</a> (QDBusConnection connection)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> with the given QDBusConnection. <a href="#a2f72a8d1752eb4f930410deed93bd14e"></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_service_backend.html#a645ad8454046cc430aa1f6b6935e3e39">ServiceBackend</a> (QDBusConnection connection, const QString &amp;busName)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> with the given QDBusConnection and a service name to register. <a href="#a645ad8454046cc430aa1f6b6935e3e39"></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_service_backend.html#a7c22a78525e271a443d0b328c09a8ebb">~ServiceBackend</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. <a href="#a7c22a78525e271a443d0b328c09a8ebb"></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_service_backend.html#a7b9d7a6b42fde2e7841edd7dbd5589af">sharedConnection</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true iff the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> shares its QDBusConnection with the provider program. <a href="#a7b9d7a6b42fde2e7841edd7dbd5589af"></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_service_backend.html#af0ffcd20b78a6c070b46f2a808974bf5">start</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Start the <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> again after it has been stopped. <a href="#af0ffcd20b78a6c070b46f2a808974bf5"></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_service_backend.html#af580af0059e69905ee6aefa55056bdd5">stop</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stop the service. <a href="#af580af0059e69905ee6aefa55056bdd5"></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_service_backend.html#a8d167b71faec3c38533717354b2fcf7b">addProperty</a> (const QString &amp;key, <a class="el" href="class_context_provider_1_1_property_private.html">PropertyPrivate</a> *property)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Associate a <a class="el" href="class_context_provider_1_1_property_private.html" title="The private implementation of Property.">PropertyPrivate</a> object with this <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. <a href="#a8d167b71faec3c38533717354b2fcf7b"></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_service_backend.html#a1f25b50b4abc8e8a5fbdf0b9b38f6691">setAsDefault</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> object as the default one to use when constructing <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> objects. <a href="#a1f25b50b4abc8e8a5fbdf0b9b38f6691"></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_service_backend.html#a3380d860b28632814283af9cb48115ad">setValue</a> (const QString &amp;key, const QVariant &amp;val)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of <em>key</em> to <em>val</em>. <a href="#a3380d860b28632814283af9cb48115ad"></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_service_backend.html#a2b33587710d46129c3554fc405e93858">ref</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Increase the reference count by one. <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> calls this. <a href="#a2b33587710d46129c3554fc405e93858"></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_service_backend.html#a44c270d04037efde600e3f2ba7e4188f">unref</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decrease the reference count by one. <a href="#a44c270d04037efde600e3f2ba7e4188f"></a><br/></td></tr>
+<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#a03beadb30b9d1f837d372ccc77004595">instance</a> (QDBusConnection connection)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> instance for a given <em>connection</em>. <a href="#a03beadb30b9d1f837d372ccc77004595"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#abbf135b68aa7d0e5e9ff294ccfa6e1eb">instance</a> (QDBusConnection::BusType busType, const QString &amp;busName, bool autoStart)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> instance for a given <em>busType</em> and <em>busName</em>. <a href="#abbf135b68aa7d0e5e9ff294ccfa6e1eb"></a><br/></td></tr>
+<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#adba83a5a2a30247be68cd8485b3c6306">defaultServiceBackend</a></td></tr>
+<tr><td colspan="2"><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#aed41fb3009b4b10268a07c9e2fb37ece">::ServiceBackendUnitTest</a></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#a6474ceb8669761e879329b39c3afb899">Service</a></td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<p>A <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> is the real worker behind <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>. </p>
+<p>Multiple <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> instances can share same <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. The backend is the actual worker that operates on D-Bus (register objects representing <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> objects and possibly a bus name).</p>
+<p>The <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> class actually proxies all methods to the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. </p>
+<hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="a2f72a8d1752eb4f930410deed93bd14e"></a><!-- doxytag: member="ContextProvider::ServiceBackend::ServiceBackend" ref="a2f72a8d1752eb4f930410deed93bd14e" args="(QDBusConnection connection)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::ServiceBackend::ServiceBackend </td>
+ <td>(</td>
+ <td class="paramtype">QDBusConnection&nbsp;</td>
+ <td class="paramname"> <em>connection</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [explicit]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> with the given QDBusConnection. </p>
+<p>The connection will be shared between <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> and the provider program, and the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> will not register any service names. </p>
+
+</div>
+</div>
+<a class="anchor" id="a645ad8454046cc430aa1f6b6935e3e39"></a><!-- doxytag: member="ContextProvider::ServiceBackend::ServiceBackend" ref="a645ad8454046cc430aa1f6b6935e3e39" args="(QDBusConnection connection, const QString &amp;busName)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::ServiceBackend::ServiceBackend </td>
+ <td>(</td>
+ <td class="paramtype">QDBusConnection&nbsp;</td>
+ <td class="paramname"> <em>connection</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>busName</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> with the given QDBusConnection and a service name to register. </p>
+<p>The connection will not be shared between the <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> and the provider program. </p>
+
+</div>
+</div>
+<a class="anchor" id="a7c22a78525e271a443d0b328c09a8ebb"></a><!-- doxytag: member="ContextProvider::ServiceBackend::~ServiceBackend" ref="a7c22a78525e271a443d0b328c09a8ebb" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextProvider::ServiceBackend::~ServiceBackend </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Destroys the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. </p>
+<p>The backend is stopped. If this backend is the defaultServiceBackend, the defaultServiceBackend is set back to NULL. </p>
+
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="a8d167b71faec3c38533717354b2fcf7b"></a><!-- doxytag: member="ContextProvider::ServiceBackend::addProperty" ref="a8d167b71faec3c38533717354b2fcf7b" args="(const QString &amp;key, PropertyPrivate *property)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::addProperty </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"><a class="el" href="class_context_provider_1_1_property_private.html">PropertyPrivate</a> *&nbsp;</td>
+ <td class="paramname"> <em>property</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Associate a <a class="el" href="class_context_provider_1_1_property_private.html" title="The private implementation of Property.">PropertyPrivate</a> object with this <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. </p>
+<p>The corresponding object will appear on D-Bus. </p>
+
+</div>
+</div>
+<a class="anchor" id="abbf135b68aa7d0e5e9ff294ccfa6e1eb"></a><!-- doxytag: member="ContextProvider::ServiceBackend::instance" ref="abbf135b68aa7d0e5e9ff294ccfa6e1eb" args="(QDBusConnection::BusType busType, const QString &amp;busName, bool autoStart)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> * ContextProvider::ServiceBackend::instance </td>
+ <td>(</td>
+ <td class="paramtype">QDBusConnection::BusType&nbsp;</td>
+ <td class="paramname"> <em>busType</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>busName</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&nbsp;</td>
+ <td class="paramname"> <em>autoStart</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Returns a <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> instance for a given <em>busType</em> and <em>busName</em>. </p>
+<p>Creates the instance if it does not exist yet. </p>
+
+</div>
+</div>
+<a class="anchor" id="a03beadb30b9d1f837d372ccc77004595"></a><!-- doxytag: member="ContextProvider::ServiceBackend::instance" ref="a03beadb30b9d1f837d372ccc77004595" args="(QDBusConnection connection)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> * ContextProvider::ServiceBackend::instance </td>
+ <td>(</td>
+ <td class="paramtype">QDBusConnection&nbsp;</td>
+ <td class="paramname"> <em>connection</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Returns a <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> instance for a given <em>connection</em>. </p>
+<p>Creates the instance if it does not exist yet. </p>
+
+</div>
+</div>
+<a class="anchor" id="a2b33587710d46129c3554fc405e93858"></a><!-- doxytag: member="ContextProvider::ServiceBackend::ref" ref="a2b33587710d46129c3554fc405e93858" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::ref </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Increase the reference count by one. <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> calls this. </p>
+
+</div>
+</div>
+<a class="anchor" id="a1f25b50b4abc8e8a5fbdf0b9b38f6691"></a><!-- doxytag: member="ContextProvider::ServiceBackend::setAsDefault" ref="a1f25b50b4abc8e8a5fbdf0b9b38f6691" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::setAsDefault </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Sets the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> object as the default one to use when constructing <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> objects. </p>
+
+</div>
+</div>
+<a class="anchor" id="a3380d860b28632814283af9cb48115ad"></a><!-- doxytag: member="ContextProvider::ServiceBackend::setValue" ref="a3380d860b28632814283af9cb48115ad" args="(const QString &amp;key, const QVariant &amp;val)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::setValue </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">const QVariant &amp;&nbsp;</td>
+ <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Set the value of <em>key</em> to <em>val</em>. </p>
+<p>A property named <em>key</em> must have been registered already, by creating 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 for it. </p>
+
+</div>
+</div>
+<a class="anchor" id="a7b9d7a6b42fde2e7841edd7dbd5589af"></a><!-- doxytag: member="ContextProvider::ServiceBackend::sharedConnection" ref="a7b9d7a6b42fde2e7841edd7dbd5589af" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool ContextProvider::ServiceBackend::sharedConnection </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Returns true iff the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> shares its QDBusConnection with the provider program. </p>
+
+</div>
+</div>
+<a class="anchor" id="af0ffcd20b78a6c070b46f2a808974bf5"></a><!-- doxytag: member="ContextProvider::ServiceBackend::start" ref="af0ffcd20b78a6c070b46f2a808974bf5" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool ContextProvider::ServiceBackend::start </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Start the <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> again after it has been stopped. </p>
+<p>In the case of shared connection, the objects will be registered to D-Bus. In the case of non-shared connection, also the service name will be registered on D-Bus. Returns true on success, false otherwise. </p>
+
+</div>
+</div>
+<a class="anchor" id="af580af0059e69905ee6aefa55056bdd5"></a><!-- doxytag: member="ContextProvider::ServiceBackend::stop" ref="af580af0059e69905ee6aefa55056bdd5" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::stop </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Stop the service. </p>
+<p>In the case of shared connection, this will cause the related objects to be unregistered, but the bus name will still be on D-Bus. In the case of non-shared connection, this will cause the service to disappear from D-Bus completely. </p>
+
+</div>
+</div>
+<a class="anchor" id="a44c270d04037efde600e3f2ba7e4188f"></a><!-- doxytag: member="ContextProvider::ServiceBackend::unref" ref="a44c270d04037efde600e3f2ba7e4188f" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextProvider::ServiceBackend::unref </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Decrease the reference count by one. </p>
+<p><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> calls this. If the reference count goes to zero, stop the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> instance. The instance is not removed from the instance map and not deleted, though. </p>
+
+</div>
+</div>
+<hr/><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" id="aed41fb3009b4b10268a07c9e2fb37ece"></a><!-- doxytag: member="ContextProvider::ServiceBackend::::ServiceBackendUnitTest" ref="aed41fb3009b4b10268a07c9e2fb37ece" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">friend class ::ServiceBackendUnitTest<code> [friend]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a6474ceb8669761e879329b39c3afb899"></a><!-- doxytag: member="ContextProvider::ServiceBackend::Service" ref="a6474ceb8669761e879329b39c3afb899" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">friend class <a class="el" href="class_context_provider_1_1_service.html">Service</a><code> [friend]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<hr/><h2>Member Data Documentation</h2>
+<a class="anchor" id="adba83a5a2a30247be68cd8485b3c6306"></a><!-- doxytag: member="ContextProvider::ServiceBackend::defaultServiceBackend" ref="adba83a5a2a30247be68cd8485b3c6306" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> * <a class="el" href="class_context_provider_1_1_service_backend.html#adba83a5a2a30247be68cd8485b3c6306">ContextProvider::ServiceBackend::defaultServiceBackend</a><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="servicebackend_8h_source.html">servicebackend.h</a></li>
+<li><a class="el" href="servicebackend_8cpp.html">servicebackend.cpp</a></li>
+</ul>
+</div>
+<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Nov 18 12:52:22 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>