/***************************************************************************
                            QRegExpValidator.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QRegExpValidatorSignals} for signals emitted by QRegExpValidator.

 See {@link QRegExpValidatorEventHandling} for event handlers to override in subclasses of QRegExpValidator.

*/
public class QRegExpValidator extends QValidator  {
	protected QRegExpValidator(Class dummy){super((Class) null);}

	private native void newQRegExpValidator( QObject parent, String name);
	public QRegExpValidator( QObject parent, String name) {
		super((Class) null);
		newQRegExpValidator( parent, name);
	}
	private native void newQRegExpValidator( QObject parent);
	public QRegExpValidator( QObject parent) {
		super((Class) null);
		newQRegExpValidator( parent);
	}
	private native void newQRegExpValidator( QRegExp rx, QObject parent, String name);
	public QRegExpValidator( QRegExp rx, QObject parent, String name) {
		super((Class) null);
		newQRegExpValidator( rx, parent, name);
	}
	private native void newQRegExpValidator( QRegExp rx, QObject parent);
	public QRegExpValidator( QRegExp rx, QObject parent) {
		super((Class) null);
		newQRegExpValidator( rx, parent);
	}
	protected native void finalize() throws InternalError;
	public native int validate( StringBuffer input, int[] pos);
	public native void setRegExp( QRegExp rx);
	public native QRegExp regExp();
}
