From e1a0e352b6ead69ed6f55476272ace842fbbdf74 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 21:06:26 -0600 Subject: Rename java files to TQ --- qtjava/javalib/org/kde/qt/TQTextCodec.java | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 qtjava/javalib/org/kde/qt/TQTextCodec.java (limited to 'qtjava/javalib/org/kde/qt/TQTextCodec.java') diff --git a/qtjava/javalib/org/kde/qt/TQTextCodec.java b/qtjava/javalib/org/kde/qt/TQTextCodec.java new file mode 100644 index 00000000..34a54bee --- /dev/null +++ b/qtjava/javalib/org/kde/qt/TQTextCodec.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class TQTextCodec implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextCodec(Class dummy){} + + public native String name(); + public native String mimeName(); + public native int mibEnum(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder 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 TQTextCodec loadCharmap(TQIODeviceInterface arg1); + public static native TQTextCodec loadCharmapFile(String filename); + public static native TQTextCodec codecForMib(int mib); + public static native TQTextCodec codecForName(String hint, int accuracy); + public static native TQTextCodec codecForName(String hint); + public static native TQTextCodec codecForContent(String chars, int len); + public static native TQTextCodec codecForIndex(int i); + public static native TQTextCodec codecForLocale(); + public static native void setCodecForLocale(TQTextCodec c); + public static native TQTextCodec codecForTr(); + public static native void setCodecForTr(TQTextCodec c); + public static native TQTextCodec codecForCStrings(); + public static native void setCodecForCStrings(TQTextCodec c); + public static native void deleteAllCodecs(); + public static native String locale(); +} -- cgit v1.2.1