summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/TDEListBox.java
blob: 27fa1df91432a85db370bd47aded84dd2a4fe240 (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.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQListBoxItem;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQFocusEvent;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQKeyEvent;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.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 TDEListBoxSignals} for signals emitted by TDEListBox
		@short A variant of TQListBox that honors KDE's system-wide settings.

*/
public class TDEListBox extends TQListBox  {
	protected TDEListBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TDEListBox(TQWidget parent, String name, int f) {
		super((Class) null);
		newTDEListBox(parent,name,f);
	}
	private native void newTDEListBox(TQWidget parent, String name, int f);
	public TDEListBox(TQWidget parent, String name) {
		super((Class) null);
		newTDEListBox(parent,name);
	}
	private native void newTDEListBox(TQWidget parent, String name);
	public TDEListBox(TQWidget parent) {
		super((Class) null);
		newTDEListBox(parent);
	}
	private native void newTDEListBox(TQWidget parent);
	public TDEListBox() {
		super((Class) null);
		newTDEListBox();
	}
	private native void newTDEListBox();
	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();
}