summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQListView.java
blob: 9ebb3d0191bbd50301878d54cf051fce5e417469 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import java.util.ArrayList;
import org.kde.qt.Qt;

/**
 See {@link TQListViewSignals} for signals emitted by TQListView
*/
public class TQListView extends TQScrollView  {
	protected TQListView(Class dummy){super((Class) null);}
	public static final int Manual = 0;
	public static final int Maximum = 1;

	public static final int Single = 0;
	public static final int Multi = 1;
	public static final int Extended = 2;
	public static final int NoSelection = 3;

	public static final int NoColumn = 0;
	public static final int AllColumns = 1;
	public static final int LastColumn = 2;

	public static final int Accept = 0;
	public static final int Reject = 1;

	public native TQMetaObject metaObject();
	public native String className();
	public TQListView(TQWidget parent, String name, int f) {
		super((Class) null);
		newTQListView(parent,name,f);
	}
	private native void newTQListView(TQWidget parent, String name, int f);
	public TQListView(TQWidget parent, String name) {
		super((Class) null);
		newTQListView(parent,name);
	}
	private native void newTQListView(TQWidget parent, String name);
	public TQListView(TQWidget parent) {
		super((Class) null);
		newTQListView(parent);
	}
	private native void newTQListView(TQWidget parent);
	public TQListView() {
		super((Class) null);
		newTQListView();
	}
	private native void newTQListView();
	public native int treeStepSize();
	public native void setTreeStepSize(int arg1);
	public native void insertItem(TQListViewItem arg1);
	public native void takeItem(TQListViewItem arg1);
	public native void removeItem(TQListViewItem item);
	public native TQHeader header();
	public native int addColumn(String label, int size);
	public native int addColumn(String label);
	public native int addColumn(TQIconSet iconset, String label, int size);
	public native int addColumn(TQIconSet iconset, String label);
	public native void removeColumn(int index);
	public native void setColumnText(int column, String label);
	public native void setColumnText(int column, TQIconSet iconset, String label);
	public native String columnText(int column);
	public native void setColumnWidth(int column, int width);
	public native int columnWidth(int column);
	public native void setColumnWidthMode(int column, int arg2);
	public native int columnWidthMode(int column);
	public native int columns();
	public native void setColumnAlignment(int arg1, int arg2);
	public native int columnAlignment(int arg1);
	public native void show();
	public native TQListViewItem itemAt(TQPoint screenPos);
	public native TQRect itemRect(TQListViewItem arg1);
	public native int itemPos(TQListViewItem arg1);
	public native void ensureItemVisible(TQListViewItem arg1);
	public native void repaintItem(TQListViewItem arg1);
	public native void setMultiSelection(boolean enable);
	public native boolean isMultiSelection();
	public native void setSelectionMode(int mode);
	public native int selectionMode();
	public native void clearSelection();
	public native void setSelected(TQListViewItem arg1, boolean arg2);
	public native void setSelectionAnchor(TQListViewItem arg1);
	public native boolean isSelected(TQListViewItem arg1);
	public native TQListViewItem selectedItem();
	public native void setOpen(TQListViewItem arg1, boolean arg2);
	public native boolean isOpen(TQListViewItem arg1);
	public native void setCurrentItem(TQListViewItem arg1);
	public native TQListViewItem currentItem();
	public native TQListViewItem firstChild();
	public native TQListViewItem lastItem();
	public native int childCount();
	public native void setAllColumnsShowFocus(boolean arg1);
	public native boolean allColumnsShowFocus();
	public native void setItemMargin(int arg1);
	public native int itemMargin();
	public native void setRootIsDecorated(boolean arg1);
	public native boolean rootIsDecorated();
	public native void setSorting(int column, boolean ascending);
	public native void setSorting(int column);
	public native int sortColumn();
	public native void setSortColumn(int column);
	public native int sortOrder();
	public native void setSortOrder(int order);
	public native void sort();
	public native void setFont(TQFont arg1);
	public native void setPalette(TQPalette arg1);
	public native boolean eventFilter(TQObject o, TQEvent arg2);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native void setShowSortIndicator(boolean show);
	public native boolean showSortIndicator();
	public native void setShowToolTips(boolean b);
	public native boolean showToolTips();
	public native void setResizeMode(int m);
	public native int resizeMode();
	public native TQListViewItem findItem(String text, int column, int compare);
	public native TQListViewItem findItem(String text, int column);
	public native void setDefaultRenameAction(int a);
	public native int defaultRenameAction();
	public native boolean isRenaming();
	public native void hideColumn(int column);
	public native void clear();
	public native void invertSelection();
	public native void selectAll(boolean select);
	public native void triggerUpdate();
	public native void setContentsPos(int x, int y);
	public native void adjustColumn(int col);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseReleaseEvent(TQMouseEvent e);
	protected native void contentsMouseMoveEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void contentsContextMenuEvent(TQContextMenuEvent e);
	protected native void contentsDragEnterEvent(TQDragEnterEvent e);
	protected native void contentsDragMoveEvent(TQDragMoveEvent e);
	protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
	protected native void contentsDropEvent(TQDropEvent e);
	protected native TQDragObject dragObject();
	protected native void startDrag();
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void resizeEvent(TQResizeEvent e);
	protected native void viewportResizeEvent(TQResizeEvent e);
	public native void showEvent(TQShowEvent arg1);
	protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
	protected native void paintEmptyArea(TQPainter arg1, TQRect arg2);
	public native void styleChange(TQStyle arg1);
	protected native void windowActivationChange(boolean arg1);
	public native void updateContents();
	protected native void doAutoScroll();
	/** 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();
	public native ArrayList itemList();

}