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

import org.trinitydesktop.qt.Qt;

public class TQTranslatorMessage implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQTranslatorMessage(Class dummy){}

	public static final int NoPrefix = 0;
	public static final int Hash = 1;
	public static final int HashContext = 2;
	public static final int HashContextSourceText = 3;
	public static final int HashContextSourceTextComment = 4;

	public TQTranslatorMessage() {
		newTQTranslatorMessage();
	}
	private native void newTQTranslatorMessage();
	public TQTranslatorMessage(String context, String sourceText, String comment, String translation) {
		newTQTranslatorMessage(context,sourceText,comment,translation);
	}
	private native void newTQTranslatorMessage(String context, String sourceText, String comment, String translation);
	public TQTranslatorMessage(String context, String sourceText, String comment) {
		newTQTranslatorMessage(context,sourceText,comment);
	}
	private native void newTQTranslatorMessage(String context, String sourceText, String comment);
	public TQTranslatorMessage(TQDataStream arg1) {
		newTQTranslatorMessage(arg1);
	}
	private native void newTQTranslatorMessage(TQDataStream arg1);
	public TQTranslatorMessage(TQTranslatorMessage m) {
		newTQTranslatorMessage(m);
	}
	private native void newTQTranslatorMessage(TQTranslatorMessage m);
	public native int hash();
	public native String context();
	public native String sourceText();
	public native String comment();
	public native void setTranslation(String translation);
	public native String translation();
	public native void write(TQDataStream s, boolean strip, int prefix);
	public native void write(TQDataStream s, boolean strip);
	public native void write(TQDataStream s);
	public native int commonPrefix(TQTranslatorMessage arg1);
	public native boolean op_equals(TQTranslatorMessage m);
	public native boolean op_not_equals(TQTranslatorMessage m);
	public native boolean op_lt(TQTranslatorMessage m);
	public native boolean op_lte(TQTranslatorMessage m);
	public native boolean op_gt(TQTranslatorMessage m);
	public native boolean op_gte(TQTranslatorMessage m);
	/** 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();
}
