You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java

84 lines
4.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
/**
The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a
TQObject 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 TQObject. 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.
@short The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a TQObject through DCOP.
*/
public class KDCOPPropertyProxy implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KDCOPPropertyProxy(Class dummy){}
/**
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 TQObject argument for each
call.
@short Convenience constructor.
*/
public KDCOPPropertyProxy(TQObject object) {
newKDCOPPropertyProxy(object);
}
private native void newKDCOPPropertyProxy(TQObject object);
/**
Convenience method, when using this class as object. See documentation of the constructor and
static isPropertyRequest method.
@short Convenience method, when using this class as object.
*/
public native boolean isPropertyRequest(String fun);
/**
Convenience method, when using this class as object. See documentation of the constructor and
static processPropertyRequest method.
@short Convenience method, when using this class as object.
*/
public native 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 functions method.
@short Convenience method, when using this class as object.
*/
// TQValueList<TQCString> functions(); >>>> NOT CONVERTED
/**
Returns a semicolon-separated list of functions understood by the PropertyProxy for the given
TQObject argument.
Returns "property(String);setProperty(String,TQVariant);propertyNames();" plus set/get
methods for the properties of the given object argument.
@short Returns a semicolon-separated list of functions understood by the PropertyProxy for the given TQObject argument.
@see DCOPObject#functions
*/
// TQValueList<TQCString> functions(TQObject* arg1); >>>> NOT CONVERTED
/**
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.
@short 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 static native boolean isPropertyRequest(String fun, TQObject object);
/**
Processes the given DCOP method request by translating the request into a setProperty/property call
on the given TQObject argument.
@short Processes the given DCOP method request by translating the request into a setProperty/property call on the given TQObject argument.
*/
public static native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, TQObject object);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}