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

import org.kde.qt.Qt;
import org.kde.qt.QListViewItem;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QCloseEvent;
import org.kde.qt.QWidget;

/**
 See {@link KSpellDlgSignals} for signals emitted by KSpellDlg
*/
public class KSpellDlg extends KDialogBase  {
	protected KSpellDlg(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	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, boolean _progressbar, boolean _modal);
	public KSpellDlg(QWidget parent, String name, boolean _progressbar) {
		super((Class) null);
		newKSpellDlg(parent,name,_progressbar);
	}
	private native void newKSpellDlg(QWidget parent, String name, boolean _progressbar);
	public KSpellDlg(QWidget parent, String name) {
		super((Class) null);
		newKSpellDlg(parent,name);
	}
	private native void newKSpellDlg(QWidget parent, String 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 standby().)
				@short    Change the misspelled word and suggested replacements   and enable the disabled buttons on the dialog box.
	*/
	public native void init(String _word, String[] _sugg);
	public native void init(String _word, String[] _sugg, String context);
	public native void standby();
	/**	
		 Adjust the progress bar to <code>p</code> percent.
				@short    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();
	public native void cancel();
	protected native void replace();
	protected native void replaceAll();
	protected native void suggest();
	protected native void stop();
	protected native void slotConfigChanged();
	protected native void textChanged(String arg1);
	protected native void slotSelectionChanged(QListViewItem item);
	/** 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();
}
