Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 950

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdbusservicewatcher.cpp -->
  <title>QDBusServiceWatcher Class | Qt D-Bus</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtdbus-index.html">Qt D-Bus</a></td><td ><a href="qtdbus-module.html">C++ Classes</a></td><td >QDBusServiceWatcher</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QDBusServiceWatcher Class</h1>
<!-- $$$QDBusServiceWatcher-brief -->
<p>The <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> class allows the user to watch for a bus service change. <a href="#details">More...</a></p>
<!-- @@@QDBusServiceWatcher -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QDBusServiceWatcher&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += dbus</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.6</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a></td></tr></table></div><ul>
<li><a href="qdbusservicewatcher-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#WatchModeFlag-enum">WatchMode</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#WatchModeFlag-enum">WatchModeFlag</a></b> { WatchForRegistration, WatchForUnregistration, WatchForOwnerChange }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><a href="qdbusservicewatcher.html#watchMode-prop">watchMode</a></b> : WatchMode</li>
<li class="fn"><b><a href="qdbusservicewatcher.html#watchedServices-prop">watchedServices</a></b> : QStringList</li>
</ul>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#QDBusServiceWatcher">QDBusServiceWatcher</a></b>(QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#QDBusServiceWatcher-1">QDBusServiceWatcher</a></b>(const QString &amp;<i>service</i>, const QDBusConnection &amp;<i>connection</i>, WatchMode <i>watchMode</i> = WatchForOwnerChange, QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#dtor.QDBusServiceWatcher">~QDBusServiceWatcher</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#addWatchedService">addWatchedService</a></b>(const QString &amp;<i>newService</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDBusConnection </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#connection">connection</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#removeWatchedService">removeWatchedService</a></b>(const QString &amp;<i>service</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#setConnection">setConnection</a></b>(const QDBusConnection &amp;<i>connection</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#watchMode-prop">setWatchMode</a></b>(WatchMode <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#setWatchedServices">setWatchedServices</a></b>(const QStringList &amp;<i>services</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> WatchMode </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#watchMode-prop">watchMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#watchedServices">watchedServices</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#serviceOwnerChanged">serviceOwnerChanged</a></b>(const QString &amp;<i>serviceName</i>, const QString &amp;<i>oldOwner</i>, const QString &amp;<i>newOwner</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#serviceRegistered">serviceRegistered</a></b>(const QString &amp;<i>serviceName</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdbusservicewatcher.html#serviceUnregistered">serviceUnregistered</a></b>(const QString &amp;<i>serviceName</i>)</td></tr>
</table></div>
<ul>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QDBusServiceWatcher-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> class allows the user to watch for a bus service change.</p>
<p>A <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object can be used to notify the application about an ownership change of a service name on the bus. It has three watch modes:</p>
<ul>
<li>Watching for service registration only.</li>
<li>Watching for service unregistration only.</li>
<li>Watching for any kind of service ownership change (the default mode).</li>
</ul>
<p>Besides being created or deleted, services may change owners without a unregister/register operation happening. So the <a href="qdbusservicewatcher.html#serviceRegistered">serviceRegistered</a>() and <a href="qdbusservicewatcher.html#serviceUnregistered">serviceUnregistered</a>() signals may not be emitted if that happens.</p>
<p>This class is more efficient than using the QDBusConnectionInterface::serviceOwnerChanged() signal because it allows one to receive only the signals for which the class is interested in.</p>
</div>
<p><b>See also </b><a href="qdbusconnection.html">QDBusConnection</a>.</p>
<!-- @@@QDBusServiceWatcher -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$WatchModeFlag$$$WatchForRegistration$$$WatchForUnregistration$$$WatchForOwnerChange -->
<h3 class="flags" id="WatchModeFlag-enum"><a name="WatchModeFlag-enum"></a>enum QDBusServiceWatcher::<span class="name">WatchModeFlag</span><br/>flags QDBusServiceWatcher::<span class="name">WatchMode</span></h3>
<p><a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> supports three different watch modes, which are configured by this flag:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QDBusServiceWatcher::WatchForRegistration</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">watch for service registration only, ignoring any signals related to other service ownership change.</td></tr>
<tr><td class="topAlign"><code>QDBusServiceWatcher::WatchForUnregistration</code></td><td class="topAlign tblval"><code>0x02</code></td><td class="topAlign">watch for service unregistration only, ignoring any signals related to other service ownership change.</td></tr>
<tr><td class="topAlign"><code>QDBusServiceWatcher::WatchForOwnerChange</code></td><td class="topAlign tblval"><code>0x03</code></td><td class="topAlign">watch for any kind of service ownership change.</td></tr>
</table></div>
<p>The WatchMode type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;WatchModeFlag&gt;. It stores an OR combination of WatchModeFlag values.</p>
<!-- @@@WatchModeFlag -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$watchMode-prop$$$watchMode$$$setWatchModeWatchMode -->
<h3 class="fn" id="watchMode-prop"><a name="watchMode-prop"></a><span class="name">watchMode</span> : <span class="type"><a href="qdbusservicewatcher.html#WatchModeFlag-enum">WatchMode</a></span></h3>
<p>The <code>watchMode</code> property holds the current watch mode for this <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object. The default value for this property is QDBusServiceWatcher::WatchForOwnershipChange.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> WatchMode </td><td class="memItemRight bottomAlign"><span class="name"><b>watchMode</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setWatchMode</b></span>(WatchMode <i>mode</i>)</td></tr>
</table></div>
<!-- @@@watchMode -->
<!-- $$$watchedServices-prop$$$watchedServices$$$setWatchedServicesconstQStringList& -->
<h3 class="fn" id="watchedServices-prop"><a name="watchedServices-prop"></a><span class="name">watchedServices</span> : <span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span></h3>
<p>The <code>servicesWatched</code> property holds the list of services watched.</p>
<p>Note that modifying this list with setServicesWatched() is an expensive operation. If you can, prefer to change it by way of <a href="qdbusservicewatcher.html#addWatchedService">addWatchedService</a>() and <a href="qdbusservicewatcher.html#removeWatchedService">removeWatchedService</a>().</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QStringList </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qdbusservicewatcher.html#watchedServices">watchedServices</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qdbusservicewatcher.html#setWatchedServices">setWatchedServices</a></b></span>(const QStringList &amp;<i>services</i>)</td></tr>
</table></div>
<!-- @@@watchedServices -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QDBusServiceWatcher[overload1]$$$QDBusServiceWatcherQObject* -->
<h3 class="fn" id="QDBusServiceWatcher"><a name="QDBusServiceWatcher"></a>QDBusServiceWatcher::<span class="name">QDBusServiceWatcher</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Creates a <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object. Note that until you set a connection with <a href="qdbusservicewatcher.html#setConnection">setConnection</a>(), this object will not emit any signals.</p>
<p>The <i>parent</i> parameter is passed to <a href="../qtcore/qobject.html">QObject</a> to set the parent of this object.</p>
<!-- @@@QDBusServiceWatcher -->
<!-- $$$QDBusServiceWatcher$$$QDBusServiceWatcherconstQString&constQDBusConnection&WatchModeQObject* -->
<h3 class="fn" id="QDBusServiceWatcher-1"><a name="QDBusServiceWatcher-1"></a>QDBusServiceWatcher::<span class="name">QDBusServiceWatcher</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>service</i>, const <span class="type"><a href="qdbusconnection.html">QDBusConnection</a></span> &amp;<i>connection</i>, <span class="type"><a href="qdbusservicewatcher.html#WatchModeFlag-enum">WatchMode</a></span> <i>watchMode</i> = WatchForOwnerChange, <span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Creates a <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object and attaches it to the <i>connection</i> connection. Also, this function immediately starts watching for <i>watchMode</i> changes to service <i>service</i>.</p>
<p>The <i>parent</i> parameter is passed to <a href="../qtcore/qobject.html">QObject</a> to set the parent of this object.</p>
<!-- @@@QDBusServiceWatcher -->
<!-- $$$~QDBusServiceWatcher[overload1]$$$~QDBusServiceWatcher -->
<h3 class="fn" id="dtor.QDBusServiceWatcher"><a name="dtor.QDBusServiceWatcher"></a>QDBusServiceWatcher::<span class="name">~QDBusServiceWatcher</span>()</h3>
<p>Destroys the <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object and releases any resources associated with it.</p>
<!-- @@@~QDBusServiceWatcher -->
<!-- $$$addWatchedService[overload1]$$$addWatchedServiceconstQString& -->
<h3 class="fn" id="addWatchedService"><a name="addWatchedService"></a><span class="type">void</span> QDBusServiceWatcher::<span class="name">addWatchedService</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>newService</i>)</h3>
<p>Adds <i>newService</i> to the list of services to be watched by this object. This function is more efficient than <a href="qdbusservicewatcher.html#setWatchedServices">setWatchedServices</a>() and should be used whenever possible to add services.</p>
<!-- @@@addWatchedService -->
<!-- $$$connection[overload1]$$$connection -->
<h3 class="fn" id="connection"><a name="connection"></a><span class="type"><a href="qdbusconnection.html">QDBusConnection</a></span> QDBusServiceWatcher::<span class="name">connection</span>() const</h3>
<p>Returns the <a href="qdbusconnection.html">QDBusConnection</a> that this object is attached to.</p>
<p><b>See also </b><a href="qdbusservicewatcher.html#setConnection">setConnection</a>().</p>
<!-- @@@connection -->
<!-- $$$removeWatchedService[overload1]$$$removeWatchedServiceconstQString& -->
<h3 class="fn" id="removeWatchedService"><a name="removeWatchedService"></a><span class="type">bool</span> QDBusServiceWatcher::<span class="name">removeWatchedService</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>service</i>)</h3>
<p>Removes the <i>service</i> from the list of services being watched by this object. Note that D-Bus notifications are asynchronous, so there may still be signals pending delivery about <i>service</i>. Those signals will still be emitted whenever the D-Bus messages are processed.</p>
<p>This function returns <code>true</code> if any services were removed.</p>
<!-- @@@removeWatchedService -->
<!-- $$$serviceOwnerChanged[overload1]$$$serviceOwnerChangedconstQString&constQString&constQString& -->
<h3 class="fn" id="serviceOwnerChanged"><a name="serviceOwnerChanged"></a><code>[signal] </code><span class="type">void</span> QDBusServiceWatcher::<span class="name">serviceOwnerChanged</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>serviceName</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>oldOwner</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>newOwner</i>)</h3>
<p>This signal is emitted whenever this object detects that there was a service ownership change relating to the <i>serviceName</i> service. The <i>oldOwner</i> parameter contains the old owner name and <i>newOwner</i> is the new owner. Both <i>oldOwner</i> and <i>newOwner</i> are unique connection names.</p>
<p>Note that this signal is also emitted whenever the <i>serviceName</i> service was registered or unregistered. If it was registered, <i>oldOwner</i> will contain an empty string, whereas if it was unregistered, <i>newOwner</i> will contain an empty string.</p>
<p>If you need only to find out if the service is registered or unregistered only, without being notified that the ownership changed, consider using the specific modes for those operations. This class is more efficient if you use the more specific modes.</p>
<p><b>See also </b><a href="qdbusservicewatcher.html#serviceRegistered">serviceRegistered</a>() and <a href="qdbusservicewatcher.html#serviceUnregistered">serviceUnregistered</a>().</p>
<!-- @@@serviceOwnerChanged -->
<!-- $$$serviceRegistered[overload1]$$$serviceRegisteredconstQString& -->
<h3 class="fn" id="serviceRegistered"><a name="serviceRegistered"></a><code>[signal] </code><span class="type">void</span> QDBusServiceWatcher::<span class="name">serviceRegistered</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>serviceName</i>)</h3>
<p>This signal is emitted whenever this object detects that the service <i>serviceName</i> became available on the bus.</p>
<p><b>See also </b><a href="qdbusservicewatcher.html#serviceUnregistered">serviceUnregistered</a>() and <a href="qdbusservicewatcher.html#serviceOwnerChanged">serviceOwnerChanged</a>().</p>
<!-- @@@serviceRegistered -->
<!-- $$$serviceUnregistered[overload1]$$$serviceUnregisteredconstQString& -->
<h3 class="fn" id="serviceUnregistered"><a name="serviceUnregistered"></a><code>[signal] </code><span class="type">void</span> QDBusServiceWatcher::<span class="name">serviceUnregistered</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i>serviceName</i>)</h3>
<p>This signal is emitted whenever this object detects that the service <i>serviceName</i> was unregistered from the bus and is no longer available.</p>
<p><b>See also </b><a href="qdbusservicewatcher.html#serviceRegistered">serviceRegistered</a>() and <a href="qdbusservicewatcher.html#serviceOwnerChanged">serviceOwnerChanged</a>().</p>
<!-- @@@serviceUnregistered -->
<!-- $$$setConnection[overload1]$$$setConnectionconstQDBusConnection& -->
<h3 class="fn" id="setConnection"><a name="setConnection"></a><span class="type">void</span> QDBusServiceWatcher::<span class="name">setConnection</span>(const <span class="type"><a href="qdbusconnection.html">QDBusConnection</a></span> &amp;<i>connection</i>)</h3>
<p>Sets the D-Bus connection that this object is attached to be <i>connection</i>. All services watched will be transferred to this connection.</p>
<p>Note that <a href="qdbusconnection.html">QDBusConnection</a> objects are reference counted: <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> will keep a reference for this connection while it exists. The connection is not closed until the reference count drops to zero, so this will ensure that any notifications are received while this <a href="qdbusservicewatcher.html">QDBusServiceWatcher</a> object exists.</p>
<p><b>See also </b><a href="qdbusservicewatcher.html#connection">connection</a>().</p>
<!-- @@@setConnection -->
<!-- $$$setWatchedServices -->
<h3 class="fn" id="setWatchedServices"><a name="setWatchedServices"></a><span class="type">void</span> QDBusServiceWatcher::<span class="name">setWatchedServices</span>(const <span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> &amp;<i>services</i>)</h3>
<p>Sets the list of D-Bus services being watched to be <i>services</i>.</p>
<p>Note that setting the entire list means removing all previous rules for watching services and adding new ones. This is an expensive operation and should be avoided, if possible. Instead, use <a href="qdbusservicewatcher.html#addWatchedService">addWatchedService</a>() and <a href="qdbusservicewatcher.html#removeWatchedService">removeWatchedService</a>() if you can to manipulate entries in the list.</p>
<p><b>Note:</b> Setter function for property <a href="qdbusservicewatcher.html#watchedServices-prop">watchedServices</a>. </p><p><b>See also </b><a href="qdbusservicewatcher.html#watchedServices">watchedServices</a>().</p>
<!-- @@@setWatchedServices -->
<!-- $$$watchedServices -->
<h3 class="fn" id="watchedServices"><a name="watchedServices"></a><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QDBusServiceWatcher::<span class="name">watchedServices</span>() const</h3>
<p>Returns the list of D-Bus services that are being watched.</p>
<p><b>Note:</b> Getter function for property <a href="qdbusservicewatcher.html#watchedServices-prop">watchedServices</a>. </p><p><b>See also </b><a href="qdbusservicewatcher.html#setWatchedServices">setWatchedServices</a>().</p>
<!-- @@@watchedServices -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>