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

/**

 Standard horizontal or vertical separator.

 See {@link KSeparatorSignals} for signals emitted by KSeparator.

 See {@link KSeparatorEventHandling} for event handlers to override in subclasses of KSeparator.

 @author Michael Roth <mroth@wirlweb.de>

 @version $Id: KSeparator.java,v 1.5 2002/01/31 04:49:01 rdale Exp $

 @short 
 Standard horizontal or vertical separator.
*/
public class KSeparator extends QFrame  {
	protected KSeparator(Class dummy){super((Class) null);}

	private native void newKSeparator( QWidget parent, String name, int f);

/** 
 Constructor.

*/
	public KSeparator( QWidget parent, String name, int f) {
		super((Class) null);
		newKSeparator( parent, name, f);
	}
	private native void newKSeparator();
	public KSeparator() {
		super((Class) null);
		newKSeparator();
	}
	private native void newKSeparator( int orientation, QWidget parent, String name, int f);

/** 
 Constructor.

*/
	public KSeparator( int orientation, QWidget parent, String name, int f) {
		super((Class) null);
		newKSeparator( orientation, parent, name, f);
	}
	private native void newKSeparator( int orientation);
	public KSeparator( int orientation) {
		super((Class) null);
		newKSeparator( orientation);
	}

/** 
 Returns the orientation of the separator.

 Possible values are VLine and HLine.

*/
	public native int orientation();

/** 
 Set the orientation of the separator to <code>orient</code>

 Possible values are VLine and HLine.
   
*/
	public native void setOrientation( int orient);

/** 
 The recommended height (width) for a horizontal (vertical) separator.

*/
	public native QSize sizeHint();
	protected native void drawFrame( QPainter arg1);
}
