/***************************************************************************
                            QSqlForm.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;

/**
 See {@link QSqlFormSignals} for signals emitted by QSqlForm.

 See {@link QSqlFormEventHandling} for event handlers to override in subclasses of QSqlForm.

*/
public class QSqlForm extends QObject  {
	protected QSqlForm(Class dummy){super((Class) null);}

	private native void newQSqlForm( QObject parent, String name);
	public QSqlForm( QObject parent, String name) {
		super((Class) null);
		newQSqlForm( parent, name);
	}
	private native void newQSqlForm();
	public QSqlForm() {
		super((Class) null);
		newQSqlForm();
	}
	protected native void finalize() throws InternalError;
	public native void insert( QWidget widget, String field);
	public native void remove( String field);
	public native int count();
	public native QWidget widget( int i);
	public native QSqlField widgetToField( QWidget widget);
	public native QWidget fieldToWidget( QSqlField field);
	public native void installPropertyMap( QSqlPropertyMap map);
	public native void setRecord( QSqlRecord buf);
	public native void readField( QWidget widget);
	public native void writeField( QWidget widget);
	public native void readFields();
	public native void writeFields();
	public native void clear();
	public native void clearValues( boolean nullify);
	public native void clearValues();
	protected native void insert( QWidget widget, QSqlField field);
	protected native void remove( QWidget widget);
	protected native void clearMap();
}
