summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QHeader.java
blob: 946550315546b28b299ab149923b3de66a1cc5f8 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link TQHeaderSignals} for signals emitted by TQHeader
*/
public class TQHeader extends TQWidget  {
	protected TQHeader(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQHeader(TQWidget parent, String name) {
		super((Class) null);
		newTQHeader(parent,name);
	}
	private native void newTQHeader(TQWidget parent, String name);
	public TQHeader(TQWidget parent) {
		super((Class) null);
		newTQHeader(parent);
	}
	private native void newTQHeader(TQWidget parent);
	public TQHeader() {
		super((Class) null);
		newTQHeader();
	}
	private native void newTQHeader();
	public TQHeader(int arg1, TQWidget parent, String name) {
		super((Class) null);
		newTQHeader(arg1,parent,name);
	}
	private native void newTQHeader(int arg1, TQWidget parent, String name);
	public TQHeader(int arg1, TQWidget parent) {
		super((Class) null);
		newTQHeader(arg1,parent);
	}
	private native void newTQHeader(int arg1, TQWidget parent);
	public TQHeader(int arg1) {
		super((Class) null);
		newTQHeader(arg1);
	}
	private native void newTQHeader(int arg1);
	public native int addLabel(String arg1, int size);
	public native int addLabel(String arg1);
	public native int addLabel(TQIconSet arg1, String arg2, int size);
	public native int addLabel(TQIconSet arg1, String arg2);
	public native void removeLabel(int section);
	public native void setLabel(int arg1, String arg2, int size);
	public native void setLabel(int arg1, String arg2);
	public native void setLabel(int arg1, TQIconSet arg2, String arg3, int size);
	public native void setLabel(int arg1, TQIconSet arg2, String arg3);
	public native String label(int section);
	public native TQIconSet iconSet(int section);
	public native void setOrientation(int arg1);
	public native int orientation();
	public native void setTracking(boolean enable);
	public native boolean tracking();
	public native void setClickEnabled(boolean arg1, int section);
	public native void setClickEnabled(boolean arg1);
	public native void setResizeEnabled(boolean arg1, int section);
	public native void setResizeEnabled(boolean arg1);
	public native void setMovingEnabled(boolean arg1);
	public native void setStretchEnabled(boolean b, int section);
	public native void setStretchEnabled(boolean b);
	public native boolean isClickEnabled(int section);
	public native boolean isClickEnabled();
	public native boolean isResizeEnabled(int section);
	public native boolean isResizeEnabled();
	public native boolean isMovingEnabled();
	public native boolean isStretchEnabled();
	public native boolean isStretchEnabled(int section);
	public native void resizeSection(int section, int s);
	public native int sectionSize(int section);
	public native int sectionPos(int section);
	public native int sectionAt(int pos);
	public native int count();
	public native int headerWidth();
	public native TQRect sectionRect(int section);
	public native void setCellSize(int arg1, int arg2);
	public native int cellSize(int i);
	public native int cellPos(int arg1);
	public native int cellAt(int pos);
	public native int offset();
	public native TQSize sizeHint();
	public native int mapToSection(int index);
	public native int mapToIndex(int section);
	public native int mapToLogical(int arg1);
	public native int mapToActual(int arg1);
	public native void moveSection(int section, int toIndex);
	public native void moveCell(int arg1, int arg2);
	public native void setSortIndicator(int section, boolean ascending);
	public native void setSortIndicator(int section);
	public native void setSortIndicator(int section, int order);
	public native int sortIndicatorSection();
	public native int sortIndicatorOrder();
	public native void adjustHeaderSize();
	public native void setUpdatesEnabled(boolean enable);
	public native void setOffset(int pos);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	public native void showEvent(TQShowEvent e);
	protected native void resizeEvent(TQResizeEvent e);
	protected native TQRect sRect(int index);
	protected native void paintSection(TQPainter p, int index, TQRect fr);
	protected native void paintSectionLabel(TQPainter p, int index, TQRect fr);
	protected native void fontChange(TQFont arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void keyReleaseEvent(TQKeyEvent 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();
}