aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html')
-rw-r--r--libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html434
1 files changed, 434 insertions, 0 deletions
diff --git a/libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html b/libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html
new file mode 100644
index 00000000..2fd81946
--- /dev/null
+++ b/libcontextsubscriber/doc/html/class_context_subscriber_1_1_d_bus_name_listener.html
@@ -0,0 +1,434 @@
+<!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>libcontextsubscriber: ContextSubscriber::DBusNameListener 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_subscriber.html">ContextSubscriber</a>::<a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html">DBusNameListener</a>
+ </div>
+</div>
+<div class="contents">
+<h1>ContextSubscriber::DBusNameListener Class Reference</h1><!-- doxytag: class="ContextSubscriber::DBusNameListener" -->
+<p>Listens for changes in a specific service name on a D-Bus bus, optionally gets the initial state of the service name.
+<a href="#_details">More...</a></p>
+
+<p><code>#include &lt;<a class="el" href="dbusnamelistener_8h_source.html">dbusnamelistener.h</a>&gt;</code></p>
+
+<p><a href="class_context_subscriber_1_1_d_bus_name_listener-members.html">List of all members.</a></p>
+<table border="0" cellpadding="0" cellspacing="0">
+<tr><td colspan="2"><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032d">ServicePresence</a> { <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032dae05cd8cfb673aebec9380153d11a8884">NotPresent</a> = 0,
+<a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032da7d8b53934031f453839328d87f1602ab">Present</a>,
+<a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032dad3f04d9af475c8f8a465d7aa0e0bd48c">Unknown</a>
+ }</td></tr>
+<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_subscriber_1_1_d_bus_name_listener.html#a156d249adafb167b396e61786590480b">nameAppeared</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a96df4b22f35d6e39d0db58e1e26a9550">nameDisappeared</a> ()</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_subscriber_1_1_d_bus_name_listener.html#a80cd4b4576989625cefc639d21bfee5d">DBusNameListener</a> (QDBusConnection::BusType <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a4ae2ef44be74c21c952f1bddb2a152f9">busType</a>, const QString &amp;<a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a86d18fe068b5a9e7b722aaf76dd897bd">busName</a>, QObject *parent=0)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac9b64a5b065dab20600d600c54cac950">DBusNameListener</a> (const QDBusConnection bus, const QString &amp;<a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a86d18fe068b5a9e7b722aaf76dd897bd">busName</a>, QObject *parent=0)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a0049dbd454615122dcfca92253b7e7d7">~DBusNameListener</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a29c51998308e0448bee857df8f8206cc">startListening</a> (bool nameHasOwnerCheck)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Start listening to the NameOwnerChanged signal over D-Bus. <a href="#a29c51998308e0448bee857df8f8206cc"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032d">ServicePresence</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac6727dbeb9c1f8ef2c101b223ef3acca">isServicePresent</a> () const </td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return our current understanding (not present, present, unknown) of the presence of the watched service. <a href="#ac6727dbeb9c1f8ef2c101b223ef3acca"></a><br/></td></tr>
+<tr><td colspan="2"><h2>Private Slots</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_subscriber_1_1_d_bus_name_listener.html#aca7dd6273d3e2335a436b34b284d1830">onServiceOwnerChanged</a> (const QString &amp;name, const QString &amp;oldOwner, const QString &amp;newOwner)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This slot is called when DBusNameOwnerChanged signal arrives and it just filters the name and if we are interested in the name it emits the <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a156d249adafb167b396e61786590480b">nameAppeared()</a></code> or <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a96df4b22f35d6e39d0db58e1e26a9550">nameDisappeared()</a></code> signal. <a href="#aca7dd6273d3e2335a436b34b284d1830"></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_subscriber_1_1_d_bus_name_listener.html#afd2c19f9dc41d1e68bc2d22a1e2ac4a7">onNameHasOwnerFinished</a> (QDBusPendingCallWatcher *watcher)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Handling of the asynchronous reply of the initial query. <a href="#afd2c19f9dc41d1e68bc2d22a1e2ac4a7"></a><br/></td></tr>
+<tr><td colspan="2"><h2>Private Member Functions</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_subscriber_1_1_d_bus_name_listener.html#a888a8557a7246d7c268e8037220f3156">setServicePresent</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a2a28de9dd87121d688410053a025c470">setServiceGone</a> ()</td></tr>
+<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032d">ServicePresence</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ab1dd997605d2d5ef768c1b113ee42c52">servicePresent</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Our current understanding about the service name's state. <a href="#ab1dd997605d2d5ef768c1b113ee42c52"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">QDBusConnection::BusType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a4ae2ef44be74c21c952f1bddb2a152f9">busType</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The service bus type we are interested in. <a href="#a4ae2ef44be74c21c952f1bddb2a152f9"></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_subscriber_1_1_d_bus_name_listener.html#a86d18fe068b5a9e7b722aaf76dd897bd">busName</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The service name we are interested in. <a href="#a86d18fe068b5a9e7b722aaf76dd897bd"></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_subscriber_1_1_d_bus_name_listener.html#a2141c57da98b81259101f6e782cf92f5">listeningStarted</a></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">QDBusConnection *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ae09ac9d58b9c15e9ba77bf7f8247a5e7">connection</a></td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<p>Listens for changes in a specific service name on a D-Bus bus, optionally gets the initial state of the service name. </p>
+<p>When you create an instance of this class, it won't open any D-Bus connections. When startListening is called, the instance connects to the NameOwnerChanged D-Bus signal. It can also check the current status of the service by executing an asynchronous NameHasOwner call.</p>
+<p>If the specified service appears on D-Bus, it will emit the <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a156d249adafb167b396e61786590480b">nameAppeared()</a></code> signal, if disappears, then the <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a96df4b22f35d6e39d0db58e1e26a9550">nameDisappeared()</a> signal. An initial query and signal emission will be done if <code>initialCheck</code> is true, which is the default.</p>
+<p>Anytime you can check with <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac6727dbeb9c1f8ef2c101b223ef3acca" title="Return our current understanding (not present, present, unknown) of the presence...">isServicePresent()</a></code> if according to our current knowledge (last signal emission) the service is present or not. This means that if <code>initialCheck</code> is false, <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac6727dbeb9c1f8ef2c101b223ef3acca" title="Return our current understanding (not present, present, unknown) of the presence...">isServicePresent()</a></code> can return false, even though the service is present. </p>
+<hr/><h2>Member Enumeration Documentation</h2>
+<a class="anchor" id="ac265c0eaa26e4e3b3c3182652563032d"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::ServicePresence" ref="ac265c0eaa26e4e3b3c3182652563032d" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ac265c0eaa26e4e3b3c3182652563032d">ContextSubscriber::DBusNameListener::ServicePresence</a></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
+<tr><td valign="top"><em><a class="anchor" id="ac265c0eaa26e4e3b3c3182652563032dae05cd8cfb673aebec9380153d11a8884"></a><!-- doxytag: member="NotPresent" ref="ac265c0eaa26e4e3b3c3182652563032dae05cd8cfb673aebec9380153d11a8884" args="" -->NotPresent</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign="top"><em><a class="anchor" id="ac265c0eaa26e4e3b3c3182652563032da7d8b53934031f453839328d87f1602ab"></a><!-- doxytag: member="Present" ref="ac265c0eaa26e4e3b3c3182652563032da7d8b53934031f453839328d87f1602ab" args="" -->Present</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign="top"><em><a class="anchor" id="ac265c0eaa26e4e3b3c3182652563032dad3f04d9af475c8f8a465d7aa0e0bd48c"></a><!-- doxytag: member="Unknown" ref="ac265c0eaa26e4e3b3c3182652563032dad3f04d9af475c8f8a465d7aa0e0bd48c" args="" -->Unknown</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dd>
+</dl>
+
+</div>
+</div>
+<hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="a80cd4b4576989625cefc639d21bfee5d"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::DBusNameListener" ref="a80cd4b4576989625cefc639d21bfee5d" args="(QDBusConnection::BusType busType, const QString &amp;busName, QObject *parent=0)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextSubscriber::DBusNameListener::DBusNameListener </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">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">
+
+</div>
+</div>
+<a class="anchor" id="ac9b64a5b065dab20600d600c54cac950"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::DBusNameListener" ref="ac9b64a5b065dab20600d600c54cac950" args="(const QDBusConnection bus, const QString &amp;busName, QObject *parent=0)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextSubscriber::DBusNameListener::DBusNameListener </td>
+ <td>(</td>
+ <td class="paramtype">const QDBusConnection&nbsp;</td>
+ <td class="paramname"> <em>bus</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">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">
+
+</div>
+</div>
+<a class="anchor" id="a0049dbd454615122dcfca92253b7e7d7"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::~DBusNameListener" ref="a0049dbd454615122dcfca92253b7e7d7" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">ContextSubscriber::DBusNameListener::~DBusNameListener </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="ac6727dbeb9c1f8ef2c101b223ef3acca"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::isServicePresent" ref="ac6727dbeb9c1f8ef2c101b223ef3acca" args="() const " -->
+<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#ac265c0eaa26e4e3b3c3182652563032d">DBusNameListener::ServicePresence</a> ContextSubscriber::DBusNameListener::isServicePresent </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Return our current understanding (not present, present, unknown) of the presence of the watched service. </p>
+
+</div>
+</div>
+<a class="anchor" id="a156d249adafb167b396e61786590480b"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::nameAppeared" ref="a156d249adafb167b396e61786590480b" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::nameAppeared </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [signal]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a96df4b22f35d6e39d0db58e1e26a9550"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::nameDisappeared" ref="a96df4b22f35d6e39d0db58e1e26a9550" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::nameDisappeared </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [signal]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="afd2c19f9dc41d1e68bc2d22a1e2ac4a7"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::onNameHasOwnerFinished" ref="afd2c19f9dc41d1e68bc2d22a1e2ac4a7" args="(QDBusPendingCallWatcher *watcher)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::onNameHasOwnerFinished </td>
+ <td>(</td>
+ <td class="paramtype">QDBusPendingCallWatcher *&nbsp;</td>
+ <td class="paramname"> <em>watcher</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [private, slot]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Handling of the asynchronous reply of the initial query. </p>
+
+</div>
+</div>
+<a class="anchor" id="aca7dd6273d3e2335a436b34b284d1830"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::onServiceOwnerChanged" ref="aca7dd6273d3e2335a436b34b284d1830" args="(const QString &amp;name, const QString &amp;oldOwner, const QString &amp;newOwner)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::onServiceOwnerChanged </td>
+ <td>(</td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>oldOwner</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const QString &amp;&nbsp;</td>
+ <td class="paramname"> <em>newOwner</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td><code> [private, slot]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>This slot is called when DBusNameOwnerChanged signal arrives and it just filters the name and if we are interested in the name it emits the <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a156d249adafb167b396e61786590480b">nameAppeared()</a></code> or <code><a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a96df4b22f35d6e39d0db58e1e26a9550">nameDisappeared()</a></code> signal. </p>
+
+</div>
+</div>
+<a class="anchor" id="a2a28de9dd87121d688410053a025c470"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::setServiceGone" ref="a2a28de9dd87121d688410053a025c470" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::setServiceGone </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a888a8557a7246d7c268e8037220f3156"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::setServicePresent" ref="a888a8557a7246d7c268e8037220f3156" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::setServicePresent </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a29c51998308e0448bee857df8f8206cc"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::startListening" ref="a29c51998308e0448bee857df8f8206cc" args="(bool nameHasOwnerCheck)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ContextSubscriber::DBusNameListener::startListening </td>
+ <td>(</td>
+ <td class="paramtype">bool&nbsp;</td>
+ <td class="paramname"> <em>nameHasOwnerCheck</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Start listening to the NameOwnerChanged signal over D-Bus. </p>
+<p>If <em>nameHasOwnerCheck</em> is true, also send a NameHasOwner query to D-Bus (asyncronously). </p>
+
+</div>
+</div>
+<hr/><h2>Member Data Documentation</h2>
+<a class="anchor" id="a86d18fe068b5a9e7b722aaf76dd897bd"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::busName" ref="a86d18fe068b5a9e7b722aaf76dd897bd" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QString <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a86d18fe068b5a9e7b722aaf76dd897bd">ContextSubscriber::DBusNameListener::busName</a><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>The service name we are interested in. </p>
+
+</div>
+</div>
+<a class="anchor" id="a4ae2ef44be74c21c952f1bddb2a152f9"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::busType" ref="a4ae2ef44be74c21c952f1bddb2a152f9" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QDBusConnection::BusType <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a4ae2ef44be74c21c952f1bddb2a152f9">ContextSubscriber::DBusNameListener::busType</a><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>The service bus type we are interested in. </p>
+
+</div>
+</div>
+<a class="anchor" id="ae09ac9d58b9c15e9ba77bf7f8247a5e7"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::connection" ref="ae09ac9d58b9c15e9ba77bf7f8247a5e7" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">QDBusConnection* <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ae09ac9d58b9c15e9ba77bf7f8247a5e7">ContextSubscriber::DBusNameListener::connection</a><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a2141c57da98b81259101f6e782cf92f5"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::listeningStarted" ref="a2141c57da98b81259101f6e782cf92f5" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#a2141c57da98b81259101f6e782cf92f5">ContextSubscriber::DBusNameListener::listeningStarted</a><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="ab1dd997605d2d5ef768c1b113ee42c52"></a><!-- doxytag: member="ContextSubscriber::DBusNameListener::servicePresent" ref="ab1dd997605d2d5ef768c1b113ee42c52" 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#ac265c0eaa26e4e3b3c3182652563032d">ServicePresence</a> <a class="el" href="class_context_subscriber_1_1_d_bus_name_listener.html#ab1dd997605d2d5ef768c1b113ee42c52">ContextSubscriber::DBusNameListener::servicePresent</a><code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>Our current understanding about the service name's state. </p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="dbusnamelistener_8h_source.html">dbusnamelistener.h</a></li>
+<li><a class="el" href="dbusnamelistener_8cpp.html">dbusnamelistener.cpp</a></li>
+<li><a class="el" href="mocs_8cpp.html">mocs.cpp</a></li>
+</ul>
+</div>
+<hr size="1"/><address style="text-align: right;"><small>Generated on Thu Dec 10 16:51:58 2009 for libcontextsubscriber 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>