//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;
import org.kde.qt.QSize;
import org.kde.qt.QPainter;
import org.kde.qt.QWidget;
import org.kde.qt.QFrame;

/**

 Standard horizontal or vertical separator.
		@author Michael Roth <mroth@wirlweb.de>

		@version $Id$

		@short    Standard horizontal or vertical separator.

*/
public class KSeparator extends QFrame  {
	protected KSeparator(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructor.
			@param parent parent object.
			@param name name of the new object.
			@param f extra QWidget flags.
				@short    Constructor.
	*/
	public KSeparator(QWidget parent, String name, int f) {
		super((Class) null);
		newKSeparator(parent,name,f);
	}
	private native void newKSeparator(QWidget parent, String name, int f);
	public KSeparator(QWidget parent, String name) {
		super((Class) null);
		newKSeparator(parent,name);
	}
	private native void newKSeparator(QWidget parent, String name);
	public KSeparator(QWidget parent) {
		super((Class) null);
		newKSeparator(parent);
	}
	private native void newKSeparator(QWidget parent);
	public KSeparator() {
		super((Class) null);
		newKSeparator();
	}
	private native void newKSeparator();
	/**	
		 Constructor.
			@param orientation Set the orientation of the separator.
		 Possible values are HLine or Horizontal and VLine or Vertical.
			@param parent parent object.
			@param name name of the new object.
			@param f extra QWidget flags.
				@short    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, QWidget parent, String name, int f);
	public KSeparator(int orientation, QWidget parent, String name) {
		super((Class) null);
		newKSeparator(orientation,parent,name);
	}
	private native void newKSeparator(int orientation, QWidget parent, String name);
	public KSeparator(int orientation, QWidget parent) {
		super((Class) null);
		newKSeparator(orientation,parent);
	}
	private native void newKSeparator(int orientation, QWidget parent);
	public KSeparator(int orientation) {
		super((Class) null);
		newKSeparator(orientation);
	}
	private native void newKSeparator(int orientation);
	/**	
		 Returns the orientation of the separator.
				@return int Possible values are VLine and HLine.

		@short    Returns the orientation of the separator.
	*/
	public native int orientation();
	/**	
		 Set the orientation of the separator to <code>orient</code>
			@param orient Possible values are VLine and HLine.
		   		@short    Set the orientation of the separator to <code>orient</code>
	*/
	public native void setOrientation(int orient);
	/**	
		 The recommended height (width) for a horizontal (vertical) separator.
				@short    The recommended height (width) for a horizontal (vertical) separator.
	*/
	public native QSize sizeHint();
	/**	
			@param p pointer to painter
		   		@short
	*/
	protected native void drawFrame(QPainter p);
	/** 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();
}
