KSpellDlg Class Reference
Inheritance diagram for KSpellDlg:

Detailed Description
Definition at line 46 of file kspelldlg.h.
Public Slots | |
void | slotProgress (unsigned int p) |
Signals | |
void | command (int) |
void | ready (bool) |
Public Member Functions | |
KSpellDlg (QWidget *parent, const char *name, bool _progressbar=false, bool _modal=false) | |
~KSpellDlg () | |
QString | replacement () const |
void | init (const QString &_word, QStringList *_sugg) |
void | init (const QString &_word, QStringList *_sugg, const QString &context) |
void | standby () |
Protected Slots | |
void | ignore () |
void | add () |
void | ignoreAll () |
void | cancel () |
void | replace () |
void | replaceAll () |
void | suggest () |
void | stop () |
void | slotConfigChanged () |
void | textChanged (const QString &) |
void | slotSelectionChanged (QListViewItem *item) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
void | done (int i) |
Member Function Documentation
void KSpellDlg::cancel | ( | ) | [protected, slot] |
Force closing the dialog, setting its result code to the one Esc would set.
You shouldn't use this, generally (let the user make his choice!) but it can be useful when you need to make a choice after a timeout has happened, or when the parent widget has to go somewhere else (e.g. html redirections).
- Since:
- 3.1
Reimplemented from KDialogBase.
Definition at line 243 of file kspelldlg.cpp.
void KSpellDlg::closeEvent | ( | QCloseEvent * | e | ) | [protected, virtual] |
Detects when a dialog is being closed from the window manager controls.
If the Cancel or Close button is present then the button is activated. Otherwise standard QDialog behavior will take place.
Reimplemented from KDialogBase.
Definition at line 210 of file kspelldlg.cpp.
void KSpellDlg::command | ( | int | ) | [signal] |
This signal is emitted when a button is pressed.
void KSpellDlg::init | ( | const QString & | _word, | |
QStringList * | _sugg | |||
) |
Change the misspelled word and suggested replacements and enable the disabled buttons on the dialog box.
(Buttons are disabled by standby().)
Definition at line 113 of file kspelldlg.cpp.
void KSpellDlg::slotProgress | ( | unsigned int | p | ) | [slot] |
The documentation for this class was generated from the following files: