org.kde.koala

Interface KActionSignals

public interface KActionSignals

Method Summary
voidactivated()
Emitted when this action is activated
voidactivated(int reason, int state)
This signal allows to know the reason why an action was activated: whether it was due to a toolbar button, popupmenu, keyboard accel, or programmatically.
voidenabled(boolean arg1)

Method Detail

activated

public void activated()
Emitted when this action is activated

UNKNOWN: Emitted when this action is activated

activated

public void activated(int reason, int state)
This signal allows to know the reason why an action was activated: whether it was due to a toolbar button, popupmenu, keyboard accel, or programmatically. In the first two cases, it also allows to know which mouse button was used (Left or Middle), and whether keyboard modifiers were pressed (e.g. CTRL). Note that this signal is emitted before the normal activated() signal. Yes, BOTH signals are always emitted, so that connecting to activated() still works. Applications which care about reason and state can either ignore the activated() signal for a given action and react to this one instead, or store the reason and state until the activated() signal is emitted.

UNKNOWN: This signal allows to know the reason why an action was activated: whether it was due to a toolbar button, popupmenu, keyboard accel, or programmatically.

enabled

public void enabled(boolean arg1)