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/KDataToolAction.java

79 lines
3.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.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();
}