20 #ifndef __KSPELLDLG_H__
21 #define __KSPELLDLG_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 dialog base class with standard buttons and predefined layouts.
virtual void closeEvent(TQCloseEvent *e)
Detects when a dialog is being closed from the window manager controls.
void cancel()
Force closing the dialog, setting its result code to the one Esc would set.
An enhanced TQLineEdit widget for inputting text.
A variant of TQListBox that honors KDE's system-wide settings.
A progress indicator widget.
const KShortcut & replace()