summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QTranslator.java
blob: d27bdeec5ab1b4d8f2839cc18e26f49cfe711010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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();
}