/***************************************************************************
                            KSpellDlg.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**
 See {@link KSpellDlgSignals} for signals emitted by KSpellDlg.

 See {@link KSpellDlgEventHandling} for event handlers to override in subclasses of KSpellDlg.

*/
public class KSpellDlg extends KDialogBase  {
	protected KSpellDlg(Class dummy){super((Class) null);}

	private native void newKSpellDlg( QWidget parent, String name, boolean _progressbar, boolean _modal);
	public KSpellDlg( QWidget parent, String name, boolean _progressbar, boolean _modal) {
		super((Class) null);
		newKSpellDlg( parent, name, _progressbar, _modal);
	}
	private native void newKSpellDlg( QWidget parent, String name);
	public KSpellDlg( QWidget parent, String name) {
		super((Class) null);
		newKSpellDlg( parent, name);
	}
	public native String replacement();

/** 
 Change the misspelled word and suggested replacements
  and enable the disabled buttons on the dialog box.
 (Buttons are disabled by {@link #standby}.)

*/
	public native void init( String _word, String[] _sugg);
	public native void standby();

/** 
 Adjust the progress bar to <code>p</code> percent.

*/
	public native void slotProgress( int p);
	protected native void closeEvent( QCloseEvent e);
	protected native void done( int i);
	protected native void ignore();
	protected native void add();
	protected native void ignoreAll();
	protected native void cancel();
	protected native void replace();
	protected native void replaceAll();
	protected native void stop();
	protected native void textChanged( String arg1);
	protected native void selected( int i);
	protected native void highlighted( int i);
}
