summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDockWidgetHeader.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDockWidgetHeader.java')
-rw-r--r--kdejava/koala/org/kde/koala/KDockWidgetHeader.java85
1 files changed, 85 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java
new file mode 100644
index 00000000..97c19bbb
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java
@@ -0,0 +1,85 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QMetaObject;
+import org.kde.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 QMetaObject 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(KConfig 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(KConfig 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();
+}