20 #ifndef __TDESPELLDLG_H__
21 #define __TDESPELLDLG_H__
23 #include <kdialogbase.h>
50 class KSpellDlgPrivate;
56 TQPushButton *qpbrep, *qpbrepa;
58 TQString word, newword;
62 KSpellDlg( TQWidget *parent,
const char *name,
63 bool _progressbar =
false,
bool _modal =
false );
66 TQString replacement()
const
74 void init(
const TQString& _word, TQStringList* _sugg );
75 void init(
const TQString& _word, TQStringList* _sugg,
76 const TQString& context );
78 void standby() { emit ready(
false ); }
84 void slotProgress(
unsigned int p );
107 void slotConfigChanged();
109 void textChanged(
const TQString & );
111 void slotSelectionChanged( TQListViewItem* item );
A progress indicator widget.
void cancel()
Force closing the dialog, setting its result code to the one Esc would set.
A dialog base class with standard buttons and predefined layouts.
const TDEShortcut & replace()
An enhanced TQLineEdit widget for inputting text.
virtual void closeEvent(TQCloseEvent *e)
Detects when a dialog is being closed from the window manager controls.
A variant of TQListBox that honors KDE's system-wide settings.