diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDCOPActionProxy.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KDCOPActionProxy.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java index 17dad039..5f3ae2b2 100644 --- a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java +++ b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java @@ -6,9 +6,9 @@ import org.kde.qt.QtSupport; /** - The KDCOPActionProxy class provides an easy way to publish a collection of KAction objects + The KDCOPActionProxy class provides an easy way to publish a collection of TDEAction objects through DCOP. For the DCOP client the exported actions behave like full-fledged DCOP objects, - providing full access to the KAction object functionality in the server. + providing full access to the TDEAction object functionality in the server. This class can generate DCOP object ids for given action objects, which it automatically processes, as being a DCOPObjectProxy . @short A proxy class publishing a DCOP interface for actions. @@ -18,20 +18,20 @@ public class KDCOPActionProxy extends DCOPObjectProxy { protected KDCOPActionProxy(Class dummy){super((Class) null);} /** Constructs a dcop action proxy, being able to export the actions of the provided - KActionCollection through DCOP, using the parent DCOPObject's object id to + TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. - @short Constructs a dcop action proxy, being able to export the actions of the provided KActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. + @short Constructs a dcop action proxy, being able to export the actions of the provided TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. */ - public KDCOPActionProxy(KActionCollection actionCollection, DCOPObjectInterface parent) { + public KDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent) { super((Class) null); newKDCOPActionProxy(actionCollection,parent); } - private native void newKDCOPActionProxy(KActionCollection actionCollection, DCOPObjectInterface parent); + private native void newKDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent); /** Use this constructor if do not want to provide the exportable actions through a - KActionCollection . You have to reimplement the actions() and + TDEActionCollection . You have to reimplement the actions() and action() methods if you use this constructor. - @short Use this constructor if do not want to provide the exportable actions through a KActionCollection . + @short Use this constructor if do not want to provide the exportable actions through a TDEActionCollection . */ public KDCOPActionProxy(DCOPObjectInterface parent) { super((Class) null); @@ -40,10 +40,10 @@ public class KDCOPActionProxy extends DCOPObjectProxy { private native void newKDCOPActionProxy(DCOPObjectInterface parent); /** Returns an action object with the given name. The default implementation queries the action object - from the KActionCollection, if the first constructor has been used. + from the TDEActionCollection, if the first constructor has been used. @short Returns an action object with the given name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Use this method to retrieve a DCOP object id for an action with the given name. This class automatically takes care of processing DCOP object requests for the returned @@ -73,7 +73,7 @@ public class KDCOPActionProxy extends DCOPObjectProxy { action object. @short Called by the #process method and takes care of processing the object request for an action object. */ - public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, KAction action); + public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, TDEAction action); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |