/***************************************************************************
                            KDateValidator.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 Validates user-entered dates.

 See {@link KDateValidatorSignals} for signals emitted by KDateValidator.

 See {@link KDateValidatorEventHandling} for event handlers to override in subclasses of KDateValidator.

 @short 
 Validates user-entered dates.
*/
public class KDateValidator extends QValidator  {
	protected KDateValidator(Class dummy){super((Class) null);}

	private native void newKDateValidator( QWidget parent, String name);
	public KDateValidator( QWidget parent, String name) {
		super((Class) null);
		newKDateValidator( parent, name);
	}
	private native void newKDateValidator();
	public KDateValidator() {
		super((Class) null);
		newKDateValidator();
	}
 	public native int validate( StringBuffer arg1, int[] arg2);
 	public native void fixup( StringBuffer input);
	public native int date( String arg1, Calendar arg2);
}
