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

import org.trinitydesktop.qt.TQt;

public class TQValidator extends TQObject  {
	protected TQValidator(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 TQMetaObject metaObject();
	public native String className();
	public TQValidator(TQObject parent, String name) {
		super((Class) null);
		newTQValidator(parent,name);
	}
	private native void newTQValidator(TQObject parent, String name);
	public TQValidator(TQObject parent) {
		super((Class) null);
		newTQValidator(parent);
	}
	private native void newTQValidator(TQObject 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();
}
