KDEUI
highlighter.cpp
Go to the documentation of this file.
virtual void setMisspelled(int start, int count)
Definition: highlighter.cpp:324
QString i18n(const char *text)
bool spellCheckerFound() const
Definition: highlighter.cpp:139
Qt::KeyboardModifiers modifiers() const
void setUnderlineStyle(UnderlineStyle style)
Type type() const
void rehighlight()
virtual void highlightBlock(const QString &text)
Definition: highlighter.cpp:273
void setCurrentBlockState(int newState)
int timeout
bool hasGroup(const QString &group) const
QWidget * viewport() const
void setFormat(int start, int count, const QTextCharFormat &format)
bool end
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
int count(const T &value) const
void append(const T &value)
void installEventFilter(QObject *filterObj)
void insertText(const QString &text)
bool isEmpty() const
void setIntraWordEditing(bool editing)
Definition: highlighter.cpp:206
QT_MOC_COMPAT void newSuggestions(const QString &originalWord, const QStringList &suggestions)
void addWordToDictionary(const QString &word)
Adds the given word permanently to the dictionary.
Definition: highlighter.cpp:413
static Filter * defaultFilter()
void setCurrentLanguage(const QString &lang)
Definition: highlighter.cpp:300
bool isWordMisspelled(const QString &word)
Checks if a given word is marked as misspelled by the highlighter.
Definition: highlighter.cpp:433
Highlighter(QTextEdit *textEdit, const QString &configFile=QString(), const QColor &col=QColor())
Definition: highlighter.cpp:76
virtual void connectNotify(const char *signal)
iterator end()
int key() const
QStringList suggestionsForWord(const QString &word, int max=10)
Returns a list of suggested replacements for the given misspelled word.
Definition: highlighter.cpp:423
void activeChanged(const QString &description)
Emitted when as-you-type spell checking is enabled or disabled.
virtual void disconnectNotify(const char *signal)
int start
QTextCharFormat format(int position) const
virtual void unsetMisspelled(int start, int count)
Definition: highlighter.cpp:333
bool eventFilter(QObject *o, QEvent *e)
Definition: highlighter.cpp:338
static Loader * openLoader()
typedef ConstIterator
void removeLast()
int length() const
void setFontUnderline(bool underline)
void setUnderlineColor(const QColor &color)
QFuture< void > filter(Sequence &sequence, FilterFunction filterFunction)
bool checkerEnabledByDefault() const
Return true if checker is enabled by default.
Definition: highlighter.cpp:443
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setMisspelledColor(const QColor &color)
Sets the color in which the highlighter underlines misspelled words.
Definition: highlighter.cpp:438
QString word
iterator begin()
bool isValid() const
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.