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 --- .../trinitydesktop/koala/KDockWidgetHeader.java | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 tdejava/koala/org/trinitydesktop/koala/KDockWidgetHeader.java (limited to 'tdejava/koala/org/trinitydesktop/koala/KDockWidgetHeader.java') diff --git a/tdejava/koala/org/trinitydesktop/koala/KDockWidgetHeader.java b/tdejava/koala/org/trinitydesktop/koala/KDockWidgetHeader.java new file mode 100644 index 00000000..5b66382d --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KDockWidgetHeader.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; + +/** + + The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). + It have got the buttons located there. And it is for recording and reading the button states. + More or less a minor helper class for the dockwidget class set. + @author Max Judin (documentation: Falk Brettschneider). + + @short The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). + +*/ +public class KDockWidgetHeader extends KDockWidgetAbstractHeader { + protected KDockWidgetHeader(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs this. + @param parent the parent widget (usually a dockwidget) + @param name the object instance name + @short Constructs this. + */ + public KDockWidgetHeader(KDockWidget parent, String name) { + super((Class) null); + newKDockWidgetHeader(parent,name); + } + private native void newKDockWidgetHeader(KDockWidget parent, String name); + public KDockWidgetHeader(KDockWidget parent) { + super((Class) null); + newKDockWidgetHeader(parent); + } + private native void newKDockWidgetHeader(KDockWidget parent); + /** + Hides the close button and stay button when switching to toplevel or vice versa shows them. + @param t toplevel or not + @short Hides the close button and stay button when switching to toplevel or vice versa shows them. + */ + public native void setTopLevel(boolean t); + /** + Sets the drag panel of this header. + @param nd A pointer to the new drag panel + @short Sets the drag panel of this header. + */ + public native void setDragPanel(KDockWidgetHeaderDrag nd); + /** + Get the drag panel of this header. + @short Get the drag panel of this header. + */ + public native KDockWidgetHeaderDrag dragPanel(); + public native boolean dragEnabled(); + public native void setDragEnabled(boolean b); + public native void showUndockButton(boolean show); + public native void forceCloseButtonHidden(boolean enable); + public native void forceCloseButtonHidden(); + /** + Saves the current button state to a KDE config container object. + @param c the configuration safe + @short Saves the current button state to a KDE config container object. + */ + public native void saveConfig(TDEConfig c); + /** + Loads the current button state from a KDE config container object. + @param c the configuration safe + @short Loads the current button state from a KDE config container object. + */ + public native void loadConfig(TDEConfig c); + // void addButton(KDockButton_Private* arg1); >>>> NOT CONVERTED + // void removeButton(KDockButton_Private* arg1); >>>> NOT CONVERTED + /** + Sets dragging the dockwidget off when the stay button is pressed down and vice versa. + @short Sets dragging the dockwidget off when the stay button is pressed down and vice versa. + */ + protected native void slotStayClicked(); + /** 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.3