//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.TQt;
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();
}
