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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import org.trinitydesktop.qt.TQDoubleValidator;

/**

   KDoubleValidator extends TQDoubleValidator to be
   locale-aware. That means that - subject to not being disabled -
   TDELocale.decimalSymbol(), TDELocale.thousandsSeparator()
   and TDELocale.positiveSign() and TDELocale.negativeSign()
   are respected.
		@author Marc Mutz <mutz@kde.org>

		@short A locale-aware TQDoubleValidator.
		@see KIntValidator

*/
public class KDoubleValidator extends TQDoubleValidator  {
	protected KDoubleValidator(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	 Constuct a locale-aware KDoubleValidator with default range
		      (whatever TQDoubleValidator uses for that) and parent <code>parent</code> 		@short   Constuct a locale-aware KDoubleValidator with default range       (whatever TQDoubleValidator uses for that) and parent <code>parent</code>
	*/
	public KDoubleValidator(TQObject parent, String name) {
		super((Class) null);
		newKDoubleValidator(parent,name);
	}
	private native void newKDoubleValidator(TQObject parent, String name);
	public KDoubleValidator(TQObject parent) {
		super((Class) null);
		newKDoubleValidator(parent);
	}
	private native void newKDoubleValidator(TQObject parent);
	/**	 Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal
		      point.  		@short   Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal       point.
	*/
	public KDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) {
		super((Class) null);
		newKDoubleValidator(bottom,top,decimals,parent,name);
	}
	private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name);
	public KDoubleValidator(double bottom, double top, int decimals, TQObject parent) {
		super((Class) null);
		newKDoubleValidator(bottom,top,decimals,parent);
	}
	private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent);
	/**	 Overloaded for internal reasons. The API is not affected. 		@short   Overloaded for internal reasons.
	*/
	public native int validate(StringBuffer input, int[] pos);
	/**	 @return whether localized numbers are accepted (default: true) 		@short   @return whether localized numbers are accepted (default: true)
	*/
	public native boolean acceptLocalizedNumbers();
	/**	 Sets whether to accept localized numbers (default: true) 		@short   Sets whether to accept localized numbers (default: true)
	*/
	public native void setAcceptLocalizedNumbers(boolean accept);
	/** 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();
}
