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).
- Author:
- Zack Rusin <zack@kde.org>, David Sweet <dsweet@kde.org>
- 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
|
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
|
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. |
|
Returns whether the speller is already checking something.
Definition at line 218 of file KoSpell.cpp. |
|
##### do we really need to create a Filter every time? Definition at line 99 of file KoSpell.cpp. |
|
Emitted after a paragraph has been checked.
|
|
Returns the Settings object used by the broker.
Definition at line 241 of file KoSpell.cpp. |
The documentation for this class was generated from the following files: