The sonnet namespace. More...
Classes | |
| class | BackgroundChecker |
| BackgroundChecker is used to perform spell checking without blocking the application. More... | |
| class | BackgroundEngine |
| class | Client |
| class | Filter |
| Filter is used to split text into words which will be spell checked. More... | |
| class | Loader |
| Class used to deal with dictionaries. More... | |
| class | Settings |
| Settings class. More... | |
| class | Speller |
| Spell checker object. More... | |
| class | SpellerPlugin |
| Class is returned by from Loader. More... | |
| struct | Word |
| Structure abstracts the word and its position in the parent text. More... | |
Functions | |
| QString | defaultLanguageName () |
| builddir build BUILD kdelibs kdecore sonnet globals cpp QString | detectLanguage (const QString &sentence) |
| static bool | finderNextWord (QTextBoundaryFinder &finder, QString &word, int &bufferStart) |
| static bool | finderWordAt (QTextBoundaryFinder &finder, int at, QString &word, int &bufferStart) |
| static bool | isValidWord (const QString &str) |
Variables | |
| static Word | endWord |
Detailed Description
The sonnet namespace.
Copyright 2006 Zack Rusin <zack@kde.org>
Copyright (C) 2007 Zack Rusin <zack@kde.org>
Copyright (C) 2003 Zack Rusin <zack@kde.org> Copyright (C) 2006 Laurent Montel <montel@kde.org>
Copyright (C) 2003 Zack Rusin <zack@kde.org>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Copyright (C) 2004 Zack Rusin <zack@kde.org> Copyright (C) 2010 Michel Ludwig <michel.ludwig@kdemail.net>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Function Documentation
| QString Sonnet::defaultLanguageName | ( | ) |
- Returns:
- the default language which is stored in the sonnetrc config file. This is the language the user has set globally in the control center. Note that this returns the localized language name, not the dictionary name/language code.
- Since:
- 4.2
Definition at line 87 of file globals.cpp.
The function will return the language code for the language in which it thinks the sentence which has been passed to it is.
- Since:
- 4.2
Definition at line 42 of file globals.cpp.
| static bool Sonnet::finderNextWord | ( | QTextBoundaryFinder & | finder, |
| QString & | word, | ||
| int & | bufferStart | ||
| ) | [static] |
Definition at line 116 of file filter.cpp.
| static bool Sonnet::finderWordAt | ( | QTextBoundaryFinder & | finder, |
| int | at, | ||
| QString & | word, | ||
| int & | bufferStart | ||
| ) | [static] |
Definition at line 145 of file filter.cpp.
Definition at line 100 of file filter.cpp.
Variable Documentation
Word Sonnet::endWord [static] |
Definition at line 34 of file filter.cpp.
KDE 4.6 API Reference