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

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

public class QSqlIndex extends QSqlRecord  {
	protected QSqlIndex(Class dummy){super((Class) null);}
	public QSqlIndex(String cursorName, String name) {
		super((Class) null);
		newQSqlIndex(cursorName,name);
	}
	private native void newQSqlIndex(String cursorName, String name);
	public QSqlIndex(String cursorName) {
		super((Class) null);
		newQSqlIndex(cursorName);
	}
	private native void newQSqlIndex(String cursorName);
	public QSqlIndex() {
		super((Class) null);
		newQSqlIndex();
	}
	private native void newQSqlIndex();
	public QSqlIndex(QSqlIndex other) {
		super((Class) null);
		newQSqlIndex(other);
	}
	private native void newQSqlIndex(QSqlIndex 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(QSqlField field);
	public native void append(QSqlField 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 QSqlIndex fromStringList(String[] l, QSqlCursor 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();
}
