diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QTextCodec.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QTextCodec.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QTextCodec.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/qtjava/javalib/org/kde/qt/QTextCodec.java b/qtjava/javalib/org/kde/qt/QTextCodec.java index 5b27de17..34a54bee 100644 --- a/qtjava/javalib/org/kde/qt/QTextCodec.java +++ b/qtjava/javalib/org/kde/qt/QTextCodec.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextCodec implements QtSupport { +public class TQTextCodec implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextCodec(Class dummy){} + protected TQTextCodec(Class dummy){} public native String name(); public native String mimeName(); public native int mibEnum(); - public native QTextDecoder makeDecoder(); - public native QTextEncoder makeEncoder(); + 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); @@ -25,19 +25,19 @@ public class QTextCodec implements QtSupport { 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 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(); } |