PyKDE - Python Bindings for KDE
class DCOPClient
Table of contents
Modules
dcop Classes
All Classes
Module
dcop
Class
DCOPClient
Inherits
TQObject
methods
DCOPClient
()
returns
a DCOPClient instance
acceptCalls
()
returns
(bool)
appId
()
returns
(TQCString)
applicationRegistered
(appId)
returns
nothing
Argument
Type
Default
appId
TQCString
applicationRemoved
(appId)
returns
nothing
Argument
Type
Default
appId
TQCString
attach
()
returns
(bool)
attachFailed
(msg)
returns
nothing
Argument
Type
Default
msg
TQString
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 (TQCString) replyData (TQByteArray)
In versions KDE 3.2.0 and above only
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
useEventLoop
bool
timeout
int
call
(remApp, remObj, remFun, data, useEventLoop = 0)
returns
(bool) replyType (TQCString) replyData (TQByteArray)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
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
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
callBackObj
TQObject
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
TQCString
a1
TQCString
a2
TQCString
a3
TQByteArray
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
TQCString
a2
TQByteArray
connectDCOPSignal
(sender, senderObj, signal, receiverObj, slot, Volatile)
returns
(bool)
Argument
Type
Default
sender
TQCString
senderObj
TQCString
signal
TQCString
receiverObj
TQCString
slot
TQCString
Volatile
bool
connectDCOPSignal
(sender, signal, receiverObj, slot, Volatile)
returns
(bool)
Argument
Type
Default
sender
TQCString
signal
TQCString
receiverObj
TQCString
slot
TQCString
Volatile
bool
dcopServerFile
(hostname = 0)
returns
(TQCString)
static
Argument
Type
Default
hostname
TQCString
0
dcopServerFileOld
(hostname = 0)
returns
(TQCString)
static
Argument
Type
Default
hostname
TQCString
0
defaultObject
()
returns
(TQCString)
detach
()
returns
(bool)
disconnectDCOPSignal
(sender, senderObj, signal, receiverObj, slot)
returns
(bool)
Argument
Type
Default
sender
TQCString
senderObj
TQCString
signal
TQCString
receiverObj
TQCString
slot
TQCString
disconnectDCOPSignal
(sender, signal, receiverObj, slot)
returns
(bool)
Argument
Type
Default
sender
TQCString
signal
TQCString
receiverObj
TQCString
slot
TQCString
emergencyClose
()
returns
nothing
static
emitDCOPSignal
(object, signal, data)
returns
nothing
Argument
Type
Default
object
TQCString
signal
TQCString
data
TQByteArray
emitDCOPSignal
(signal, data)
returns
nothing
Argument
Type
Default
signal
TQCString
data
TQByteArray
endTransaction
(t, replyType, replyData)
returns
nothing
Argument
Type
Default
t
DCOPClientTransaction
replyType
TQCString
replyData
TQByteArray
find
(app, obj, fun, data)
returns
(bool) replyType (TQCString) replyData (TQByteArray)
Argument
Type
Default
app
TQCString
obj
TQCString
fun
TQCString
data
TQByteArray
findLocalClient
(_appId)
returns
(DCOPClient)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
_appId
TQCString
findObject
(remApp, remObj, remFun, data, useEventLoop, timeout)
returns
(bool) foundApp (TQCString) foundObj (TQCString)
In versions KDE 3.2.0 and above only
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
useEventLoop
bool
timeout
int
findObject
(remApp, remObj, remFun, data, useEventLoop = 0)
returns
(bool) foundApp (TQCString) foundObj (TQCString)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
useEventLoop
bool
0
handleAsyncReply
(replyStruct)
Not Implemented
iceauthPath
()
returns
(TQCString)
In versions KDE 3.2.0 and above only
static
isApplicationRegistered
(remApp)
returns
(bool)
Argument
Type
Default
remApp
TQCString
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
(TQCString)
static
Argument
Type
Default
fun
TQCString
postMortemFunction
()
returns
(char)
static
postMortemObject
()
returns
(char)
static
postMortemSender
()
returns
(char)
static
process
(fun, data, replyType, replyData)
returns
(bool)
Argument
Type
Default
fun
TQCString
data
TQByteArray
replyType
TQCString
replyData
TQByteArray
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 (TQCString) replyData (TQByteArray)
Argument
Type
Default
app
TQCString
obj
TQCString
fun
TQCString
data
TQByteArray
registerAs
(appId, addPID = 1)
returns
(TQCString)
Argument
Type
Default
appId
TQCString
addPID
bool
1
registeredApplications
()
returns
(QCStringList)
remoteFunctions
(remApp, remObj)
returns
(QCStringList) ok (bool)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remoteInterfaces
(remApp, remObj)
returns
(QCStringList) ok (bool)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remoteObjects
(remApp)
returns
(QCStringList) ok (bool)
Argument
Type
Default
remApp
TQCString
resume
()
returns
nothing
send
(remApp, remObj, remFun, data)
returns
(bool)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQByteArray
send
(remApp, remObj, remFun, data)
returns
(bool)
Argument
Type
Default
remApp
TQCString
remObj
TQCString
remFun
TQCString
data
TQString
senderId
()
returns
(TQCString)
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
TQCString
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
TQCString
socket
()
returns
(int)
suspend
()
returns
nothing
transactionId
()
returns
(Q_INT32)