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

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPaintEvent;
import org.kde.qt.TQDragEnterEvent;
import org.kde.qt.TQContextMenuEvent;
import org.kde.qt.TQDropEvent;
import org.kde.qt.TQWidget;
import org.kde.qt.TQDragObject;

/**

 This is the listbox used in KURLBar. It is a subclass of KListBox to support
 drag & drop and to set up the row / column mode.
 The widget has just one row or one column, depending on orientation().
 See {@link KURLBarListBoxSignals} for signals emitted by KURLBarListBox
		@author Carsten Pfeiffer <pfeiffer@kde.org>
 
		@short    This is the listbox used in KURLBar.

*/
public class KURLBarListBox extends KListBox  {
	protected KURLBarListBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KURLBarListBox.
		     		@short    Constructs a KURLBarListBox.
	*/
	public KURLBarListBox(TQWidget parent, String name) {
		super((Class) null);
		newKURLBarListBox(parent,name);
	}
	private native void newKURLBarListBox(TQWidget parent, String name);
	public KURLBarListBox(TQWidget parent) {
		super((Class) null);
		newKURLBarListBox(parent);
	}
	private native void newKURLBarListBox(TQWidget parent);
	public KURLBarListBox() {
		super((Class) null);
		newKURLBarListBox();
	}
	private native void newKURLBarListBox();
	/**	
		 Sets the orientation of the widget. Horizontal means, all items are
		 arranged in one row. Vertical means, all items are arranged in one
		 column.
				@short    Sets the orientation of the widget.
		@see #orientation
	*/
	public native void setOrientation(int orient);
	/**	
				@return the current orientation.

		@short   
		@see #setOrientation
	*/
	public native int orientation();
	public native boolean isVertical();
	/**	
				@return a suitable TQDragObject when an item is dragged.
     
		@short
	*/
	protected native TQDragObject dragObject();
	protected native void contentsDragEnterEvent(TQDragEnterEvent arg1);
	protected native void contentsDropEvent(TQDropEvent arg1);
	protected native void contextMenuEvent(TQContextMenuEvent arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	/** 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();
}