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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQListViewItem;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQCloseEvent;
import org.trinitydesktop.qt.TQWidget;

/**
 See {@link KSpellDlgSignals} for signals emitted by KSpellDlg
*/
public class KSpellDlg extends KDialogBase  {
	protected KSpellDlg(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal) {
		super((Class) null);
		newKSpellDlg(parent,name,_progressbar,_modal);
	}
	private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal);
	public KSpellDlg(TQWidget parent, String name, boolean _progressbar) {
		super((Class) null);
		newKSpellDlg(parent,name,_progressbar);
	}
	private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar);
	public KSpellDlg(TQWidget parent, String name) {
		super((Class) null);
		newKSpellDlg(parent,name);
	}
	private native void newKSpellDlg(TQWidget 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(TQCloseEvent 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(TQListViewItem 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();
}
