summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQTranslator.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQTranslator.java')
-rw-r--r--qtjava/javalib/org/kde/qt/TQTranslator.java59
1 files changed, 59 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQTranslator.java b/qtjava/javalib/org/kde/qt/TQTranslator.java
new file mode 100644
index 00000000..d27bdeec
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/TQTranslator.java
@@ -0,0 +1,59 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class TQTranslator extends TQObject {
+ protected TQTranslator(Class dummy){super((Class) null);}
+ public static final int Everything = 0;
+ public static final int Stripped = 1;
+
+ public native TQMetaObject metaObject();
+ public native String className();
+ public TQTranslator(TQObject parent, String name) {
+ super((Class) null);
+ newTQTranslator(parent,name);
+ }
+ private native void newTQTranslator(TQObject parent, String name);
+ public TQTranslator(TQObject parent) {
+ super((Class) null);
+ newTQTranslator(parent);
+ }
+ private native void newTQTranslator(TQObject parent);
+ public TQTranslator() {
+ super((Class) null);
+ newTQTranslator();
+ }
+ private native void newTQTranslator();
+ public native String find(String context, String sourceText, String comment);
+ public native String find(String context, String sourceText);
+ public native TQTranslatorMessage findMessage(String arg1, String arg2, String arg3);
+ public native TQTranslatorMessage findMessage(String arg1, String arg2);
+ public native boolean load(String filename, String directory, String search_delimiters, String suffix);
+ public native boolean load(String filename, String directory, String search_delimiters);
+ public native boolean load(String filename, String directory);
+ public native boolean load(String filename);
+ public native boolean load(char[] data, int len);
+ public native void clear();
+ public native boolean save(String filename, int mode);
+ public native boolean save(String filename);
+ public native void insert(TQTranslatorMessage arg1);
+ public native void insert(String context, String sourceText, String translation);
+ public native void remove(TQTranslatorMessage arg1);
+ public native void remove(String context, String sourceText);
+ public native boolean contains(String arg1, String arg2, String comment);
+ public native boolean contains(String arg1, String arg2);
+ public native void squeeze(int arg1);
+ public native void squeeze();
+ public native void unsqueeze();
+ // TQValueList<TQTranslatorMessage> messages(); >>>> NOT CONVERTED
+ public native boolean isEmpty();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ /** 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();
+}