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

import org.kde.qt.Qt;

public class QTranslator extends QObject  {
	protected QTranslator(Class dummy){super((Class) null);}
	public static final int Everything = 0;
	public static final int Stripped = 1;

	public native QMetaObject metaObject();
	public native String className();
	public QTranslator(QObject parent, String name) {
		super((Class) null);
		newQTranslator(parent,name);
	}
	private native void newQTranslator(QObject parent, String name);
	public QTranslator(QObject parent) {
		super((Class) null);
		newQTranslator(parent);
	}
	private native void newQTranslator(QObject parent);
	public QTranslator() {
		super((Class) null);
		newQTranslator();
	}
	private native void newQTranslator();
	public native String find(String context, String sourceText, String comment);
	public native String find(String context, String sourceText);
	public native QTranslatorMessage findMessage(String arg1, String arg2, String arg3);
	public native QTranslatorMessage findMessage(String arg1, String arg2);
	public native boolean load(String filename, String directory, String search_delimiters, String suffix);
	public native boolean load(String filename, String directory, String search_delimiters);
	public native boolean load(String filename, String directory);
	public native boolean load(String filename);
	public native boolean load(char[] data, int len);
	public native void clear();
	public native boolean save(String filename, int mode);
	public native boolean save(String filename);
	public native void insert(QTranslatorMessage arg1);
	public native void insert(String context, String sourceText, String translation);
	public native void remove(QTranslatorMessage arg1);
	public native void remove(String context, String sourceText);
	public native boolean contains(String arg1, String arg2, String comment);
	public native boolean contains(String arg1, String arg2);
	public native void squeeze(int arg1);
	public native void squeeze();
	public native void unsqueeze();
	// QValueList<QTranslatorMessage> messages(); >>>> NOT CONVERTED
	public native boolean isEmpty();
	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();
}
