class KDataToolAction |
|
|
This class helps applications implement support for KDataTool. The steps to follow are simple: The slot defined for step 2 is called when the action is activated, and that's where the tool should be created and run. |
|
Constructs a new KDataToolAction.
text - The text that will be displayed info - The corresponding KDataToolInfo command - The command of the action parent - This action's parent name - The name of the action |
|
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. tools - the list of data tool descriptions receiver - the receiver for toolActivated() signals slot - the slot that will receive the toolActivated() signals parent - the parent action collection for the actions to be created Returns the KActions |
|
|
Emitted when a tool has been activated. info - a description of the activated tools command - the command for the tool |