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

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import java.util.Calendar;
import org.kde.qt.QWidget;
import org.kde.qt.QValidator;

/**

 Validates user-entered dates.
		@short    Validates user-entered dates.

*/
public class KDateValidator extends QValidator  {
	protected KDateValidator(Class dummy){super((Class) null);}
	public KDateValidator(QWidget parent, String name) {
		super((Class) null);
		newKDateValidator(parent,name);
	}
	private native void newKDateValidator(QWidget parent, String name);
	public KDateValidator(QWidget parent) {
		super((Class) null);
		newKDateValidator(parent);
	}
	private native void newKDateValidator(QWidget parent);
	public KDateValidator() {
		super((Class) null);
		newKDateValidator();
	}
	private native void newKDateValidator();
	public native int validate(StringBuffer arg1, int[] arg2);
	public native void fixup(StringBuffer input);
	public native int date(String arg1, Calendar arg2);
	/** 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();
}
