#include <KoBgSpellCheck.h>
Graphe de collaboration de KoBgSpellCheck:
Connecteurs publics | |
void | start () |
void | stop () |
void | setEnabled (bool b) |
Fonctions membres publiques | |
KoBgSpellCheck (const KSpell2::Loader::Ptr &loader, QObject *parent=0, const char *name=0) | |
virtual | ~KoBgSpellCheck () |
void | registerNewTextObject (KoTextObject *object) |
virtual KoTextIterator * | createWholeDocIterator () const=0 |
bool | enabled () const |
KSpell2::Settings * | settings () const |
void | setIntraWordEditing (KoTextParag *parag, int index) |
Connecteurs protégés | |
void | spellCheckerMisspelling (const QString &, int) |
void | spellCheckerDone () |
void | checkerContinue () |
void | slotParagraphCreated (KoTextParag *parag) |
void | slotParagraphModified (KoTextParag *parag, int, int pos, int length) |
void | slotParagraphDeleted (KoTextParag *parag) |
void | slotClearPara () |
Fonctions membres protégées | |
void | markWord (KoTextParag *parag, int pos, int length, bool misspelled) |
Attributs privés | |
Private * | d |
Classes | |
class | Private |
Définition à la ligne 32 du fichier KoBgSpellCheck.h.
KoBgSpellCheck::KoBgSpellCheck | ( | const KSpell2::Loader::Ptr & | loader, | |
QObject * | parent = 0 , |
|||
const char * | name = 0 | |||
) |
Définition à la ligne 61 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, d, KoBgSpellCheck::Private::intraWordParag, KoBgSpellCheck::Private::intraWordPosition, KoBgSpellCheck::Private::marked, slotClearPara(), spellCheckerDone(), spellCheckerMisspelling(), et KoBgSpellCheck::Private::startupChecking.
KoBgSpellCheck::~KoBgSpellCheck | ( | ) | [virtual] |
void KoBgSpellCheck::registerNewTextObject | ( | KoTextObject * | object | ) |
Définition à la ligne 88 du fichier KoBgSpellCheck.cpp.
Références slotParagraphCreated(), slotParagraphDeleted(), et slotParagraphModified().
virtual KoTextIterator* KoBgSpellCheck::createWholeDocIterator | ( | ) | const [pure virtual] |
Référencé par start().
bool KoBgSpellCheck::enabled | ( | ) | const |
Définition à la ligne 109 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, d, et KoSpell::settings().
Référencé par checkerContinue(), slotParagraphCreated(), slotParagraphModified(), et start().
Voici le graphe d'appel pour cette fonction :
KSpell2::Settings * KoBgSpellCheck::settings | ( | ) | const |
Returns the Settings object used by the loader.
Définition à la ligne 292 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, d, et KoSpell::settings().
Voici le graphe d'appel pour cette fonction :
void KoBgSpellCheck::setIntraWordEditing | ( | KoTextParag * | parag, | |
int | index | |||
) |
Tell KoBgSpellCheck to avoid spell-checking the word around this position yet, while the user is editing it
Définition à la ligne 297 du fichier KoBgSpellCheck.cpp.
Références d, KoBgSpellCheck::Private::intraWordParag, KoBgSpellCheck::Private::intraWordPosition, et slotParagraphModified().
Référencé par KoTextView::handleKeyPressEvent().
Voici le graphe d'appel pour cette fonction :
void KoBgSpellCheck::start | ( | ) | [slot] |
Définition à la ligne 114 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, KoSpell::check(), createWholeDocIterator(), d, enabled(), KoBgSpellCheck::Private::marked, et KoBgSpellCheck::Private::startupChecking.
Référencé par setEnabled().
void KoBgSpellCheck::stop | ( | ) | [slot] |
Définition à la ligne 197 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, et d.
Référencé par setEnabled().
void KoBgSpellCheck::setEnabled | ( | bool | b | ) | [slot] |
Définition à la ligne 100 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, d, KoSpell::settings(), start(), et stop().
void KoBgSpellCheck::spellCheckerMisspelling | ( | const QString & | , | |
int | ||||
) | [protected, slot] |
Définition à la ligne 126 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, checkerContinue(), KoSpell::currentParag(), d, delayAfterMarked, KoTextParag::document(), KoTextDocument::emitRepaintChanged(), KoTextParag::length(), KoBgSpellCheck::Private::marked, markWord(), KoTextParag::paragId(), et KoBgSpellCheck::Private::startupChecking.
Référencé par KoBgSpellCheck().
void KoBgSpellCheck::spellCheckerDone | ( | ) | [protected, slot] |
Définition à la ligne 182 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, KoSpell::check(), d, KoBgSpellCheck::Private::paragCache, et KoBgSpellCheck::Private::startupChecking.
Référencé par KoBgSpellCheck().
void KoBgSpellCheck::checkerContinue | ( | ) | [protected, slot] |
Définition à la ligne 176 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, d, et enabled().
Référencé par spellCheckerMisspelling().
void KoBgSpellCheck::slotParagraphCreated | ( | KoTextParag * | parag | ) | [protected, slot] |
Définition à la ligne 205 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, KoSpell::check(), d, enabled(), KoBgSpellCheck::Private::paragCache, KoTextString::setNeedsSpellCheck(), et KoTextParag::string().
Référencé par registerNewTextObject().
void KoBgSpellCheck::slotParagraphModified | ( | KoTextParag * | parag, | |
int | , | |||
int | pos, | |||
int | length | |||
) | [protected, slot] |
Définition à la ligne 215 du fichier KoBgSpellCheck.cpp.
Références KoBgSpellCheck::Private::backSpeller, KoSpell::check(), KoSpell::checking(), d, KoTextParag::document(), KoTextDocument::emitRepaintChanged(), enabled(), KoTextParag::hasChanged(), KoTextParag::length(), markWord(), KoBgSpellCheck::Private::paragCache, KoTextString::setNeedsSpellCheck(), KoSpell::settings(), KoTextParag::string(), et KoTextString::stringToSpellCheck().
Référencé par registerNewTextObject(), et setIntraWordEditing().
void KoBgSpellCheck::slotParagraphDeleted | ( | KoTextParag * | parag | ) | [protected, slot] |
Définition à la ligne 259 du fichier KoBgSpellCheck.cpp.
Références d, KoBgSpellCheck::Private::intraWordParag, et KoBgSpellCheck::Private::paragCache.
Référencé par registerNewTextObject().
void KoBgSpellCheck::slotClearPara | ( | ) | [protected, slot] |
Définition à la ligne 270 du fichier KoBgSpellCheck.cpp.
Références KoTextParag::at(), KoBgSpellCheck::Private::backSpeller, KoSpell::currentParag(), d, KoTextParag::document(), KoTextDocument::emitRepaintChanged(), KoTextStringChar::format, KoTextParag::length(), KoTextFormat::Misspelled, KoTextParag::paragId(), KoTextParag::setChanged(), et KoTextParag::setFormat().
Référencé par KoBgSpellCheck().
void KoBgSpellCheck::markWord | ( | KoTextParag * | parag, | |
int | pos, | |||
int | length, | |||
bool | misspelled | |||
) | [protected] |
Définition à la ligne 150 du fichier KoBgSpellCheck.cpp.
Références KoTextParag::at(), d, KoTextStringChar::format, KoBgSpellCheck::Private::intraWordParag, KoBgSpellCheck::Private::intraWordPosition, KoTextParag::length(), KoTextFormat::Misspelled, KoTextParag::setChanged(), et KoTextParag::setFormat().
Référencé par slotParagraphModified(), et spellCheckerMisspelling().
Voici le graphe d'appel pour cette fonction :
Private* KoBgSpellCheck::d [private] |
Définition à la ligne 76 du fichier KoBgSpellCheck.h.
Référencé par checkerContinue(), enabled(), KoBgSpellCheck(), markWord(), setEnabled(), setIntraWordEditing(), settings(), slotClearPara(), slotParagraphCreated(), slotParagraphDeleted(), slotParagraphModified(), spellCheckerDone(), spellCheckerMisspelling(), start(), stop(), et ~KoBgSpellCheck().