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

import org.kde.qt.Qt;

public class QTranslatorMessage implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QTranslatorMessage(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 QTranslatorMessage() {
		newQTranslatorMessage();
	}
	private native void newQTranslatorMessage();
	public QTranslatorMessage(String context, String sourceText, String comment, String translation) {
		newQTranslatorMessage(context,sourceText,comment,translation);
	}
	private native void newQTranslatorMessage(String context, String sourceText, String comment, String translation);
	public QTranslatorMessage(String context, String sourceText, String comment) {
		newQTranslatorMessage(context,sourceText,comment);
	}
	private native void newQTranslatorMessage(String context, String sourceText, String comment);
	public QTranslatorMessage(QDataStream arg1) {
		newQTranslatorMessage(arg1);
	}
	private native void newQTranslatorMessage(QDataStream arg1);
	public QTranslatorMessage(QTranslatorMessage m) {
		newQTranslatorMessage(m);
	}
	private native void newQTranslatorMessage(QTranslatorMessage 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(QDataStream s, boolean strip, int prefix);
	public native void write(QDataStream s, boolean strip);
	public native void write(QDataStream s);
	public native int commonPrefix(QTranslatorMessage arg1);
	public native boolean op_equals(QTranslatorMessage m);
	public native boolean op_not_equals(QTranslatorMessage m);
	public native boolean op_lt(QTranslatorMessage m);
	public native boolean op_lte(QTranslatorMessage m);
	public native boolean op_gt(QTranslatorMessage m);
	public native boolean op_gte(QTranslatorMessage 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();
}
