blob: 596cc3ed50bb1fb99124ddb4f5398fce225152db (
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.TQColor;
import org.trinitydesktop.qt.TQRect;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragMoveEvent;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQTab;
import org.trinitydesktop.qt.TQTabBar;
/**
See {@link KTabBarSignals} for signals emitted by KTabBar
@short
*/
public class KTabBar extends TQTabBar {
protected KTabBar(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public KTabBar(TQWidget parent, String name) {
super((Class) null);
newKTabBar(parent,name);
}
private native void newKTabBar(TQWidget parent, String name);
public KTabBar(TQWidget parent) {
super((Class) null);
newKTabBar(parent);
}
private native void newKTabBar(TQWidget parent);
public KTabBar() {
super((Class) null);
newKTabBar();
}
private native void newKTabBar();
public native void setTabEnabled(int arg1, boolean arg2);
public native TQColor tabColor(int arg1);
public native void setTabColor(int arg1, TQColor arg2);
public native int insertTab(TQTab arg1, int index);
public native int insertTab(TQTab arg1);
public native void removeTab(TQTab arg1);
public native void setTabReorderingEnabled(boolean enable);
public native boolean isTabReorderingEnabled();
public native void setHoverCloseButton(boolean arg1);
public native boolean hoverCloseButton();
public native void setHoverCloseButtonDelayed(boolean arg1);
public native boolean hoverCloseButtonDelayed();
public native void setTabCloseActivatePrevious(boolean arg1);
public native boolean tabCloseActivatePrevious();
protected native void mouseDoubleClickEvent(TQMouseEvent e);
protected native void mousePressEvent(TQMouseEvent e);
protected native void mouseMoveEvent(TQMouseEvent e);
protected native void mouseReleaseEvent(TQMouseEvent e);
protected native void wheelEvent(TQWheelEvent e);
protected native void dragMoveEvent(TQDragMoveEvent e);
protected native void dropEvent(TQDropEvent e);
protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4);
protected native void closeButtonClicked();
protected native void onLayoutChange();
protected native void enableCloseButton();
protected native void activateDragSwitchTab();
/** 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();
}
|