//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;
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();
}
