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/QTranslator.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QTranslator.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QTranslator.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/qtjava/javalib/org/kde/qt/QTranslator.java b/qtjava/javalib/org/kde/qt/QTranslator.java index 9e791b48..d27bdeec 100644 --- a/qtjava/javalib/org/kde/qt/QTranslator.java +++ b/qtjava/javalib/org/kde/qt/QTranslator.java @@ -3,32 +3,32 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTranslator extends QObject { - protected QTranslator(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTranslator(QObject parent, String name) { + public TQTranslator(TQObject parent, String name) { super((Class) null); - newQTranslator(parent,name); + newTQTranslator(parent,name); } - private native void newQTranslator(QObject parent, String name); - public QTranslator(QObject parent) { + private native void newTQTranslator(TQObject parent, String name); + public TQTranslator(TQObject parent) { super((Class) null); - newQTranslator(parent); + newTQTranslator(parent); } - private native void newQTranslator(QObject parent); - public QTranslator() { + private native void newTQTranslator(TQObject parent); + public TQTranslator() { super((Class) null); - newQTranslator(); + newTQTranslator(); } - private native void newQTranslator(); + private native void newTQTranslator(); public native String find(String context, String sourceText, String comment); public native String find(String context, String sourceText); - public native QTranslatorMessage findMessage(String arg1, String arg2, String arg3); - public native QTranslatorMessage findMessage(String arg1, String arg2); + 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); @@ -37,16 +37,16 @@ public class QTranslator extends QObject { public native void clear(); public native boolean save(String filename, int mode); public native boolean save(String filename); - public native void insert(QTranslatorMessage arg1); + public native void insert(TQTranslatorMessage arg1); public native void insert(String context, String sourceText, String translation); - public native void remove(QTranslatorMessage arg1); + 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(); - // QValueList<QTranslatorMessage> messages(); >>>> NOT CONVERTED + // 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); |