Sophie

Sophie

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

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" />
<!-- qdbusconnection.cpp -->
  <title>Obsolete Members for QDBusConnection | 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 >QDBusConnection</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="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Obsolete Members for QDBusConnection</h1>
<p><b>The following members of class <a href="qdbusconnection.html">QDBusConnection</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<h2>Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>bool </td><td class="memItemRight bottomAlign"><b><a href="qdbusconnection-obsolete.html#callWithCallback-1">callWithCallback</a></b>(const QDBusMessage &amp;<i>message</i>, QObject *<i>receiver</i>, const char *<i>returnMethod</i>, int <i>timeout</i> = -1) const</td></tr>
</table></div>
<h2>Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>QDBusConnection </td><td class="memItemRight bottomAlign"><b><a href="qdbusconnection-obsolete.html#sender">sender</a></b>()</td></tr>
</table></div>
<h2>Member Function Documentation</h2>
<!-- $$$callWithCallback$$$callWithCallbackconstQDBusMessage&QObject*constchar*int -->
<h3 class="fn" id="callWithCallback-1"><a name="callWithCallback-1"></a><span class="type">bool</span> QDBusConnection::<span class="name">callWithCallback</span>(const <span class="type"><a href="qdbusmessage.html">QDBusMessage</a></span> &amp;<i>message</i>, <span class="type"><a href="../qtcore/qobject.html">QObject</a></span> *<i>receiver</i>, const <span class="type">char</span> *<i>returnMethod</i>, <span class="type">int</span> <i>timeout</i> = -1) const</h3>
<p>This is an overloaded function.</p>
<p>Sends the <i>message</i> over this connection and returns immediately. When the reply is received, the method <i>returnMethod</i> is called in the <i>receiver</i> object.</p>
<p>This function is suitable for method calls only. It is guaranteed that the slot will be called exactly once with the reply, as long as the parameter types match and no error occurs.</p>
<p>This function is dangerous because it cannot report errors, including the expiration of the timeout.</p>
<p>Returns <code>true</code> if the message was sent, or false if the message could not be sent.</p>
<!-- @@@callWithCallback -->
<!-- $$$sender[overload1]$$$sender -->
<h3 class="fn" id="sender"><a name="sender"></a><code>[static] </code><span class="type"><a href="qdbusconnection.html#QDBusConnection">QDBusConnection</a></span> QDBusConnection::<span class="name">sender</span>()</h3>
<p>Always returns a disconnected, invalid <a href="qdbusconnection.html">QDBusConnection</a> object. For the old functionality of determining the sender connection, please use <a href="qdbuscontext.html">QDBusContext</a>.</p>
<p><b>See also </b><a href="qdbuscontext.html">QDBusContext</a>.</p>
<!-- @@@sender -->
        </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>