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

import org.kde.qt.Qt;

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

	public native String name();
	public native String mimeName();
	public native int mibEnum();
	public native QTextDecoder makeDecoder();
	public native QTextEncoder makeEncoder();
	public native String toUnicode(String chars, int len);
	public native String fromUnicode(String uc, int[] lenInOut);
	public native String fromUnicode(String uc);
	public native String toUnicode(byte[] arg1, int len);
	public native String toUnicode(byte[] arg1);
	public native String toUnicode(String arg1);
	public native boolean canEncode(char arg1);
	public native boolean canEncode(String arg1);
	public native int heuristicContentMatch(String chars, int len);
	public native int heuristicNameMatch(String hint);
	public native byte[] fromUnicode(String uc, int from, int len);
	public native short characterFromUnicode(String str, int pos);
	public static native QTextCodec loadCharmap(QIODeviceInterface arg1);
	public static native QTextCodec loadCharmapFile(String filename);
	public static native QTextCodec codecForMib(int mib);
	public static native QTextCodec codecForName(String hint, int accuracy);
	public static native QTextCodec codecForName(String hint);
	public static native QTextCodec codecForContent(String chars, int len);
	public static native QTextCodec codecForIndex(int i);
	public static native QTextCodec codecForLocale();
	public static native void setCodecForLocale(QTextCodec c);
	public static native QTextCodec codecForTr();
	public static native void setCodecForTr(QTextCodec c);
	public static native QTextCodec codecForCStrings();
	public static native void setCodecForCStrings(QTextCodec c);
	public static native void deleteAllCodecs();
	public static native String locale();
}
