summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KListBox.java
blob: 2a666a09612bb67988af31007f48d2fff2e830f3 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQListBoxItem;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPoint;
import org.kde.qt.TQFocusEvent;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQKeyEvent;
import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget;
import org.kde.qt.TQListBox;

/**

 Extends the functionality of TQListBox to honor the system
 wide settings for Single Click/Double Click mode, Auto Selection and
 Change Cursor over Link.
 There is a new signal executed(). It gets connected to either
 TQListBox.clicked() or TQListBox.doubleClicked()
 depending on the KDE wide Single Click/Double Click settings. It is
 strongly recommended that you use this signal instead of the above
 mentioned. This way you don't need to care about the current
 settings.  If you want to get informed when the user selects
 something connect to the TQListBox.selectionChanged() signal.
 See {@link KListBoxSignals} for signals emitted by KListBox
		@short A variant of TQListBox that honors KDE's system-wide settings.

*/
public class KListBox extends TQListBox  {
	protected KListBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KListBox(TQWidget parent, String name, int f) {
		super((Class) null);
		newKListBox(parent,name,f);
	}
	private native void newKListBox(TQWidget parent, String name, int f);
	public KListBox(TQWidget parent, String name) {
		super((Class) null);
		newKListBox(parent,name);
	}
	private native void newKListBox(TQWidget parent, String name);
	public KListBox(TQWidget parent) {
		super((Class) null);
		newKListBox(parent);
	}
	private native void newKListBox(TQWidget parent);
	public KListBox() {
		super((Class) null);
		newKListBox();
	}
	private native void newKListBox();
	protected native void emitExecute(TQListBoxItem item, TQPoint pos);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void focusOutEvent(TQFocusEvent fe);
	protected native void leaveEvent(TQEvent e);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void slotOnItem(TQListBoxItem item);
	protected native void slotOnViewport();
	protected native void slotSettingsChanged(int arg1);
	/**	
		 Auto selection happend.
		   		@short    Auto selection happend.
	*/
	protected native void slotAutoSelect();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}