/***************************************************************************
                            KDockWidgetHeaderDrag.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;

/**

 This special widget is the panel one can grip with the mouses (and member of the dockwidget class set).
 The widget for dragging, so to speak.
 Usually it is located in the {@link KDockWidgetHeader}.
 More or less a minor helper class for the dockwidget class set.

 See {@link KDockWidgetHeaderDragSignals} for signals emitted by KDockWidgetHeaderDrag.

 See {@link KDockWidgetHeaderDragEventHandling} for event handlers to override in subclasses of KDockWidgetHeaderDrag.

 @author Max Judin (documentation: Falk Brettschneider).
 
 @short 
 This special widget is the panel one can grip with the mouses (and member of the dockwidget class set).
*/
public class KDockWidgetHeaderDrag extends KDockWidgetAbstractHeaderDrag  {
	protected KDockWidgetHeaderDrag(Class dummy){super((Class) null);}

	private native void newKDockWidgetHeaderDrag( KDockWidgetAbstractHeader parent, KDockWidget dock, String name);

/** 
 Constructs this.

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

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

/** 
 Draws the drag panel (a double line)
   
*/
	protected native void paintEvent( QPaintEvent arg1);
}
