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

import org.kde.qt.Qt;

public class QValidator extends QObject  {
	protected QValidator(Class dummy){super((Class) null);}
	public static final int Invalid = 0;
	public static final int Intermediate = 1;
	public static final int Valid = Intermediate;
	public static final int Acceptable = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QValidator(QObject parent, String name) {
		super((Class) null);
		newQValidator(parent,name);
	}
	private native void newQValidator(QObject parent, String name);
	public QValidator(QObject parent) {
		super((Class) null);
		newQValidator(parent);
	}
	private native void newQValidator(QObject parent);
	public native int validate(StringBuffer arg1, int[] arg2);
	public native void fixup(StringBuffer arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	/** 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();
}
