kdeui
KSpellDlg Class Reference
#include <kspelldlg.h>
Public Slots | |
void | slotProgress (unsigned int p) |
Signals | |
void | command (int) |
void | ready (bool) |
Public Member Functions | |
void | init (const QString &_word, QStringList *_sugg, const QString &context) |
void | init (const QString &_word, QStringList *_sugg) |
KSpellDlg (QWidget *parent, const char *name, bool _progressbar=false, bool _modal=false) | |
QString | replacement () const |
void | standby () |
~KSpellDlg () | |
Protected Slots | |
void | add () |
void | cancel () |
void | ignore () |
void | ignoreAll () |
void | replace () |
void | replaceAll () |
void | slotConfigChanged () |
void | slotSelectionChanged (QListViewItem *item) |
void | stop () |
void | suggest () |
void | textChanged (const QString &) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
void | done (int i) |
Detailed Description
Definition at line 46 of file kspelldlg.h.
Constructor & Destructor Documentation
KSpellDlg::KSpellDlg | ( | QWidget * | parent, | |
const char * | name, | |||
bool | _progressbar = false , |
|||
bool | _modal = false | |||
) |
Definition at line 51 of file kspelldlg.cpp.
KSpellDlg::~KSpellDlg | ( | ) |
Definition at line 107 of file kspelldlg.cpp.
Member Function Documentation
void KSpellDlg::add | ( | ) | [protected, slot] |
Definition at line 236 of file kspelldlg.cpp.
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 244 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 211 of file kspelldlg.cpp.
void KSpellDlg::command | ( | int | ) | [signal] |
This signal is emitted when a button is pressed.
void KSpellDlg::done | ( | int | i | ) | [protected] |
void KSpellDlg::ignore | ( | ) | [protected, slot] |
Definition at line 222 of file kspelldlg.cpp.
void KSpellDlg::ignoreAll | ( | ) | [protected, slot] |
Definition at line 229 of file kspelldlg.cpp.
void KSpellDlg::init | ( | const QString & | _word, | |
QStringList * | _sugg, | |||
const QString & | context | |||
) |
Definition at line 147 of file kspelldlg.cpp.
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 114 of file kspelldlg.cpp.
void KSpellDlg::ready | ( | bool | ) | [signal] |
void KSpellDlg::replace | ( | ) | [protected, slot] |
Definition at line 251 of file kspelldlg.cpp.
void KSpellDlg::replaceAll | ( | ) | [protected, slot] |
Definition at line 265 of file kspelldlg.cpp.
QString KSpellDlg::replacement | ( | ) | const [inline] |
Definition at line 66 of file kspelldlg.h.
void KSpellDlg::slotConfigChanged | ( | ) | [protected, slot] |
Definition at line 279 of file kspelldlg.cpp.
void KSpellDlg::slotProgress | ( | unsigned int | p | ) | [slot] |
void KSpellDlg::slotSelectionChanged | ( | QListViewItem * | item | ) | [protected, slot] |
Definition at line 200 of file kspelldlg.cpp.
void KSpellDlg::standby | ( | ) | [inline] |
Definition at line 78 of file kspelldlg.h.
void KSpellDlg::stop | ( | ) | [protected, slot] |
Definition at line 258 of file kspelldlg.cpp.
void KSpellDlg::suggest | ( | ) | [protected, slot] |
Definition at line 272 of file kspelldlg.cpp.
void KSpellDlg::textChanged | ( | const QString & | ) | [protected, slot] |
Definition at line 192 of file kspelldlg.cpp.
The documentation for this class was generated from the following files: