diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KMultiTabBar.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KMultiTabBar.java | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/kdejava/koala/org/kde/koala/KMultiTabBar.java b/kdejava/koala/org/kde/koala/KMultiTabBar.java deleted file mode 100644 index ee942d73..00000000 --- a/kdejava/koala/org/kde/koala/KMultiTabBar.java +++ /dev/null @@ -1,169 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQFont; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - A Widget for horizontal and vertical tabs. - It is possible to add normal buttons to the top/left - The handling if only one tab at a time or multiple tabs - should be raisable is left to the "user". - @author Joseph Wenninger - - @short A Widget for horizontal and vertical tabs. - -*/ -public class KMultiTabBar extends TQWidget { - protected KMultiTabBar(Class dummy){super((Class) null);} - public static final int Horizontal = 0; - public static final int Vertical = 1; - - public static final int Left = 0; - public static final int Right = 1; - public static final int Top = 2; - public static final int Bottom = 3; - - /** - The list of available styles for KMultiTabBar - - VSNET - Visual Studio .Net like (only show the text of active tabs - - KDEV3 - Kdevelop 3 like (always show the text) - - KONTQSBC - konqy's classic sidebar style (unthemed) (currently disabled) - @short The list of available styles for KMultiTabBar - VSNET - Visual Studio . - */ - public static final int VSNET = 0; - public static final int KDEV3 = 1; - public static final int KONTQSBC = 2; - public static final int KDEV3ICON = 3; - public static final int STYLELAST = 0xffff; - - public native TQMetaObject metaObject(); - public native String className(); - public KMultiTabBar(int bm, TQWidget parent, String name) { - super((Class) null); - newKMultiTabBar(bm,parent,name); - } - private native void newKMultiTabBar(int bm, TQWidget parent, String name); - public KMultiTabBar(int bm, TQWidget parent) { - super((Class) null); - newKMultiTabBar(bm,parent); - } - private native void newKMultiTabBar(int bm, TQWidget parent); - public KMultiTabBar(int bm) { - super((Class) null); - newKMultiTabBar(bm); - } - private native void newKMultiTabBar(int bm); - /** - append a new button to the button area. The button can later on be accessed with button(ID) - eg for connecting signals to it - @param pic a pixmap for the button - @param id an arbitraty ID value. It will be emitted in the clicked signal for identifying the button - if more than one button is connected to a signals. - @param popup A popup menu which should be displayed if the button is clicked - @param not_used_yet will be used for a popup text in the future - @short append a new button to the button area. - */ - public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup, String not_used_yet); - public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup); - public native int appendButton(TQPixmap pic, int id); - public native int appendButton(TQPixmap pic); - /** - remove a button with the given ID - @short remove a button with the given ID - */ - public native void removeButton(int id); - /** - append a new tab to the tab area. It can be accessed lateron with tabb(id); - @param pic a bitmap for the tab - @param id an arbitrary ID which can be used later on to identify the tab - @param text if a mode with text is used it will be the tab text, otherwise a mouse over hint - @short append a new tab to the tab area. - */ - public native int appendTab(TQPixmap pic, int id, String text); - public native int appendTab(TQPixmap pic, int id); - public native int appendTab(TQPixmap pic); - /** - remove a tab with a given ID - @short remove a tab with a given ID - */ - public native void removeTab(int id); - /** - set a tab to "raised" - @param id The ID of the tab to manipulate - @param state true == activated/raised, false == not active - @short set a tab to "raised" - */ - public native void setTab(int id, boolean state); - /** - return the state of a tab, identified by it's ID - @short return the state of a tab, identified by it's ID - */ - public native boolean isTabRaised(int id); - /** - get a pointer to a button within the button area identified by its ID - @short get a pointer to a button within the button area identified by its ID - */ - public native KMultiTabBarButton button(int id); - /** - get a pointer to a tab within the tab area, identiifed by its ID - @short get a pointer to a tab within the tab area, identiifed by its ID - */ - public native KMultiTabBarTab tab(int id); - /** - set the real position of the widget. - @param pos if the mode is horizontal, only use top, bottom, if it is vertical use left or right - @short set the real position of the widget. - */ - public native void setPosition(int pos); - /** - get the tabbar position. - @return position - - @short get the tabbar position. - */ - public native int position(); - /** - set the display style of the tabs - @short set the display style of the tabs - */ - public native void setStyle(int style); - /** - get the display style of the tabs - @return display style - - @short get the display style of the tabs - */ - public native int tabStyle(); - /** - be carefull, don't delete tabs yourself and don't delete the list itself - @short be carefull, don't delete tabs yourself and don't delete the list itself - */ - // TQPtrList<KMultiTabBarTab>* tabs(); >>>> NOT CONVERTED - /** - be carefull, don't delete buttons yourself and don't delete the list itself - @short be carefull, don't delete buttons yourself and don't delete the list itself - */ - // TQPtrList<KMultiTabBarButton>* buttons(); >>>> NOT CONVERTED - /** - might vanish, not sure yet - @short might vanish, not sure yet - */ - public native void showActiveTabTexts(boolean show); - public native void showActiveTabTexts(); - protected native void fontChange(TQFont arg1); - protected native void updateSeparator(); - /** 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(); -} |