Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 97

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en_US" xml:lang="en_US">

<head>
  <title>dcop: DCOPClient Class Reference (dcop)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">dcop</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a>  </div>
  <div class="headertitle">
<div class="title">DCOPClient Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="DCOPClient" --><!-- doxytag: inherits="QObject" -->
<p>Inter-process communication and remote procedure calls for <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications.  
 <a href="classDCOPClient.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dcopclient_8h_source.html">dcopclient.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DCOPClient:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classDCOPClient.png" usemap="#DCOPClient_map" alt=""/>
  <map id="DCOPClient_map" name="DCOPClient_map">
<area href="qobject.html" alt="QObject" shape="rect" coords="0,0,80,24"/>
</map>
 </div></div>

<p><a href="classDCOPClient-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#acd3322a80dc24dd94ed161b3dd11d950">processSocketData</a> (int socknum)</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a572dc5b8630fceabbdbc1bca314c5717">applicationRegistered</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;appId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#afd4e3a1fd898e1c29d22dc6ef505810d">applicationRemoved</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;appId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a2fe3fcd90bd2654bfc15b6574c2301cf">attachFailed</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a9f609e11201e5fc089c262c8bc1fd318">blockUserInput</a> (bool block)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a937a33f9943a8f93e2f360fe67addf23"></a><!-- doxytag: member="DCOPClient::callBack" ref="a937a33f9943a8f93e2f360fe67addf23" args="(int, const QCString &amp;, const QByteArray &amp;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>callBack</b> (int, const <a class="elRef" href="qcstring.html">QCString</a> &amp;, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ab4bb4fb7cd7c0ef624783dfc2da5165b">DCOPClient</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ac621fc39efc091d067ff51bbd25876e3">~DCOPClient</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a5b91eb6f361ac9afc06055155f349ff1">attach</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76935256f49482af3288ed923a768e8a"></a><!-- doxytag: member="DCOPClient::bindToApp" ref="a76935256f49482af3288ed923a768e8a" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>bindToApp</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a1dd7f2085fc2934c15eb8704d73cb92c">detach</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a1572b811045662009b0e9d01df2ee963">isAttached</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#af5d8ffea1be6b698e8bb0f31d8f6bdc7">isAttachedToForeignServer</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a4672a837e0fd20c9c6a8b9ad35df83d4">acceptCalls</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#adc5905b28a24f518123af4a7b4c5c140">setAcceptCalls</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a7f8a344bc085aaf26940c7b2ceb69de8">qtBridgeEnabled</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a1f20a619219018328966edf08db77cdd">setQtBridgeEnabled</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a9efc2316a0980e5cff73b7c6b7a40d16">registerAs</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;appId, bool addPID=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a2de169371c75fd16e00c819d6474c58a">isRegistered</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a78afdcc90daf071ab8de5db599c8f952">appId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a8aa38c63b731cc6bfe5bee917038a014">socket</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ac3c06b86c0f87c367431029f614e615e">suspend</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a72efab1d25bab079e18771f330d54e52">resume</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#af3df2538b9a500c1a261e8bde2b8a611">isSuspended</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0">send</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aad2466abefd1d4cb8c31d09f375969bd">send</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qstring.html">QString</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a8665da8f4d35021e7e7ebe4da58849d5">call</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData, bool useEventLoop, int timeout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ace25702d6c804bb106f8b997393f6354">call</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData, bool useEventLoop=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a01078d7f2d087308dcee21bcc3f3083b">callAsync</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qobject.html">QObject</a> *callBackObj, const char *callBackSlot)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a4d80a75ea8b423029d3016bd4a36c3bb">findObject</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;foundApp, <a class="elRef" href="qcstring.html">QCString</a> &amp;foundObj, bool useEventLoop, int timeout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a5cf468cdec7d5fd2645dcef3ee90fdd2">findObject</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remFun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;foundApp, <a class="elRef" href="qcstring.html">QCString</a> &amp;foundObj, bool useEventLoop=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ad0850b962ab00a229ac0199566ed58aa">emitDCOPSignal</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;object, const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abfb6c5dbd9fc8d35a9c68e6ae2d1b7f7"></a><!-- doxytag: member="DCOPClient::emitDCOPSignal" ref="abfb6c5dbd9fc8d35a9c68e6ae2d1b7f7" args="(const QCString &amp;signal, const QByteArray &amp;data)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>emitDCOPSignal</b> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a1c4d7ebffc79200b1d1a7a023b6f0088">connectDCOPSignal</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;<a class="elRef" href="qobject.html#sender">sender</a>, const <a class="elRef" href="qcstring.html">QCString</a> &amp;senderObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qcstring.html">QCString</a> &amp;receiverObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;slot, bool Volatile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a6d7e39d5fd8868c016db79347b91fde1">connectDCOPSignal</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;<a class="elRef" href="qobject.html#sender">sender</a>, const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qcstring.html">QCString</a> &amp;receiverObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;slot, bool Volatile) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ae3d9f41613d057d9f1f3aab17a57565f">disconnectDCOPSignal</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;<a class="elRef" href="qobject.html#sender">sender</a>, const <a class="elRef" href="qcstring.html">QCString</a> &amp;senderObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qcstring.html">QCString</a> &amp;receiverObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;slot)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aa61148b040169adc39c69f6b2724e677">disconnectDCOPSignal</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;<a class="elRef" href="qobject.html#sender">sender</a>, const <a class="elRef" href="qcstring.html">QCString</a> &amp;signal, const <a class="elRef" href="qcstring.html">QCString</a> &amp;receiverObj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;slot) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aa9162c84a8c8f3615497e0130016a863">process</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;fun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">DCOPClientTransaction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a1f22fdc6a3888205860c14762ec49fa6">beginTransaction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aa6d4ac498ed1d7db1c8507980232c334">endTransaction</a> (DCOPClientTransaction *t, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INT32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aa6f543f9a1363eba1c001945c2f3f8dc">transactionId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#abe1782eda46ce8e3fc8312d54364790b">isApplicationRegistered</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvaluelist.html">QCStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a2e49aecea8e6125010b6fb1756af96d1">registeredApplications</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvaluelist.html">QCStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aaa349277c41024e02f23ba659708836a">remoteObjects</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, bool *ok=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvaluelist.html">QCStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ae4008742dc276a4deccb4fe4e04db8e3">remoteInterfaces</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, bool *ok=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qvaluelist.html">QCStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a03276ed1bb5b0b2093a96f8763887d59">remoteFunctions</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;remApp, const <a class="elRef" href="qcstring.html">QCString</a> &amp;remObj, bool *ok=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ad52b74d6616d71dd2e5a6e3aa45500"></a><!-- doxytag: member="DCOPClient::receive" ref="a5ad52b74d6616d71dd2e5a6e3aa45500" args="(const QCString &amp;app, const QCString &amp;obj, const QCString &amp;fun, const QByteArray &amp;data, QCString &amp;replyType, QByteArray &amp;replyData)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>receive</b> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;app, const <a class="elRef" href="qcstring.html">QCString</a> &amp;obj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;fun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5aabc1af32faeead1be3c238bd933084"></a><!-- doxytag: member="DCOPClient::find" ref="a5aabc1af32faeead1be3c238bd933084" args="(const QCString &amp;app, const QCString &amp;obj, const QCString &amp;fun, const QByteArray &amp;data, QCString &amp;replyType, QByteArray &amp;replyData)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;app, const <a class="elRef" href="qcstring.html">QCString</a> &amp;obj, const <a class="elRef" href="qcstring.html">QCString</a> &amp;fun, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;data, <a class="elRef" href="qcstring.html">QCString</a> &amp;replyType, <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a4658f80b4a1b9551265d7ff9868d0cb1">senderId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a77402267989557b0d4b1be7abca8e823">setDefaultObject</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;objId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a923e73b28a0728bd4cfb2b0588f06b16">defaultObject</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a9bc15bce767c2eee47c69b3130476f27">setNotifications</a> (bool enabled)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a050f883c074f8e755f485d7bf213b11d">setDaemonMode</a> (bool daemonMode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fa9a0b4c7f801ebe6044eadc21903a5"></a><!-- doxytag: member="DCOPClient::setPriorityCall" ref="a2fa9a0b4c7f801ebe6044eadc21903a5" args="(bool)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPriorityCall</b> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71346fbfaa66dc5a4030eef1867494b9"></a><!-- doxytag: member="DCOPClient::handleAsyncReply" ref="a71346fbfaa66dc5a4030eef1867494b9" args="(ReplyStruct *replyStruct)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>handleAsyncReply</b> (ReplyStruct *replyStruct)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#ab22a939a0d330559fb90b1f29b7f08b8">setServerAddress</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;addr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a047e9c432da03c733321c3da4d9f8551">normalizeFunctionSignature</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;fun)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDCOPClient.html">DCOPClient</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#aa53dc8b77e9551859db246a04d87d0a8">mainClient</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a9f57218d09f2b3dc530a5588a5f5b73f">setMainClient</a> (<a class="el" href="classDCOPClient.html">DCOPClient</a> *mainClient)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classDCOPClient.html">DCOPClient</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a3d2d77004bd19e31f0bedf96f1ce7504">findLocalClient</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;_appId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac685114e6de875c0d7c0fce740662253"></a><!-- doxytag: member="DCOPClient::emergencyClose" ref="ac685114e6de875c0d7c0fce740662253" args="()" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>emergencyClose</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a564fca0aa7648c1e61eb8b23cdda01af"></a><!-- doxytag: member="DCOPClient::postMortemSender" ref="a564fca0aa7648c1e61eb8b23cdda01af" args="()" -->
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>postMortemSender</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6edf02f762e1a3079023a6c60b092ac7"></a><!-- doxytag: member="DCOPClient::postMortemObject" ref="a6edf02f762e1a3079023a6c60b092ac7" args="()" -->
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>postMortemObject</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5876f9a51065b3f3b284299cbcbae5cd"></a><!-- doxytag: member="DCOPClient::postMortemFunction" ref="a5876f9a51065b3f3b284299cbcbae5cd" args="()" -->
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>postMortemFunction</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a95a7a019b186d236db617b27b592d882">dcopServerFile</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;hostname=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a4e4eb319ea0242bd8a848d867a56cec1">dcopServerFileOld</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;hostname=0) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDCOPClient.html#a860b2673dd5fd586fd99c517b8c72473">iceauthPath</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4e3c46e127d5e31c2d8c9d64880f5e6"></a><!-- doxytag: member="DCOPClient::virtual_hook" ref="af4e3c46e127d5e31c2d8c9d64880f5e6" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#ga0700917363f5dec99b0f45decd5dfacc">dcop_attach</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#ga6ad55586c67a25bc296ff07e0598b425">dcop_register</a> (const char *app_name, Bool add_pid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#gaea079b400f67a328b48d41e8c552b2b2">dcop_detach</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#gaddc2ea5df658fe574138ff04cbbec8de">dcop_register_callback</a> (const char *object_id, dcop_callback_t callback)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#ga6702ddef48d457bf146751db61592d21">dcop_send_signal</a> (const char *receiving_app, const char *object, const char *function, char *data, int data_length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dcopc.html#ga21aae6efe90c7e735ac5a6cd64125f81">dcop_call</a> (const char *app_name, const char *remote_app_name, const char *remote_object_id, const char *remote_function, const char *data, int data_length, char **reply_type, char **reply_data, int *reply_data_length)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Inter-process communication and remote procedure calls for <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications. </p>
<p>This class provides IPC and RPC for <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications. Usually you will not have to instantiate one yourself because <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html">KApplication</a> contains a method to return a pointer to a <a class="el" href="classDCOPClient.html" title="Inter-process communication and remote procedure calls for KDE applications.">DCOPClient</a> object which can be used for your whole application.</p>
<p>Before being able to send or receive any DCOP messages, you will have to attach your client object to the DCOP server, and then register your application with a specific name. See <a class="el" href="classDCOPClient.html#a5b91eb6f361ac9afc06055155f349ff1" title="Attaches to the DCOP server.">attach()</a> and <a class="el" href="classDCOPClient.html#a9efc2316a0980e5cff73b7c6b7a40d16" title="Registers at the DCOP server.">registerAs()</a> for more information.</p>
<p>Data to be sent should be serialized into a <a class="elRef" href="qdatastream.html">QDataStream</a> which was initialized with the <a class="elRef" href="qbytearray.html">QByteArray</a> that you actually intend to send the data in. An example of how you might do this:</p>
<div class="fragment"><pre class="fragment">   <a class="codeRef" href="qbytearray.html">QByteArray</a> data;
   <a class="codeRef" href="qdatastream.html">QDataStream</a> arg(data, IO_WriteOnly);
   arg &lt;&lt; <a class="codeRef" href="qstring.html">QString</a>(<span class="stringliteral">&quot;This is text I am serializing&quot;</span>);
   client-&gt;<a class="code" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send</a>(<span class="stringliteral">&quot;someApp&quot;</span>, <span class="stringliteral">&quot;someObject&quot;</span>, <span class="stringliteral">&quot;someFunction(QString)&quot;</span>, data);
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#a70b63a8a22f2544d0e322fb6a4f2571b">KApplication::dcopClient()</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Preston Brown &lt;<a href="mailto:pbrown@kde.org">pbrown@kde.org</a>&gt;, Matthias Ettrich &lt;<a href="mailto:ettrich@kde.org">ettrich@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8h_source.html#l00068">68</a> of file <a class="el" href="dcopclient_8h_source.html">dcopclient.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab4bb4fb7cd7c0ef624783dfc2da5165b"></a><!-- doxytag: member="DCOPClient::DCOPClient" ref="ab4bb4fb7cd7c0ef624783dfc2da5165b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DCOPClient::DCOPClient </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a new DCOP client, but does not attach to any server. </p>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00594">594</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac621fc39efc091d067ff51bbd25876e3"></a><!-- doxytag: member="DCOPClient::~DCOPClient" ref="ac621fc39efc091d067ff51bbd25876e3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DCOPClient::~DCOPClient </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cleans up any open connections and dynamic data. </p>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00619">619</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4672a837e0fd20c9c6a8b9ad35df83d4"></a><!-- doxytag: member="DCOPClient::acceptCalls" ref="a4672a837e0fd20c9c6a8b9ad35df83d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::acceptCalls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the client handles incoming calls. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the client accepts calls </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00921">921</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a78afdcc90daf071ab8de5db599c8f952"></a><!-- doxytag: member="DCOPClient::appId" ref="a78afdcc90daf071ab8de5db599c8f952" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::appId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current app id or a null string if the application hasn't yet been registered. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the application id, or QString::null if not registered </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00995">995</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a572dc5b8630fceabbdbc1bca314c5717"></a><!-- doxytag: member="DCOPClient::applicationRegistered" ref="a572dc5b8630fceabbdbc1bca314c5717" args="(const QCString &amp;appId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::applicationRegistered </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>appId</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates that the application <code>appId</code> has been registered with the server we are attached to. </p>
<p>You need to call <a class="el" href="classDCOPClient.html#a9bc15bce767c2eee47c69b3130476f27" title="Enables / disables the applicationRegistered() / applicationRemoved() signals.">setNotifications()</a> first, to tell the DCOP server that you want to get these events. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">appId</td><td>the id of the new application </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afd4e3a1fd898e1c29d22dc6ef505810d"></a><!-- doxytag: member="DCOPClient::applicationRemoved" ref="afd4e3a1fd898e1c29d22dc6ef505810d" args="(const QCString &amp;appId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::applicationRemoved </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>appId</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates that the formerly registered application <code>appId</code> has been removed. </p>
<p>You need to call <a class="el" href="classDCOPClient.html#a9bc15bce767c2eee47c69b3130476f27" title="Enables / disables the applicationRegistered() / applicationRemoved() signals.">setNotifications()</a> first, to tell the DCOP server that you want to get these events. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">appId</td><td>the id of the removed application </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5b91eb6f361ac9afc06055155f349ff1"></a><!-- doxytag: member="DCOPClient::attach" ref="a5b91eb6f361ac9afc06055155f349ff1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::attach </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Attaches to the DCOP server. </p>
<p>If the connection was already attached, the connection will be re-established with the current server address.</p>
<p>Naturally, only attached application can use DCOP services.</p>
<p>If a <a class="elRef" href="qapplication.html">QApplication</a> object exists then client registers itself as QApplication::name() + "-" + &lt;pid&gt;. If no <a class="elRef" href="qapplication.html">QApplication</a> object exists the client registers itself as "anonymous".</p>
<p>If you want to register differently, you should use <a class="el" href="classDCOPClient.html#a9efc2316a0980e5cff73b7c6b7a40d16" title="Registers at the DCOP server.">registerAs()</a> instead.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if attaching was successful. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00663">663</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2fe3fcd90bd2654bfc15b6574c2301cf"></a><!-- doxytag: member="DCOPClient::attachFailed" ref="a2fe3fcd90bd2654bfc15b6574c2301cf" args="(const QString &amp;msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::attachFailed </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>msg</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates that the process of establishing DCOP communications failed in some manner. </p>
<p>Usually attached to a dialog box or some other visual aid. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">msg</td><td>the message tha contains further information </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1f22fdc6a3888205860c14762ec49fa6"></a><!-- doxytag: member="DCOPClient::beginTransaction" ref="a1f22fdc6a3888205860c14762ec49fa6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DCOPClientTransaction * DCOPClient::beginTransaction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delays the reply of the current function call until <a class="el" href="classDCOPClient.html#aa6d4ac498ed1d7db1c8507980232c334" title="Sends the delayed reply of a function call.">endTransaction()</a> is called. </p>
<p>This allows a server to queue requests.</p>
<p>Note: Should be called from inside <a class="el" href="classDCOPClient.html#aa9162c84a8c8f3615497e0130016a863" title="Reimplement this function to handle app-wide function calls unassociated w/an object.">process()</a> only! </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#aa6d4ac498ed1d7db1c8507980232c334" title="Sends the delayed reply of a function call.">endTransaction()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02049">2049</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9f609e11201e5fc089c262c8bc1fd318"></a><!-- doxytag: member="DCOPClient::blockUserInput" ref="a9f609e11201e5fc089c262c8bc1fd318" args="(bool block)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::blockUserInput </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>block</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates that user input shall be blocked or released, depending on the argument. </p>
<p>The signal is emitted whenever the client has to wait too long (i.e. more than 1/10 of a second) for an answer to a synchronous call. In that case, it will enter a local event loop to keep the GUI updated until finally an answer arrives.</p>
<p>In <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a>, the <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html">KApplication</a> object connects to this signal to be able to block any user input (i.e. mouse and key events) while we are waiting for an answer. If we did not do this, the application might end up in an illegal state, as a keyboard shortcut or a mouse action might cause another dcop call to be issued. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">block</td><td>true to block user input, false otherwise </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8665da8f4d35021e7e7ebe4da58849d5"></a><!-- doxytag: member="DCOPClient::call" ref="a8665da8f4d35021e7e7ebe4da58849d5" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data, QCString &amp;replyType, QByteArray &amp;replyData, bool useEventLoop, int timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::call </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>replyType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>replyData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useEventLoop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performs a synchronous send and receive. </p>
<p>The parameters are the same as for send, with the exception of another <a class="elRef" href="qbytearray.html">QByteArray</a> being provided for results to be (optionally) returned in.</p>
<p>A call blocks the application until the process receives the answer.</p>
<p>If <code>useEventLoop</code> is true, a local event loop will be started after 1/10th of a second in order to keep the user interface updated (by processing paint events and such) until an answer is received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>the remote application's id </td></tr>
    <tr><td class="paramname">remObj</td><td>the remote object id </td></tr>
    <tr><td class="paramname">remFun</td><td>the remote function id </td></tr>
    <tr><td class="paramname">data</td><td>the data to send </td></tr>
    <tr><td class="paramname">replyType</td><td>the type of the reply will be written here </td></tr>
    <tr><td class="paramname">replyData</td><td>the data of the reply will be written here </td></tr>
    <tr><td class="paramname">useEventLoop</td><td>if true the event loop will be started when the call blocks too long </td></tr>
    <tr><td class="paramname">timeout</td><td>timeout for the call in miliseconds, or -1 for no timeout </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if successful, false otherwise</dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01736">1736</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace25702d6c804bb106f8b997393f6354"></a><!-- doxytag: member="DCOPClient::call" ref="ace25702d6c804bb106f8b997393f6354" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data, QCString &amp;replyType, QByteArray &amp;replyData, bool useEventLoop=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::call </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>replyType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>replyData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useEventLoop</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01728">1728</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a01078d7f2d087308dcee21bcc3f3083b"></a><!-- doxytag: member="DCOPClient::callAsync" ref="a01078d7f2d087308dcee21bcc3f3083b" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data, QObject *callBackObj, const char *callBackSlot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DCOPClient::callAsync </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qobject.html">QObject</a> *&#160;</td>
          <td class="paramname"><em>callBackObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>callBackSlot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performs a asynchronous send with receive callback. </p>
<p>The first four parameters are the same as for send.</p>
<p><code>callBackObj</code> and <code>callBackSlot</code> specify a call back slot that is called when an answer is received.</p>
<p>The slot should have the following signature: callBackSlot(int callId, const <a class="elRef" href="qcstring.html">QCString</a>&amp; replyType, const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;replyData);</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>the remote application's id </td></tr>
    <tr><td class="paramname">remObj</td><td>the remote object id </td></tr>
    <tr><td class="paramname">remFun</td><td>the remote function id </td></tr>
    <tr><td class="paramname">data</td><td>the data to send </td></tr>
    <tr><td class="paramname">callBackObj</td><td>object to call back </td></tr>
    <tr><td class="paramname">callBackSlot</td><td>slot to call back </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on failure, on success a callId &gt; 0 is returned that will be passed as first argument of the result call back</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send()</a> </dd>
<dd>
callback()</dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01780">1780</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1c4d7ebffc79200b1d1a7a023b6f0088"></a><!-- doxytag: member="DCOPClient::connectDCOPSignal" ref="a1c4d7ebffc79200b1d1a7a023b6f0088" args="(const QCString &amp;sender, const QCString &amp;senderObj, const QCString &amp;signal, const QCString &amp;receiverObj, const QCString &amp;slot, bool Volatile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::connectDCOPSignal </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>sender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>senderObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>signal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>receiverObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>Volatile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Connects to a DCOP signal. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sender</td><td>the name of the client that emits the signal. When empty the signal will be passed from any client. </td></tr>
    <tr><td class="paramname">senderObj</td><td>the name of the sending object that emits the signal. </td></tr>
    <tr><td class="paramname">signal</td><td>the name of the signal. The arguments should match with slot. </td></tr>
    <tr><td class="paramname">receiverObj</td><td>The name of the object to call </td></tr>
    <tr><td class="paramname">slot</td><td>The name of the slot to call. Its arguments should match with signal. </td></tr>
    <tr><td class="paramname">Volatile</td><td>If true, the connection will not be reestablished when <code>sender</code> unregisters and reregisters with DCOP. In this case the <code>sender</code> must be registered when the connection is made. If false, the connection will be reestablished when <code>sender</code> reregisters. In this case the connection can be made even if <code>sender</code> is not registered at that time.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false if a connection could not be established. This will be the case when <ul>
<li><code>Volatile</code> is true and <code>sender</code> does not exist. </li>
<li><code>signal</code> and <code>slot</code> do not have matching arguments. </li>
</ul>
</dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02142">2142</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6d7e39d5fd8868c016db79347b91fde1"></a><!-- doxytag: member="DCOPClient::connectDCOPSignal" ref="a6d7e39d5fd8868c016db79347b91fde1" args="(const QCString &amp;sender, const QCString &amp;signal, const QCString &amp;receiverObj, const QCString &amp;slot, bool Volatile) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::connectDCOPSignal </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>sender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>signal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>receiverObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>Volatile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>For backwards compatibility </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02170">2170</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a95a7a019b186d236db617b27b592d882"></a><!-- doxytag: member="DCOPClient::dcopServerFile" ref="a95a7a019b186d236db617b27b592d882" args="(const QCString &amp;hostname=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::dcopServerFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>hostname</em> = <code>0</code></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>File with information how to reach the dcopserver. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">hostname</td><td>Hostname to use, if empty current hostname of the system is used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Filename that contains information how to contact the DCOPserver. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00300">300</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4e4eb319ea0242bd8a848d867a56cec1"></a><!-- doxytag: member="DCOPClient::dcopServerFileOld" ref="a4e4eb319ea0242bd8a848d867a56cec1" args="(const QCString &amp;hostname=0) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::dcopServerFileOld </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>hostname</em> = <code>0</code></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>For backwards compatibility with <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> 2.x // KDE4 remove </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00307">307</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a923e73b28a0728bd4cfb2b0588f06b16"></a><!-- doxytag: member="DCOPClient::defaultObject" ref="a923e73b28a0728bd4cfb2b0588f06b16" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::defaultObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current default object or an empty string if no object is installed as default object. </p>
<p>A default object receives application-wide messages that have not been processed by the <a class="el" href="classDCOPClient.html" title="Inter-process communication and remote procedure calls for KDE applications.">DCOPClient</a> itself. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the id of the new default object </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02029">2029</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1dd7f2085fc2934c15eb8704d73cb92c"></a><!-- doxytag: member="DCOPClient::detach" ref="a1dd7f2085fc2934c15eb8704d73cb92c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::detach </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Detaches from the DCOP server. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if successful, false otherwise </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00885">885</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae3d9f41613d057d9f1f3aab17a57565f"></a><!-- doxytag: member="DCOPClient::disconnectDCOPSignal" ref="ae3d9f41613d057d9f1f3aab17a57565f" args="(const QCString &amp;sender, const QCString &amp;senderObj, const QCString &amp;signal, const QCString &amp;receiverObj, const QCString &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::disconnectDCOPSignal </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>sender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>senderObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>signal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>receiverObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>slot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disconnects a DCOP signal. </p>
<p>A special case is when both <code>sender</code> &amp; <code>signal</code> are empty. In this case all connections related to <code>receiverObj</code> in the current client are disconnected. (Both connections from as well as to this object!)</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sender</td><td>the name of the client that emits the signal. </td></tr>
    <tr><td class="paramname">senderObj</td><td>the name of the object that emits the signal. If empty all objects will be disconnected. </td></tr>
    <tr><td class="paramname">signal</td><td>the name of the signal. The arguments should match with slot. </td></tr>
    <tr><td class="paramname">receiverObj</td><td>The name of the object the signal is connected to. If empty all objects will be disconnected. </td></tr>
    <tr><td class="paramname">slot</td><td>The name of the slot the signal is connected to. If empty all slots will be disconnected. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false if no connection(s) where removed. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02177">2177</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa61148b040169adc39c69f6b2724e677"></a><!-- doxytag: member="DCOPClient::disconnectDCOPSignal" ref="aa61148b040169adc39c69f6b2724e677" args="(const QCString &amp;sender, const QCString &amp;signal, const QCString &amp;receiverObj, const QCString &amp;slot) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::disconnectDCOPSignal </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>sender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>signal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>receiverObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>slot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>For backwards compatibility </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02204">2204</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad0850b962ab00a229ac0199566ed58aa"></a><!-- doxytag: member="DCOPClient::emitDCOPSignal" ref="ad0850b962ab00a229ac0199566ed58aa" args="(const QCString &amp;object, const QCString &amp;signal, const QByteArray &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::emitDCOPSignal </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>signal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emits <code>signal</code> as DCOP signal from object <code>object</code> with <code>data</code> as arguments. </p>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02129">2129</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa6d4ac498ed1d7db1c8507980232c334"></a><!-- doxytag: member="DCOPClient::endTransaction" ref="aa6d4ac498ed1d7db1c8507980232c334" args="(DCOPClientTransaction *t, QCString &amp;replyType, QByteArray &amp;replyData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::endTransaction </td>
          <td>(</td>
          <td class="paramtype">DCOPClientTransaction *&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>replyType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>replyData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends the delayed reply of a function call. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td>the transaction as received from <a class="el" href="classDCOPClient.html#a1f22fdc6a3888205860c14762ec49fa6" title="Delays the reply of the current function call until endTransaction() is called.">beginTransaction()</a> </td></tr>
    <tr><td class="paramname">replyType</td><td>write the reply type in this string </td></tr>
    <tr><td class="paramname">replyData</td><td>write the reply data in this array </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#a1f22fdc6a3888205860c14762ec49fa6" title="Delays the reply of the current function call until endTransaction() is called.">beginTransaction()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02079">2079</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3d2d77004bd19e31f0bedf96f1ce7504"></a><!-- doxytag: member="DCOPClient::findLocalClient" ref="a3d2d77004bd19e31f0bedf96f1ce7504" args="(const QCString &amp;_appId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDCOPClient.html">DCOPClient</a> * DCOPClient::findLocalClient </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>_appId</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Look for the given client only in this process. </p>
<p>This can be used to check whether a given client (by name) is running in the same process or in another one. </p>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00098">98</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4d80a75ea8b423029d3016bd4a36c3bb"></a><!-- doxytag: member="DCOPClient::findObject" ref="a4d80a75ea8b423029d3016bd4a36c3bb" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data, QCString &amp;foundApp, QCString &amp;foundObj, bool useEventLoop, int timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::findObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>foundApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>foundObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useEventLoop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Searches for an object which matches a criteria. </p>
<p>findObject calls <code>remFun</code> in the applications and objects identified by <code>remApp</code> and <code>remObj</code> until <code>remFun</code> returns true. The name of the application and object that returned true are returned in <code>foundApp</code> and <code>foundObj</code> respectively.</p>
<p>If <code>remFun</code> is empty a default function is called in the object which always returns <code>true</code>.</p>
<p>A findObject blocks the application until the process receives the answer.</p>
<p>If <code>useEventLoop</code> is true, a local event loop will be started after 1/10th of a second in order to keep the user interface updated (by processing paint events and such) until an answer is received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>The remote application id. </td></tr>
    <tr><td class="paramname">remObj</td><td>The name of the remote object. </td></tr>
    <tr><td class="paramname">remFun</td><td>The remote function in the specified object to call. This function should return a bool and is used as criteria. </td></tr>
    <tr><td class="paramname">data</td><td>The data to provide to the remote function. </td></tr>
    <tr><td class="paramname">foundApp</td><td>The remote application id that matched the criteria. </td></tr>
    <tr><td class="paramname">foundObj</td><td>The remote object that matched the criteria. </td></tr>
    <tr><td class="paramname">useEventLoop</td><td>if true the event loop will be started when the call blocks too long </td></tr>
    <tr><td class="paramname">timeout</td><td>timeout for the call in miliseconds, or -1 for no timeout </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true is returned when an object was found for which <code>remFun</code> returned true. If no such object is the function returns false.</dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01119">1119</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5cf468cdec7d5fd2645dcef3ee90fdd2"></a><!-- doxytag: member="DCOPClient::findObject" ref="a5cf468cdec7d5fd2645dcef3ee90fdd2" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data, QCString &amp;foundApp, QCString &amp;foundObj, bool useEventLoop=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::findObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>foundApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>foundObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useEventLoop</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01111">1111</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a860b2673dd5fd586fd99c517b8c72473"></a><!-- doxytag: member="DCOPClient::iceauthPath" ref="a860b2673dd5fd586fd99c517b8c72473" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::iceauthPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the path of iceauth or an empty string if not found. </p>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00213">213</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abe1782eda46ce8e3fc8312d54364790b"></a><!-- doxytag: member="DCOPClient::isApplicationRegistered" ref="abe1782eda46ce8e3fc8312d54364790b" args="(const QCString &amp;remApp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::isApplicationRegistered </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks whether <code>remApp</code> is registered with the DCOP server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>the id of the remote application </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the remote application is registered, otherwise <code>false</code>. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01221">1221</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1572b811045662009b0e9d01df2ee963"></a><!-- doxytag: member="DCOPClient::isAttached" ref="a1572b811045662009b0e9d01df2ee963" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::isAttached </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether or not the client is attached to the server. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if attached, false if not </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00908">908</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af5d8ffea1be6b698e8bb0f31d8f6bdc7"></a><!-- doxytag: member="DCOPClient::isAttachedToForeignServer" ref="af5d8ffea1be6b698e8bb0f31d8f6bdc7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::isAttachedToForeignServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the client is attached to a server owned by another user. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if attached to a foreign server, false if not </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00916">916</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2de169371c75fd16e00c819d6474c58a"></a><!-- doxytag: member="DCOPClient::isRegistered" ref="a2de169371c75fd16e00c819d6474c58a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::isRegistered </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether or not the client is registered at the server. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if registered at the server </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00989">989</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af3df2538b9a500c1a261e8bde2b8a611"></a><!-- doxytag: member="DCOPClient::isSuspended" ref="af3df2538b9a500c1a261e8bde2b8a611" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::isSuspended </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether DCOP events are being processed. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#ac3c06b86c0f87c367431029f614e615e" title="Temporarily suspends processing of DCOP events.">suspend()</a> </dd>
<dd>
<a class="el" href="classDCOPClient.html#a72efab1d25bab079e18771f330d54e52" title="Resumes the processing of DCOP events.">resume()</a>. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00705">705</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa53dc8b77e9551859db246a04d87d0a8"></a><!-- doxytag: member="DCOPClient::mainClient" ref="aa53dc8b77e9551859db246a04d87d0a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDCOPClient.html">DCOPClient</a> * DCOPClient::mainClient </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the application's main dcop client. </p>
<p>The main client can be used by objects that do not have any specific access to a dcop client. In <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications, the main client usually is the same as <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#a70b63a8a22f2544d0e322fb6a4f2571b">KApplication::dcopClient()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the application's main dcop client </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00583">583</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a047e9c432da03c733321c3da4d9f8551"></a><!-- doxytag: member="DCOPClient::normalizeFunctionSignature" ref="a047e9c432da03c733321c3da4d9f8551" args="(const QCString &amp;fun)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::normalizeFunctionSignature </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>fun</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Normalizes the function signature <code>fun</code>. </p>
<p>A normalized signature doesn't contain any unnecessary whitespace anymore. The remaining whitespace consists of single blanks only (0x20).</p>
<p>Example for a normalized signature: </p>
<div class="fragment"><pre class="fragment">   <span class="stringliteral">&quot;someFunction(QString,int)&quot;</span>
</pre></div><p>When using <a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send()</a> or <a class="el" href="classDCOPClient.html#a8665da8f4d35021e7e7ebe4da58849d5" title="Performs a synchronous send and receive.">call()</a>, normalization is done automatically for you.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fun</td><td>the function signature to normalize </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the normalized function </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01014">1014</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa9162c84a8c8f3615497e0130016a863"></a><!-- doxytag: member="DCOPClient::process" ref="aa9162c84a8c8f3615497e0130016a863" args="(const QCString &amp;fun, const QByteArray &amp;data, QCString &amp;replyType, QByteArray &amp;replyData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::process </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>fun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>replyType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>replyData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplement this function to handle app-wide function calls unassociated w/an object. </p>
<p>Note that <code>fun</code> is normalized. See <a class="el" href="classDCOPClient.html#a047e9c432da03c733321c3da4d9f8551" title="Normalizes the function signature fun.">normalizeFunctionSignature()</a>.</p>
<p>If you do not want to reimplement this function for whatever reason, you can also use a default object or a <a class="el" href="classDCOPObjectProxy.html" title="You must use a proxy if you want to dispatch method calls for object IDs which don&#39;t have (yet) a cor...">DCOPObjectProxy</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fun</td><td>the normalized function signature </td></tr>
    <tr><td class="paramname">data</td><td>the received data </td></tr>
    <tr><td class="paramname">replyType</td><td>write the reply type in this string </td></tr>
    <tr><td class="paramname">replyData</td><td>write the reply data in this array </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if successful, false otherwise </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#a77402267989557b0d4b1be7abca8e823" title="Installs object objId as application-wide default object.">setDefaultObject()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01215">1215</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acd3322a80dc24dd94ed161b3dd11d950"></a><!-- doxytag: member="DCOPClient::processSocketData" ref="acd3322a80dc24dd94ed161b3dd11d950" args="(int socknum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::processSocketData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socknum</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Process data from the socket. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">socknum</td><td>the fd of the socket </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01987">1987</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7f8a344bc085aaf26940c7b2ceb69de8"></a><!-- doxytag: member="DCOPClient::qtBridgeEnabled" ref="a7f8a344bc085aaf26940c7b2ceb69de8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::qtBridgeEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the DCOP - <a class="elRef" href="qt.html">Qt</a> bridge is enabled. </p>
<p>By default the DCOP - <a class="elRef" href="qt.html">Qt</a> bridge is enabled. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if <a class="elRef" href="qt.html">Qt</a> objects are accessible over DCOP </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.0.2 </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00932">932</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9efc2316a0980e5cff73b7c6b7a40d16"></a><!-- doxytag: member="DCOPClient::registerAs" ref="a9efc2316a0980e5cff73b7c6b7a40d16" args="(const QCString &amp;appId, bool addPID=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::registerAs </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>appId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>addPID</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Registers at the DCOP server. </p>
<p>If the application was already registered, the registration will be re-done with the new appId.</p>
<p><code>appId</code> is a <code>unique</code> application/program id that the server will use to associate requests with. If there is already an application registered with the same name, the server will add a number to the id to unify it. If <code>addPID</code> is true, the PID of the current process will be added to id.</p>
<p>Registration is necessary if you want to allow other clients to talk to you. They can do so using your <code>appId</code> as first parameter for <a class="el" href="classDCOPClient.html#ab4c4945c3be14e9997d0b411c040b5f0" title="Sends a data block to the server.">send()</a> or <a class="el" href="classDCOPClient.html#a8665da8f4d35021e7e7ebe4da58849d5" title="Performs a synchronous send and receive.">call()</a>. If you just want to talk to other clients, you do not need to register at the server. In that case <a class="el" href="classDCOPClient.html#a5b91eb6f361ac9afc06055155f349ff1" title="Attaches to the DCOP server.">attach()</a> is enough. It will implicitly register you as "anonymous".</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">appId</td><td>the id of the application </td></tr>
    <tr><td class="paramname">addPID</td><td>true to add the process id </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The actual <code>appId</code> used for the registration or a null string if the registration wasn't successful. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00942">942</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2e49aecea8e6125010b6fb1756af96d1"></a><!-- doxytag: member="DCOPClient::registeredApplications" ref="a2e49aecea8e6125010b6fb1756af96d1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvaluelist.html">QCStringList</a> DCOPClient::registeredApplications </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the list of all currently registered applications from dcopserver. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all regietered applications </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01235">1235</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a03276ed1bb5b0b2093a96f8763887d59"></a><!-- doxytag: member="DCOPClient::remoteFunctions" ref="a03276ed1bb5b0b2093a96f8763887d59" args="(const QCString &amp;remApp, const QCString &amp;remObj, bool *ok=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvaluelist.html">QCStringList</a> DCOPClient::remoteFunctions </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>ok</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the list of functions of the remote object <code>remObj</code> of application <code>remApp</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>the id of the application </td></tr>
    <tr><td class="paramname">remObj</td><td>the id of the object </td></tr>
    <tr><td class="paramname">ok</td><td>if not null, the function sets <code>ok</code> to true if successful and false if an error occurred </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of function ids </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01279">1279</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae4008742dc276a4deccb4fe4e04db8e3"></a><!-- doxytag: member="DCOPClient::remoteInterfaces" ref="ae4008742dc276a4deccb4fe4e04db8e3" args="(const QCString &amp;remApp, const QCString &amp;remObj, bool *ok=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvaluelist.html">QCStringList</a> DCOPClient::remoteInterfaces </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>ok</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the list of interfaces of the remote object <code>remObj</code> of application <code>remApp</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>the id of the application </td></tr>
    <tr><td class="paramname">remObj</td><td>the id of the object </td></tr>
    <tr><td class="paramname">ok</td><td>if not null, the function sets <code>ok</code> to true if successful and false if an error occurred </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of interfaces </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01263">1263</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaa349277c41024e02f23ba659708836a"></a><!-- doxytag: member="DCOPClient::remoteObjects" ref="aaa349277c41024e02f23ba659708836a" args="(const QCString &amp;remApp, bool *ok=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qvaluelist.html">QCStringList</a> DCOPClient::remoteObjects </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>ok</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the list of objects of the remote application <code>remApp</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>he id of the application </td></tr>
    <tr><td class="paramname">ok</td><td>if not null, the function sets <code>ok</code> to true if successful and false if an error occurred </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of object ids </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01247">1247</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a72efab1d25bab079e18771f330d54e52"></a><!-- doxytag: member="DCOPClient::resume" ref="a72efab1d25bab079e18771f330d54e52" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::resume </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resumes the processing of DCOP events. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#ac3c06b86c0f87c367431029f614e615e" title="Temporarily suspends processing of DCOP events.">suspend()</a>. </dd>
<dd>
<a class="el" href="classDCOPClient.html#af3df2538b9a500c1a261e8bde2b8a611" title="Returns whether DCOP events are being processed.">isSuspended()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00695">695</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab4c4945c3be14e9997d0b411c040b5f0"></a><!-- doxytag: member="DCOPClient::send" ref="ab4c4945c3be14e9997d0b411c040b5f0" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QByteArray &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::send </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qbytearray.html">QByteArray</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends a data block to the server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>The remote application id. </td></tr>
    <tr><td class="paramname">remObj</td><td>The name of the remote object. </td></tr>
    <tr><td class="paramname">remFun</td><td>The remote function in the specified object to call. </td></tr>
    <tr><td class="paramname">data</td><td>The data to provide to the remote function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether or not the server was able to accept the send. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01048">1048</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aad2466abefd1d4cb8c31d09f375969bd"></a><!-- doxytag: member="DCOPClient::send" ref="aad2466abefd1d4cb8c31d09f375969bd" args="(const QCString &amp;remApp, const QCString &amp;remObj, const QCString &amp;remFun, const QString &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DCOPClient::send </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remObj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>remFun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function acts exactly the same as the above, but the data parameter can be specified as a <a class="elRef" href="qstring.html">QString</a> for convenience. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">remApp</td><td>The remote application id. </td></tr>
    <tr><td class="paramname">remObj</td><td>The name of the remote object. </td></tr>
    <tr><td class="paramname">remFun</td><td>The remote function in the specified object to call. </td></tr>
    <tr><td class="paramname">data</td><td>The data to provide to the remote function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether or not the server was able to accept the send. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01102">1102</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4658f80b4a1b9551265d7ff9868d0cb1"></a><!-- doxytag: member="DCOPClient::senderId" ref="a4658f80b4a1b9551265d7ff9868d0cb1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> DCOPClient::senderId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the appId of the last application that talked to us. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the application id of the last application that send a message to this client </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01042">1042</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adc5905b28a24f518123af4a7b4c5c140"></a><!-- doxytag: member="DCOPClient::setAcceptCalls" ref="adc5905b28a24f518123af4a7b4c5c140" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setAcceptCalls </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify whether the client should accept incoming calls. </p>
<p>By default clients accept incoming calls, but not when connected to a foreign server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>true to accept calls, false to reject them </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00926">926</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a050f883c074f8e755f485d7bf213b11d"></a><!-- doxytag: member="DCOPClient::setDaemonMode" ref="a050f883c074f8e755f485d7bf213b11d" args="(bool daemonMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setDaemonMode </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>daemonMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells the dcopserver to treat the client as daemon client, not as regular client. </p>
<p>If the number of regular clients drops down to zero, the dcopserver will emit a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> termination signal after 10 seconds. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">daemonMode</td><td>true to enable daemon mode, false to disable </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01307">1307</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a77402267989557b0d4b1be7abca8e823"></a><!-- doxytag: member="DCOPClient::setDefaultObject" ref="a77402267989557b0d4b1be7abca8e823" args="(const QCString &amp;objId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setDefaultObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>objId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Installs object <code>objId</code> as application-wide default object. </p>
<p>All app-wide messages that have not been processed by the dcopclient will be send further to <code>objId</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">objId</td><td>the id of the new default object </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02023">2023</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9f57218d09f2b3dc530a5588a5f5b73f"></a><!-- doxytag: member="DCOPClient::setMainClient" ref="a9f57218d09f2b3dc530a5588a5f5b73f" args="(DCOPClient *mainClient)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setMainClient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDCOPClient.html">DCOPClient</a> *&#160;</td>
          <td class="paramname"><em>mainClient</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the application's main dcop client. </p>
<p>The main client can be used by objects that do not have any specific access to a dcop client. In <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications, the main client usually is the same as <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#a70b63a8a22f2544d0e322fb6a4f2571b">KApplication::dcopClient()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mainClient</td><td>the new main dcop client </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00588">588</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9bc15bce767c2eee47c69b3130476f27"></a><!-- doxytag: member="DCOPClient::setNotifications" ref="a9bc15bce767c2eee47c69b3130476f27" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setNotifications </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables / disables the <a class="el" href="classDCOPClient.html#a572dc5b8630fceabbdbc1bca314c5717" title="Indicates that the application appId has been registered with the server we are attached to...">applicationRegistered()</a> / <a class="el" href="classDCOPClient.html#afd4e3a1fd898e1c29d22dc6ef505810d" title="Indicates that the formerly registered application appId has been removed.">applicationRemoved()</a> signals. </p>
<p>Note that a counter is maintained about how often this method was called. If this method is called twice with <code>enabled</code> set to true, notifications will be enabled until it was called with <code>enabled</code> set to false as often.</p>
<p>They are disabled by default. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enabled</td><td>true to enable notifications, false to disable </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01295">1295</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1f20a619219018328966edf08db77cdd"></a><!-- doxytag: member="DCOPClient::setQtBridgeEnabled" ref="a1f20a619219018328966edf08db77cdd" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setQtBridgeEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify whether <a class="elRef" href="qt.html">Qt</a> objects of the application should be accessible via DCOP. </p>
<p>By default the DCOP - <a class="elRef" href="qt.html">Qt</a> bridge is enabled. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>true to make <a class="elRef" href="qt.html">Qt</a> objects accessible over DCOP </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.0.2 </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00937">937</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab22a939a0d330559fb90b1f29b7f08b8"></a><!-- doxytag: member="DCOPClient::setServerAddress" ref="ab22a939a0d330559fb90b1f29b7f08b8" args="(const QCString &amp;addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::setServerAddress </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>addr</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the address of a server to use upon attaching. </p>
<p>If no server address is ever specified, attach will try its best to find the server anyway. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">addr</td><td>the new address of the server </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00655">655</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8aa38c63b731cc6bfe5bee917038a014"></a><!-- doxytag: member="DCOPClient::socket" ref="a8aa38c63b731cc6bfe5bee917038a014" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DCOPClient::socket </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the socket fd that is used for communication with the server. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The socket over which DCOP is communicating with the server. </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l01001">1001</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac3c06b86c0f87c367431029f614e615e"></a><!-- doxytag: member="DCOPClient::suspend" ref="ac3c06b86c0f87c367431029f614e615e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DCOPClient::suspend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Temporarily suspends processing of DCOP events. </p>
<p>This can be useful if you need to show e.g. a dialog before your application is ready to accept DCOP requests. Normally the dialog would start an event loop and in this event loop DCOP requests will be handled.</p>
<p>Be aware that not responding to DCOP requests may cause other programs that want to communicate with your application, to hang. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#a72efab1d25bab079e18771f330d54e52" title="Resumes the processing of DCOP events.">resume()</a> </dd>
<dd>
<a class="el" href="classDCOPClient.html#af3df2538b9a500c1a261e8bde2b8a611" title="Returns whether DCOP events are being processed.">isSuspended()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l00685">685</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa6f543f9a1363eba1c001945c2f3f8dc"></a><!-- doxytag: member="DCOPClient::transactionId" ref="aa6f543f9a1363eba1c001945c2f3f8dc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Q_INT32 DCOPClient::transactionId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classTest.html" title="This is a stupid comment that might help geiseri at some point in the near future.">Test</a> whether the current function call is delayed. </p>
<p>Note: Should be called from inside <a class="el" href="classDCOPClient.html#aa9162c84a8c8f3615497e0130016a863" title="Reimplement this function to handle app-wide function calls unassociated w/an object.">process()</a> only! </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The ID of the current transaction or 0 if no transaction is going on. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDCOPClient.html#aa9162c84a8c8f3615497e0130016a863" title="Reimplement this function to handle app-wide function calls unassociated w/an object.">process()</a> </dd>
<dd>
<a class="el" href="classDCOPClient.html#a1f22fdc6a3888205860c14762ec49fa6" title="Delays the reply of the current function call until endTransaction() is called.">beginTransaction()</a> </dd></dl>

<p>Definition at line <a class="el" href="dcopclient_8cpp_source.html#l02070">2070</a> of file <a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="dcopclient_8h_source.html">dcopclient.h</a></li>
<li><a class="el" href="dcopc_8h_source.html">dcopc.h</a></li>
<li><a class="el" href="dcopclient_8cpp_source.html">dcopclient.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>dcop</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classDCOPArg.html">dcoparg</option>,  <option value="classDCOPClient.html">dcopclient</option>,  <option value="classDCOPObject.html">dcopobject</option>,  <option value="classDCOPObjectProxy.html">dcopobjectproxy</option>,  <option value="classDCOPRef.html">dcopref</option>,  <option value="classDCOPReply.html">dcopreply</option>,  <option value="classDCOPStub.html">dcopstub</option>,  <option value="classTest.html">test</option>,  <option value="classTestObject.html">testobject</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>