From 636f509299122d02087c6fd62e1e4a46dbd22026 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 8 Jan 2014 20:06:00 +0100 Subject: Rename many classes to avoid conflicts with KDE --- qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java') diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java new file mode 100644 index 00000000..c067209a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java @@ -0,0 +1,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* 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(); +} -- cgit v1.2.1