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

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

public class TQSqlIndex extends TQSqlRecord  {
	protected TQSqlIndex(Class dummy){super((Class) null);}
	public TQSqlIndex(String cursorName, String name) {
		super((Class) null);
		newTQSqlIndex(cursorName,name);
	}
	private native void newTQSqlIndex(String cursorName, String name);
	public TQSqlIndex(String cursorName) {
		super((Class) null);
		newTQSqlIndex(cursorName);
	}
	private native void newTQSqlIndex(String cursorName);
	public TQSqlIndex() {
		super((Class) null);
		newTQSqlIndex();
	}
	private native void newTQSqlIndex();
	public TQSqlIndex(TQSqlIndex other) {
		super((Class) null);
		newTQSqlIndex(other);
	}
	private native void newTQSqlIndex(TQSqlIndex other);
	public native void setCursorName(String cursorName);
	public native String cursorName();
	public native void setName(String name);
	public native String name();
	public native void append(TQSqlField field);
	public native void append(TQSqlField field, boolean desc);
	public native boolean isDescending(int i);
	public native void setDescending(int i, boolean desc);
	public native String toString(String prefix, String sep, boolean verbose);
	public native String toString(String prefix, String sep);
	public native String toString(String prefix);
	public native String toString();
	public native ArrayList toStringList(String prefix, boolean verbose);
	public native ArrayList toStringList(String prefix);
	public native ArrayList toStringList();
	public static native TQSqlIndex fromStringList(String[] l, TQSqlCursor cursor);
	/** 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();
}
