summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEActionSignals.java
blob: 0602f5f871cbca29bf9cff2af1c671191b5ffb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQIconSet;
import org.kde.qt.TQWidget;

public interface TDEActionSignals {
	/**	
		 Emitted when this action is activated
		     		@short    Emitted when this action is activated
	*/
	void activated();
	/**	
		 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.
				@short    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 activated(int reason, int state);
	void enabled(boolean arg1);
}