KDEUI
highlighter.h
Go to the documentation of this file.
void addWordToDictionary(const QString &word)
Adds the given word permanently to the dictionary.
Definition highlighter.cpp:413
void activeChanged(const QString &description)
Emitted when as-you-type spell checking is enabled or disabled.
Highlighter(QTextEdit *textEdit, const QString &configFile=QString(), const QColor &col=QColor())
Definition highlighter.cpp:76
bool isWordMisspelled(const QString &word)
Checks if a given word is marked as misspelled by the highlighter.
Definition highlighter.cpp:433
QStringList suggestionsForWord(const QString &word, int max=10)
Returns a list of suggested replacements for the given misspelled word.
Definition highlighter.cpp:423
bool eventFilter(QObject *o, QEvent *e)
Definition highlighter.cpp:338
QT_MOC_COMPAT void newSuggestions(const QString &originalWord, const QStringList &suggestions)
virtual void highlightBlock(const QString &text)
Definition highlighter.cpp:273
void setIntraWordEditing(bool editing)
Definition highlighter.cpp:206
void setMisspelledColor(const QColor &color)
Sets the color in which the highlighter underlines misspelled words.
Definition highlighter.cpp:438
bool checkerEnabledByDefault() const
Return true if checker is enabled by default.
Definition highlighter.cpp:443
virtual void setMisspelled(int start, int count)
Definition highlighter.cpp:324
virtual void unsetMisspelled(int start, int count)
Definition highlighter.cpp:333
void setCurrentLanguage(const QString &lang)
Definition highlighter.cpp:300
dialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.