LiveConnectExtension Class Reference
from PyKDE4.kparts import *
Inherits: QObject
Namespace: KParts
Detailed Description
Enumerations |
Type | { TypeVoid, TypeBool, TypeFunction, TypeNumber, TypeObject, TypeString } |
Methods |
| __init__ (self, KParts.ReadOnlyPart parent) |
bool | call (self, long objid, QString func, QStringList args, KParts.LiveConnectExtension.Type type, long retobjid, QString value) |
bool | get (self, long objid, QString field, KParts.LiveConnectExtension.Type type, long retobjid, QString value) |
| partEvent (self, long objid, QString event, KParts.LiveConnectExtension.ArgList args) |
bool | put (self, long objid, QString field, QString value) |
| unregister (self, long objid) |
Static Methods |
KParts.LiveConnectExtension | childObject (QObject obj) |
Method Documentation
bool call |
( |
self, |
|
|
|
long |
objid, |
|
|
QString |
func, |
|
|
QStringList |
args, |
|
|
KParts.LiveConnectExtension.Type |
type, |
|
|
long |
retobjid, |
|
|
QString |
value |
|
) |
|
|
|
calls a function of objid, return true on success
bool get |
( |
self, |
|
|
|
long |
objid, |
|
|
QString |
field, |
|
|
KParts.LiveConnectExtension.Type |
type, |
|
|
long |
retobjid, |
|
|
QString |
value |
|
) |
|
|
|
get a field value from objid, return true on success
partEvent |
( |
self, |
|
|
|
long |
objid, |
|
|
QString |
event, |
|
|
KParts.LiveConnectExtension.ArgList |
args |
|
) |
|
|
|
notify a event from the part of object objid
put a field value in objid, return true on success
unregister |
( |
self, |
|
|
|
long |
objid |
|
) |
|
|
|
notifies the part that there is no reference anymore to objid
Enumeration Documentation
- Enumerator:
-
TypeVoid = 0 | |
TypeBool | |
TypeFunction | |
TypeNumber | |
TypeObject | |
TypeString | |