org.kde.koala
Class KDCOPPropertyProxy
public
class
KDCOPPropertyProxy
extends Object
implements QtSupport
The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a
QObject through DCOP.
The class provides DCOP equivalents for the Qt property methods setProperty() ,
property() and propertyNames() and also provides automatic set/get methods for
the properties of a QObject. That means for example if your object provides a
String property called foo , then KDCOPPropertyProxy translates DCOP calls
"setFoo( String )" and "String foo()" automatically into the corresponding
setProperty/property calls.
UNKNOWN: The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a QObject through DCOP.
Method Summary |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isPropertyRequest(String fun)
Convenience method, when using this class as object. |
static boolean | isPropertyRequest(String fun, QObject object)
Returns true if the method request in the fun argument matches the signature of the three standard
property methods or set/get methods for the properties of the object argument.
|
boolean | processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData)
Convenience method, when using this class as object. |
static boolean | processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, QObject object)
Processes the given DCOP method request by translating the request into a setProperty/property call
on the given QObject argument. |
protected KDCOPPropertyProxy(Class dummy)
public KDCOPPropertyProxy(QObject object)
Convenience constructor. Use it if you want to use this class as object, in contrary
to using the static methods of this class and providing a QObject argument for each
call.
UNKNOWN: Convenience constructor.
public void dispose()
Delete the wrapped C++ instance ahead of finalize()
protected void finalize()
Deletes the wrapped C++ instance
public boolean isDisposed()
Has the wrapped C++ instance been deleted?
public boolean isPropertyRequest(String fun)
Convenience method, when using this class as object. See documentation of the constructor and
static isPropertyRequest method.
UNKNOWN: Convenience method, when using this class as object.
public static boolean isPropertyRequest(String fun, QObject object)
Returns true if the method request in the fun argument matches the signature of the three standard
property methods or set/get methods for the properties of the object argument.
Use this method in your own DCOPObject dispatcher to check if the DCOP request is a property
request which can be handled by this class.
UNKNOWN: Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument.
public boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData)
Convenience method, when using this class as object. See documentation of the constructor and
static processPropertyRequest method.
UNKNOWN: Convenience method, when using this class as object.
public static boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, QObject object)
Processes the given DCOP method request by translating the request into a setProperty/property call
on the given QObject argument.
UNKNOWN: Processes the given DCOP method request by translating the request into a setProperty/property call on the given QObject argument.