PimCommon::AutoCorrection
PimCommon::AutoCorrection Class Reference
#include <autocorrection.h>
Public Member Functions | |
bool | addAutoCorrect (const QString ¤tWord, const QString &replaceWord) |
bool | autocorrect (bool htmlMode, QTextDocument &document, int &position) |
QHash< QString, QString > | autocorrectEntries () const |
bool | isAddNonBreakingSpace () const |
bool | isAdvancedAutocorrect () const |
bool | isAutoBoldUnderline () const |
bool | isAutoFormatUrl () const |
bool | isAutoFractions () const |
bool | isCapitalizeWeekDays () const |
bool | isEnabledAutoCorrection () const |
bool | isFixTwoUppercaseChars () const |
bool | isReplaceDoubleQuotes () const |
bool | isReplaceSingleQuotes () const |
bool | isSingleSpaces () const |
bool | isSuperScript () const |
bool | isUppercaseFirstCharOfSentence () const |
QString | language () const |
void | loadGlobalFileName (const QString &fname, bool forceGlobal) |
void | loadLocalFileName (const QString &localFileName, const QString &fname) |
void | setAddNonBreakingSpace (bool b) |
void | setAdvancedAutocorrect (bool b) |
void | setAutoBoldUnderline (bool b) |
void | setAutocorrectEntries (const QHash< QString, QString > &entries) |
void | setAutoFormatUrl (bool b) |
void | setAutoFractions (bool b) |
void | setCapitalizeWeekDays (bool b) |
void | setEnabledAutoCorrection (bool b) |
void | setFixTwoUppercaseChars (bool b) |
void | setLanguage (const QString &lang, bool forceGlobal=false) |
void | setNonBreakingSpace (QChar nonBreakingSpace) |
void | setReplaceDoubleQuotes (bool b) |
void | setReplaceSingleQuotes (bool b) |
void | setSingleSpaces (bool b) |
void | setSuperScript (bool b) |
void | setTwoUpperLetterExceptions (const QSet< QString > &exceptions) |
void | setTypographicDoubleQuotes (TypographicQuotes doubleQuote) |
void | setTypographicSingleQuotes (TypographicQuotes singleQuote) |
void | setUpperCaseExceptions (const QSet< QString > &exceptions) |
void | setUppercaseFirstCharOfSentence (bool b) |
QSet< QString > | twoUpperLetterExceptions () const |
TypographicQuotes | typographicDefaultDoubleQuotes () const |
TypographicQuotes | typographicDefaultSingleQuotes () const |
TypographicQuotes | typographicDoubleQuotes () const |
TypographicQuotes | typographicSingleQuotes () const |
QSet< QString > | upperCaseExceptions () const |
void | writeAutoCorrectionXmlFile (const QString &filename=QString()) |
void | writeConfig () |
Detailed Description
The AutoCorrection class.
Definition at line 20 of file autocorrection.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:13:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:13:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.