#include <xmlactionclient.h>
Inheritance diagram for KJSEmbed::XMLActionClient::
Public Methods | |
XMLActionClient (QObject *parent=0, const char *name=0) | |
virtual | ~XMLActionClient () |
KActionCollection * | actionCollection () const |
void | setActionCollection (KActionCollection *acts) |
XMLActionRunner * | runner () const |
void | setRunner (XMLActionRunner *r) |
bool | load (const QString &filename) |
bool | load (XMLActionHandler *handler, const QString &filename) |
bool | run (const QString &name) |
XMLActionScript | script (const QString &name) const |
bool | run (const XMLActionScript &script) |
virtual bool | bind (const QString &name, const XMLActionScript &script) |
virtual bool | bind (KAction *act, const XMLActionScript &script) |
Protected Slots | |
void | action_activated () |
|
Loads actions from the named XML file. Returns true on success. |
|
Loads actions from the named XML file. Returns true on success. |
|
Runs the named script.
|
|
Returns the named script.
|
|
Calls XMLActionRunner::run().
|
|
Binds a name to a script.
|
|
Binds an action to a script.
|
|
Called when a bound action is activated to invoke the script with the sender's name.
|