KDEUI
Go to the documentation of this file. 21 #ifndef SONNET_HIGHLIGHTER_H 22 #define SONNET_HIGHLIGHTER_H 24 #include <QtGui/QSyntaxHighlighter> 25 #include <QtCore/QStringList> 26 #include <kdemacros.h> 39 const QString &configFile = QString(),
43 bool spellCheckerFound()
const;
45 QString currentLanguage()
const;
46 void setCurrentLanguage(
const QString &lang);
48 static QStringList personalWords();
63 void setActive(
bool active);
72 bool isActive()
const;
74 bool automatic()
const;
76 void setAutomatic(
bool automatic);
85 void addWordToDictionary(
const QString &word);
95 void ignoreWord(
const QString &word);
108 QStringList suggestionsForWord(
const QString &word,
int max = 10 );
117 bool isWordMisspelled(
const QString &word);
123 void setMisspelledColor(
const QColor &color);
129 bool checkerEnabledByDefault()
const;
139 void activeChanged(
const QString &description);
149 QT_MOC_COMPAT
void newSuggestions(
const QString &originalWord,
const QStringList &suggestions);
153 virtual void highlightBlock(
const QString &text);
154 virtual void setMisspelled(
int start,
int count);
155 virtual void unsetMisspelled(
int start,
int count);
157 bool eventFilter(
QObject *o, QEvent *e);
158 bool intraWordEditing()
const;
159 void setIntraWordEditing(
bool editing);
162 void slotAutoDetection();
163 void slotRehighlight();
165 virtual void connectNotify(
const char* signal);
166 virtual void disconnectNotify(
const char* signal);
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat Sep 30 2017 14:34:12 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.