//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; /** See {@link QTabBarSignals} for signals emitted by QTabBar */ public class QTabBar extends QWidget { protected QTabBar(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 QMetaObject metaObject(); public native String className(); public QTabBar(QWidget parent, String name) { super((Class) null); newQTabBar(parent,name); } private native void newQTabBar(QWidget parent, String name); public QTabBar(QWidget parent) { super((Class) null); newQTabBar(parent); } private native void newQTabBar(QWidget parent); public QTabBar() { super((Class) null); newQTabBar(); } private native void newQTabBar(); public native int shape(); public native void setShape(int arg1); public native void show(); public native int addTab(QTab arg1); public native int insertTab(QTab arg1, int index); public native int insertTab(QTab arg1); public native void removeTab(QTab arg1); public native void setTabEnabled(int arg1, boolean arg2); public native boolean isTabEnabled(int arg1); public native QSize sizeHint(); public native QSize minimumSizeHint(); public native int currentTab(); public native int keyboardFocusTab(); public native QTab tab(int arg1); public native QTab tabAt(int arg1); public native int indexOf(int arg1); public native int count(); public native void layoutTabs(); public native QTab selectTab(QPoint 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(QTab arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); protected native void paint(QPainter arg1, QTab arg2, boolean arg3); protected native void paintLabel(QPainter arg1, QRect arg2, QTab arg3, boolean arg4); protected native void focusInEvent(QFocusEvent e); protected native void focusOutEvent(QFocusEvent e); protected native void resizeEvent(QResizeEvent arg1); protected native void paintEvent(QPaintEvent arg1); protected native void mousePressEvent(QMouseEvent arg1); protected native void mouseMoveEvent(QMouseEvent arg1); protected native void mouseReleaseEvent(QMouseEvent arg1); protected native void keyPressEvent(QKeyEvent arg1); public native void styleChange(QStyle arg1); protected native void fontChange(QFont arg1); public native boolean event(QEvent e); // QPtrList* 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(); }