#### PyKDE - Python Bindings for KDE

# class DCOPClient

Table of contents
Modules
dcop Classes
All Classes

Module | dcop
Class | DCOPClient
Inherits | QObject

### methods

- DCOPClient ()

  returns a DCOPClient instance

- acceptCalls ()

  returns (bool)

- appId ()

  returns (QCString)

- applicationRegistered (appId)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  appId | QCString |

- applicationRemoved (appId)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  appId | QCString |

- attach ()

  returns (bool)

- attachFailed (msg)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  msg | QString |

- beginTransaction ()

  returns (DCOPClientTransaction)

- bindToApp ()

  returns nothing

- blockUserInput (block)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  block | bool |

- call (remApp, remObj, remFun, data, useEventLoop, timeout)

  returns (bool) replyType (QCString) replyData (QByteArray)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |
  useEventLoop | bool |
  timeout | int |

- call (remApp, remObj, remFun, data, useEventLoop = 0)

  returns (bool) replyType (QCString) replyData (QByteArray)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |
  useEventLoop | bool | 0

- callAsync (remApp, remObj, remFun, data, callBackObj, callBackSlot)

  returns (int)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |
  callBackObj | QObject |
  callBackSlot | char |

- callAsync (a0, a1, a2, a3, slot, )

  returns (int)
  In versions KDE 3.2.0 and above, but less than KDE 3.3.0

  Argument | Type | Default
  --- | --- | ---
  a0 | QCString |
  a1 | QCString |
  a2 | QCString |
  a3 | QByteArray |
  slot | SLOT (Python callable) |

- callBack (a0, a1, a2)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | QCString |
  a2 | QByteArray |

- connectDCOPSignal (sender, senderObj, signal, receiverObj, slot, Volatile)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sender | QCString |
  senderObj | QCString |
  signal | QCString |
  receiverObj | QCString |
  slot | QCString |
  Volatile | bool |

- connectDCOPSignal (sender, signal, receiverObj, slot, Volatile)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sender | QCString |
  signal | QCString |
  receiverObj | QCString |
  slot | QCString |
  Volatile | bool |

- dcopServerFile (hostname = 0)

  returns (QCString)
  static

  Argument | Type | Default
  --- | --- | ---
  hostname | QCString | 0

- dcopServerFileOld (hostname = 0)

  returns (QCString)
  static

  Argument | Type | Default
  --- | --- | ---
  hostname | QCString | 0

- defaultObject ()

  returns (QCString)

- detach ()

  returns (bool)

- disconnectDCOPSignal (sender, senderObj, signal, receiverObj, slot)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sender | QCString |
  senderObj | QCString |
  signal | QCString |
  receiverObj | QCString |
  slot | QCString |

- disconnectDCOPSignal (sender, signal, receiverObj, slot)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sender | QCString |
  signal | QCString |
  receiverObj | QCString |
  slot | QCString |

- emergencyClose ()

  returns nothing
  static

- emitDCOPSignal (object, signal, data)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  object | QCString |
  signal | QCString |
  data | QByteArray |

- emitDCOPSignal (signal, data)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  signal | QCString |
  data | QByteArray |

- endTransaction (t, replyType, replyData)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  t | DCOPClientTransaction |
  replyType | QCString |
  replyData | QByteArray |

- find (app, obj, fun, data)

  returns (bool) replyType (QCString) replyData (QByteArray)

  Argument | Type | Default
  --- | --- | ---
  app | QCString |
  obj | QCString |
  fun | QCString |
  data | QByteArray |

- findLocalClient (_appId)

  returns (DCOPClient)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  _appId | QCString |

- findObject (remApp, remObj, remFun, data, useEventLoop, timeout)

  returns (bool) foundApp (QCString) foundObj (QCString)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |
  useEventLoop | bool |
  timeout | int |

- findObject (remApp, remObj, remFun, data, useEventLoop = 0)

  returns (bool) foundApp (QCString) foundObj (QCString)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |
  useEventLoop | bool | 0

- handleAsyncReply (replyStruct)

  Not Implemented

- iceauthPath ()

  returns (QCString)
  In versions KDE 3.2.0 and above only
  static

- isApplicationRegistered (remApp)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |

- isAttached ()

  returns (bool)

- isAttachedToForeignServer ()

  returns (bool)

- isRegistered ()

  returns (bool)

- isSuspended ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- mainClient ()

  returns (DCOPClient)
  static

- normalizeFunctionSignature (fun)

  returns (QCString)
  static

  Argument | Type | Default
  --- | --- | ---
  fun | QCString |

- postMortemFunction ()

  returns (char)
  static

- postMortemObject ()

  returns (char)
  static

- postMortemSender ()

  returns (char)
  static

- process (fun, data, replyType, replyData)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  fun | QCString |
  data | QByteArray |
  replyType | QCString |
  replyData | QByteArray |

- processSocketData (socknum)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  socknum | int |

- qtBridgeEnabled ()

  returns (bool)
  In versions KDE 3.0.3 and above only

- receive (app, obj, fun, data)

  returns (bool) replyType (QCString) replyData (QByteArray)

  Argument | Type | Default
  --- | --- | ---
  app | QCString |
  obj | QCString |
  fun | QCString |
  data | QByteArray |

- registerAs (appId, addPID = 1)

  returns (QCString)

  Argument | Type | Default
  --- | --- | ---
  appId | QCString |
  addPID | bool | 1

- registeredApplications ()

  returns (QCStringList)

- remoteFunctions (remApp, remObj)

  returns (QCStringList) ok (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |

- remoteInterfaces (remApp, remObj)

  returns (QCStringList) ok (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |

- remoteObjects (remApp)

  returns (QCStringList) ok (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |

- resume ()

  returns nothing

- send (remApp, remObj, remFun, data)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QByteArray |

- send (remApp, remObj, remFun, data)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  remApp | QCString |
  remObj | QCString |
  remFun | QCString |
  data | QString |

- senderId ()

  returns (QCString)

- setAcceptCalls (b)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setDaemonMode (daemonMode)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  daemonMode | bool |

- setDefaultObject (objId)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  objId | QCString |

- setMainClient (mainClient)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  mainClient | DCOPClient |

- setNotifications (enabled)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enabled | bool |

- setPriorityCall (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setQtBridgeEnabled (b)

  returns nothing
  In versions KDE 3.0.3 and above only

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setServerAddress (addr)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  addr | QCString |

- socket ()

  returns (int)

- suspend ()

  returns nothing

- transactionId ()

  returns (Q_INT32)