• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

Classes | Functions | Variables
Sonnet Namespace Reference

Classes

class  BackgroundChecker
 
class  BackgroundEngine
 
class  Client
 
class  Filter
 
class  Loader
 
class  Settings
 
class  Speller
 
class  SpellerPlugin
 
struct  Word
 

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 isValidWord (const QString &str)
 

Variables

static Word endWord
 

Detailed Description

The sonnet namespace.

Copyright 2006 Zack Rusin zack@.nosp@m.kde..nosp@m.org

Copyright (C) 2007 Zack Rusin zack@.nosp@m.kde..nosp@m.org

Copyright (C) 2003 Zack Rusin zack@.nosp@m.kde..nosp@m.org Copyright (C) 2006 Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

filter.cpp

Copyright (C) 2003 Zack Rusin zack@.nosp@m.kde..nosp@m.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@.nosp@m.kde..nosp@m.org Copyright (C) 2010 Michel Ludwig miche.nosp@m.l.lu.nosp@m.dwig@.nosp@m.kdem.nosp@m.ail.n.nosp@m.et

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 89 of file globals.cpp.

QString Sonnet::detectLanguage ( const QString &  sentence)

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 41 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.

static bool Sonnet::isValidWord ( const QString &  str)
static

Definition at line 100 of file filter.cpp.

Variable Documentation

Word Sonnet::endWord
static

Definition at line 34 of file filter.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal