summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEToolBarSignals.java
blob: 35737d4ea8864ceea2a4605f5727627103332ea7 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.TQMainWindow;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQPixmap;
import org.kde.qt.TQSize;
import org.kde.qt.TQSizePolicy;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQShowEvent;
import org.kde.qt.TQEvent;
import org.kde.qt.TQIconSet;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
import org.kde.qt.TQDomElement;
import org.kde.qt.TQChildEvent;

public interface TDEToolBarSignals {
	/**	
		 Emitted when button <code>id</code> is clicked.
		     		@short    Emitted when button <code>id</code> is clicked.
	*/
	void clicked(int id);
	/**	
		 Emitted when button <code>id</code> is double-clicked.
			 Note: you will always
		 recive two clicked() , pressed() and released() signals.
		 There is no way to avoid it - at least no easy way.
		 If you need to resolve this all you can do is set up timers
		 which wait for TQApplication.doubleClickInterval() to expire.
		 If in that time you don't get this signal, you may belive that
		 button was only clicked and not double-clicked.
		 And please note that butons with popup menus do not emit this signal,
		 but those with delayed popup do.
		     		@short    Emitted when button <code>id</code> is double-clicked.
	*/
	void doubleClicked(int id);
	/**	
		 Emitted when button <code>id</code> is pressed.
		     		@short    Emitted when button <code>id</code> is pressed.
	*/
	void pressed(int arg1);
	/**	
		 Emits when button <code>id</code> is released.
		     		@short    Emits when button <code>id</code> is released.
	*/
	void released(int arg1);
	/**	
		 Emitted when a toggle button changes state.
			 Emitted also if you change state
		 with setButton() or toggleButton()
		 If you make a button normal again, with
		 setToggle(false), this signal won't
		 be emitted.
		     		@short    Emitted when a toggle button changes state.
	*/
	void toggled(int arg1);
	/**	
		 This signal is emitted when item <code>id</code> gets highlighted/unhighlighted
		 (i.e when mouse enters/exits).
			 Note that this signal is emitted from
		 all buttons (normal, disabled and toggle) even when there is no visible
		 change in buttons (i.e., buttons do not raise when mouse enters).
		 The parameter <code>isHighlighted</code> is <code>true</code> when mouse enters and <code>false</code> when
		 mouse exits.
		     		@short    This signal is emitted when item <code>id</code> gets highlighted/unhighlighted  (i.
	*/
	void highlighted(int id, boolean isHighlighted);
	/**	
		 This signal is emitted when item <code>id</code> gets highlighted/unhighlighted
		 (i.e when mouse enters/exits).
			 Note that this signal is emitted from
		 all buttons (normal, disabled and toggle) even when there is no visible
		 change in buttons (i.e., buttons do not raise when mouse enters).
		     		@short    This signal is emitted when item <code>id</code> gets highlighted/unhighlighted  (i.
	*/
	void highlighted(int id);
	/**	
		 Emitted when toolbar changes position, or when
		 an item is removed from toolbar.
			 If you subclass TDEMainWindow and reimplement
		 TDEMainWindow.resizeEvent() be sure to connect to
		 this signal. Note: You can connect this signal to a slot that
		 doesn't take parameter.
		     		@short    Emitted when toolbar changes position, or when  an item is removed from toolbar.
	*/
	void moved(int arg1);
	/**	
		 This signal is emitted when toolbar detects changing of
		 following parameters:
		 highlighting, button-size, button-mode. This signal is
		 internal, aimed to buttons.
			     		@short    This signal is emitted when toolbar detects changing of  following parameters:  highlighting, button-size, button-mode.
	*/
	void modechange();
	/**	
		 This signal is emitted when the toolbar is getting deleted,
		 and before ~TDEToolbar finishes (so it's still time to remove
		 widgets from the toolbar).
		 Used by KWidgetAction.
				@short    This signal is emitted when the toolbar is getting deleted,  and before ~TDEToolbar finishes (so it's still time to remove  widgets from the toolbar).
	*/
	void toolbarDestroyed();
}