summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QMetaProperty.java
blob: b075a4e35f58220e9b8a170542b994f616d575b8 (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.kde.qt;

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

public class QMetaProperty implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QMetaProperty(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(QObject arg1);
	public native boolean designable();
	public native boolean scriptable(QObject arg1);
	public native boolean scriptable();
	public native boolean stored(QObject arg1);
	public native boolean stored();
	public native boolean reset(QObject arg1);
	public native boolean testFlags(int f);
	public native boolean stdSet();
	public native int id();
	public native void clear();
	public QMetaProperty() {
		newQMetaProperty();
	}
	private native void newQMetaProperty();
	/** 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();
}