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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;
import java.util.Calendar;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQValidator;

/**

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

*/
public class KDateValidator extends TQValidator  {
	protected KDateValidator(Class dummy){super((Class) null);}
	public KDateValidator(TQWidget parent, String name) {
		super((Class) null);
		newKDateValidator(parent,name);
	}
	private native void newKDateValidator(TQWidget parent, String name);
	public KDateValidator(TQWidget parent) {
		super((Class) null);
		newKDateValidator(parent);
	}
	private native void newKDateValidator(TQWidget 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();
}
