summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMetaProperty.java
blob: 31802a68626461bf05c3aa3693250433cafb77ce (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;
import java.util.ArrayList;

public class TQMetaProperty implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQMetaProperty(Class dummy){}

	public static final int Invalid = 0x00000000;
	public static final int Readable = 0x00000001;
	public static final int Writable = 0x00000002;
	public static final int EnumOrSet = 0x00000004;
	public static final int UnresolvedEnum = 0x00000008;
	public static final int StdSet = 0x00000100;
	public static final int Override = 0x00000200;

	public native String type();
	public native String name();
	public native boolean writable();
	public native boolean isValid();
	public native boolean isSetType();
	public native boolean isEnumType();
	public native ArrayList enumKeys();
	public native int keyToValue(String key);
	public native String valueToKey(int value);
	public native int keysToValue(String[] keys);
	public native ArrayList valueToKeys(int value);
	public native boolean designable(TQObject arg1);
	public native boolean designable();
	public native boolean scriptable(TQObject arg1);
	public native boolean scriptable();
	public native boolean stored(TQObject arg1);
	public native boolean stored();
	public native boolean reset(TQObject arg1);
	public native boolean testFlags(int f);
	public native boolean stdSet();
	public native int id();
	public native void clear();
	public TQMetaProperty() {
		newTQMetaProperty();
	}
	private native void newTQMetaProperty();
	/** 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();
}