/***************************************************************************
                            KDockWidgetAbstractHeader.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 An abstract base clase for all dockwidget headers (and member of the dockwidget class set).
 See the class description of {@link KDockWidgetHeader}!
 More or less a minor helper class for the dockwidget class set.

 See {@link KDockWidgetAbstractHeaderSignals} for signals emitted by KDockWidgetAbstractHeader.

 See {@link KDockWidgetAbstractHeaderEventHandling} for event handlers to override in subclasses of KDockWidgetAbstractHeader.

 @author Max Judin (documentation: Falk Brettschneider).
 
 @short 
 An abstract base clase for all dockwidget headers (and member of the dockwidget class set).
*/
public class KDockWidgetAbstractHeader extends QFrame  {
	protected KDockWidgetAbstractHeader(Class dummy){super((Class) null);}

	private native void newKDockWidgetAbstractHeader( KDockWidget parent, String name);

/** 
 Constructs this.

*/
	public KDockWidgetAbstractHeader( KDockWidget parent, String name) {
		super((Class) null);
		newKDockWidgetAbstractHeader( parent, name);
	}
	private native void newKDockWidgetAbstractHeader( KDockWidget parent);
	public KDockWidgetAbstractHeader( KDockWidget parent) {
		super((Class) null);
		newKDockWidgetAbstractHeader( parent);
	}

/** 
 Destructs this.
   
*/
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/**  Provides things concerning to switching to toplevel mode. Must be overridden by an inheriting class. 
*/
	public native void setTopLevel( boolean arg1);

/**  Provides saving the current configuration. Must be overridden by an inheriting class. 
*/
	public native void saveConfig( KConfig arg1);

/**  Provides loading the current configuration.  Must be overridden by an inheriting class 
*/
	public native void loadConfig( KConfig arg1);
}
