diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KDataToolAction.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KDataToolAction.java | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KDataToolAction.java b/tdejava/koala/org/trinitydesktop/koala/KDataToolAction.java new file mode 100644 index 00000000..1bf1b0f4 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KDataToolAction.java @@ -0,0 +1,78 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQObject; + +/** + + This class helps applications implement support for KDataTool. + The steps to follow are simple: + + <li> + query for the available tools using KDataToolInfo.query + </li> + + <li> + pass the result to KDataToolAction.dataToolActionList (with a slot) + </li> + + <li> + plug the resulting actions, either using KXMLGUIClient.plugActionList, or by hand. + </li> + The slot defined for step 2 is called when the action is activated, and + that's where the tool should be created and run. + See {@link KDataToolActionSignals} for signals emitted by KDataToolAction + @short This class helps applications implement support for KDataTool. + +*/ +public class KDataToolAction extends TDEAction { + protected KDataToolAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a new KDataToolAction. + @param text The text that will be displayed. + @param info the corresponding KDataToolInfo + @param command the command of the action + @param parent This action's parent. + @param name An internal name for this action. + @short Constructs a new KDataToolAction. + */ + public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name) { + super((Class) null); + newKDataToolAction(text,info,command,parent,name); + } + private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name); + public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent) { + super((Class) null); + newKDataToolAction(text,info,command,parent); + } + private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent); + public KDataToolAction(String text, KDataToolInfo info, String command) { + super((Class) null); + newKDataToolAction(text,info,command); + } + private native void newKDataToolAction(String text, KDataToolInfo info, String command); + /** + Creates a list of actions from a list of information about data-tools. + The slot must have a signature corresponding to the toolActivated signal. + Note that it's the caller's responsibility to delete the actions when they're not needed anymore. + @param tools the list of data tool descriptions + @param receiver the receiver for toolActivated() signals + @param slot the slot that will receive the toolActivated() signals + @return the TDEActions + + @short Creates a list of actions from a list of information about data-tools. + */ + // TQPtrList<TDEAction> dataToolActionList(const TQValueList<KDataToolInfo>& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED + protected native void slotActivated(); + /** 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(); +} |