//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();
}
