lib
KoSpell Class Reference
#include <KoSpell.h>
Detailed Description
KOffice spell checking object Used for both spell-checking-with-a-dialog (directly) and background spell-checking (via KoBgSpellCheck).
- See also:
- KSpell2::Broker
Definition at line 45 of file KoSpell.h.
Public Slots | |
| void | slotCurrentParagraphDeleted () |
Signals | |
| void | paragraphChecked (KoTextParag *) |
| void | aboutToFeedText () |
Public Member Functions | |
| KoSpell (const KSpell2::Broker::Ptr &broker, QObject *parent=0, const char *name=0) | |
| virtual | ~KoSpell () |
| bool | checking () const |
| virtual bool | check (KoTextIterator *itr, bool dialog=false) |
| virtual bool | check (KoTextParag *parag) |
| virtual bool | checkWordInParagraph (KoTextParag *parag, int pos, QString &word, int &start) |
| KoTextParag * | currentParag () const |
| KoTextObject * | currentTextObject () const |
| int | currentStartIndex () const |
| KoTextDocument * | textDocument () const |
| KSpell2::Settings * | settings () const |
Protected Member Functions | |
| virtual QString | getMoreText () |
| virtual void | finishedCurrentFeed () |
Constructor & Destructor Documentation
| KoSpell::~KoSpell | ( | ) | [virtual] |
The destructor instructs ISpell/ASpell to write out the personal dictionary and then terminates ISpell/ASpell.
Definition at line 64 of file KoSpell.cpp.
Member Function Documentation
| bool KoSpell::checking | ( | ) | const |
Returns whether the speller is already checking something.
Definition at line 218 of file KoSpell.cpp.
| bool KoSpell::check | ( | KoTextIterator * | itr, | |
| bool | dialog = false | |||
| ) | [virtual] |
Spellchecks a buffer of many words in plain text format.
The buffer is not modified. The signal done() will be sent when check() is finished.
Definition at line 69 of file KoSpell.cpp.
| bool KoSpell::checkWordInParagraph | ( | KoTextParag * | parag, | |
| int | pos, | |||
| QString & | word, | |||
| int & | start | |||
| ) | [virtual] |
Definition at line 99 of file KoSpell.cpp.
| KSpell2::Settings * KoSpell::settings | ( | ) | const |
| void KoSpell::paragraphChecked | ( | KoTextParag * | ) | [signal] |
Emitted after a paragraph has been checked.
The documentation for this class was generated from the following files:

