22 #ifndef KSPELL_DIALOG_H 23 #define KSPELL_DIALOG_H 25 #include <kdialogbase.h> 30 class BackgroundChecker;
31 class KDE_EXPORT Dialog :
public KDialogBase
35 Dialog( BackgroundChecker *checker,
36 TQWidget *parent,
const char *name=0 );
39 TQString originalBuffer()
const;
40 TQString buffer()
const;
43 void activeAutoCorrect(
bool _active );
46 void setBuffer(
const TQString& );
47 void setFilter( Filter* filter );
50 void done(
const TQString& newBuffer );
51 void misspelling(
const TQString& word,
int start );
52 void replace(
const TQString& oldWord,
int start,
53 const TQString& newWord );
57 void autoCorrect(
const TQString & currentWord,
const TQString & replaceWord );
59 void slotMisspelling(
const TQString& word,
int start );
66 void slotReplaceWord();
67 void slotReplaceAll();
71 void slotChangeLanguage(
const TQString& );
72 void slotSelectionChanged( TQListViewItem * );
73 void slotAutocorrect();
76 void updateDialog(
const TQString& word );
77 void fillSuggestions(
const TQStringList& suggs );
78 void initConnections();
80 void continueChecking();