org.kde.koala
Interface KActionSignals
public
interface
KActionSignals
Method Summary |
void | activated()
Emitted when this action is activated |
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.
|
void | enabled(boolean arg1) |
public void activated()
Emitted when this action is activated
UNKNOWN: Emitted when this action is 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.
public void enabled(boolean arg1)