KDECore
Sonnet Namespace Reference
Namespaces | |
namespace | Filter |
namespace | Loader |
namespace | Settings |
namespace | SpellerPlugin |
Classes | |
class | BackgroundChecker |
BackgroundChecker is used to perform spell checking without blocking the application. More... | |
class | Speller |
Spell checker object. More... | |
Functions | |
QString | defaultLanguageName () |
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 | isSpaceOrPunct (const QString &str) |
Variables | |
static Word | endWord |
Detailed Description
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>.
Copyright (C) 2004 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
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
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
static bool Sonnet::finderNextWord | ( | QTextBoundaryFinder & | finder, | |
QString & | word, | |||
int & | bufferStart | |||
) | [static] |
Definition at line 103 of file filter.cpp.
static bool Sonnet::finderWordAt | ( | QTextBoundaryFinder & | finder, | |
int | at, | |||
QString & | word, | |||
int & | bufferStart | |||
) | [static] |
Definition at line 134 of file filter.cpp.
Definition at line 97 of file filter.cpp.
Variable Documentation
Word Sonnet::endWord [static] |
Definition at line 33 of file filter.cpp.