blob: c067209a79b1e9abd3d5a492bcf96f5471ce23fb (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
/**
See {@link TQTabBarSignals} for signals emitted by TQTabBar
*/
public class TQTabBar extends TQWidget {
protected TQTabBar(Class dummy){super((Class) null);}
public static final int RoundedAbove = 0;
public static final int RoundedBelow = 1;
public static final int TriangularAbove = 2;
public static final int TriangularBelow = 3;
public native TQMetaObject metaObject();
public native String className();
public TQTabBar(TQWidget parent, String name) {
super((Class) null);
newTQTabBar(parent,name);
}
private native void newTQTabBar(TQWidget parent, String name);
public TQTabBar(TQWidget parent) {
super((Class) null);
newTQTabBar(parent);
}
private native void newTQTabBar(TQWidget parent);
public TQTabBar() {
super((Class) null);
newTQTabBar();
}
private native void newTQTabBar();
public native int shape();
public native void setShape(int arg1);
public native void show();
public native int addTab(TQTab arg1);
public native int insertTab(TQTab arg1, int index);
public native int insertTab(TQTab arg1);
public native void removeTab(TQTab arg1);
public native void setTabEnabled(int arg1, boolean arg2);
public native boolean isTabEnabled(int arg1);
public native TQSize sizeHint();
public native TQSize minimumSizeHint();
public native int currentTab();
public native int keyboardFocusTab();
public native TQTab tab(int arg1);
public native TQTab tabAt(int arg1);
public native int indexOf(int arg1);
public native int count();
public native void layoutTabs();
public native TQTab selectTab(TQPoint p);
public native void removeToolTip(int index);
public native void setToolTip(int index, String tip);
public native String toolTip(int index);
public native void setCurrentTab(int arg1);
public native void setCurrentTab(TQTab arg1);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void paint(TQPainter arg1, TQTab arg2, boolean arg3);
protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4);
protected native void focusInEvent(TQFocusEvent e);
protected native void focusOutEvent(TQFocusEvent e);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void paintEvent(TQPaintEvent arg1);
protected native void mousePressEvent(TQMouseEvent arg1);
protected native void mouseMoveEvent(TQMouseEvent arg1);
protected native void mouseReleaseEvent(TQMouseEvent arg1);
protected native void keyPressEvent(TQKeyEvent arg1);
public native void styleChange(TQStyle arg1);
protected native void fontChange(TQFont arg1);
public native boolean event(TQEvent e);
// TQPtrList<TQTab>* tabList(); >>>> NOT CONVERTED
/** 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();
}
|