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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQColor;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQSize;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQWidget;

/**

 The KGradientSelector widget allows the user to choose
 from a one-dimensional range of colors which is given as a
 gradient between two colors provided by the programmer.
 \image html kgradientselector.png "KDE Gradient Selector Widget"
		@short    The KGradientSelector widget allows the user to choose  from a one-dimensional range of colors which is given as a  gradient between two colors provided by the programmer.

*/
public class KGradientSelector extends TDESelector  {
	protected KGradientSelector(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a horizontal color selector which
		 contains a gradient between white and black.
		   		@short    Constructs a horizontal color selector which  contains a gradient between white and black.
	*/
	public KGradientSelector(TQWidget parent, String name) {
		super((Class) null);
		newKGradientSelector(parent,name);
	}
	private native void newKGradientSelector(TQWidget parent, String name);
	public KGradientSelector(TQWidget parent) {
		super((Class) null);
		newKGradientSelector(parent);
	}
	private native void newKGradientSelector(TQWidget parent);
	public KGradientSelector() {
		super((Class) null);
		newKGradientSelector();
	}
	private native void newKGradientSelector();
	/**
		 Constructs a colors selector with orientation o which
		 contains a gradient between white and black.
		   		@short    Constructs a colors selector with orientation o which  contains a gradient between white and black.
	*/
	public KGradientSelector(int o, TQWidget parent, String name) {
		super((Class) null);
		newKGradientSelector(o,parent,name);
	}
	private native void newKGradientSelector(int o, TQWidget parent, String name);
	public KGradientSelector(int o, TQWidget parent) {
		super((Class) null);
		newKGradientSelector(o,parent);
	}
	private native void newKGradientSelector(int o, TQWidget parent);
	public KGradientSelector(int o) {
		super((Class) null);
		newKGradientSelector(o);
	}
	private native void newKGradientSelector(int o);
	/**
		 Sets the two colors which span the gradient.
		   		@short    Sets the two colors which span the gradient.
	*/
	public native void setColors(TQColor col1, TQColor col2);
	public native void setText(String t1, String t2);
	/**
		 Set each color on its own.
		   		@short    Set each color on its own.
	*/
	public native void setFirstColor(TQColor col);
	public native void setSecondColor(TQColor col);
	/**
		 Set each description on its own
		   		@short    Set each description on its own
	*/
	public native void setFirstText(String t);
	public native void setSecondText(String t);
	public native TQColor firstColor();
	public native TQColor secondColor();
	public native String firstText();
	public native String secondText();
	protected native void drawContents(TQPainter arg1);
	public native TQSize minimumSize();
	/** 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();
}
