/***************************************************************************
                            QSqlIndex.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QSqlIndex extends QSqlRecord  {
	protected QSqlIndex(Class dummy){super((Class) null);}

	private native void newQSqlIndex( String cursorName, String name);
	public QSqlIndex( String cursorName, String name) {
		super((Class) null);
		newQSqlIndex( cursorName, name);
	}
	private native void newQSqlIndex();
	public QSqlIndex() {
		super((Class) null);
		newQSqlIndex();
	}
	private native void newQSqlIndex( QSqlIndex other);
	public QSqlIndex( QSqlIndex other) {
		super((Class) null);
		newQSqlIndex( other);
	}
	protected native void finalize() throws InternalError;
	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 arg1, boolean verbose);
	public native ArrayList toStringList( String prefix, boolean verbose);
	public static native QSqlIndex fromStringList( String[] l, QSqlCursor cursor);
}
