• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kspell2
 

kspell2

Public Member Functions | List of all members
HSpellDict Class Reference

#include <kspell_hspelldict.h>

Inheritance diagram for HSpellDict:
KSpell2::Dictionary

Public Member Functions

 HSpellDict (const TQString &lang)
 
virtual bool check (const TQString &word)
 
virtual TQStringList suggest (const TQString &word)
 
virtual bool checkAndSuggest (const TQString &word, TQStringList &suggestions)
 
virtual bool storeReplacement (const TQString &bad, const TQString &good)
 
virtual bool addToPersonal (const TQString &word)
 
virtual bool addToSession (const TQString &word)
 
- Public Member Functions inherited from KSpell2::Dictionary
TQString language () const
 
bool isDefault () const
 

Additional Inherited Members

- Protected Member Functions inherited from KSpell2::Dictionary
 Dictionary (const TQString &lang, bool def=false)
 
- Protected Attributes inherited from KSpell2::Dictionary
TQString m_language
 
bool m_default
 

Detailed Description

kspell_hspelldict.h

Copyright (C) 2003 Zack Rusin zack@.nosp@m.kde..nosp@m.org Copyright (C) 2005 Mashrab Kuvatov kmash.nosp@m.rab@.nosp@m.uni-b.nosp@m.reme.nosp@m.n.de

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

Definition at line 31 of file kspell_hspelldict.h.

Member Function Documentation

bool HSpellDict::addToPersonal ( const TQString &  word)
virtual

Adds word to the list of of personal words.

Returns
true on success

Implements KSpell2::Dictionary.

Definition at line 95 of file kspell_hspelldict.cpp.

bool HSpellDict::addToSession ( const TQString &  word)
virtual

Adds word to the words recognizable in the current session.

Returns
true on success

Implements KSpell2::Dictionary.

Definition at line 102 of file kspell_hspelldict.cpp.

bool HSpellDict::check ( const TQString &  word)
virtual

Checks the given word.

Returns
false if the word is misspelled. true otherwise

Implements KSpell2::Dictionary.

Definition at line 46 of file kspell_hspelldict.cpp.

bool HSpellDict::checkAndSuggest ( const TQString &  word,
TQStringList &  suggestions 
)
virtual

Checks the word and fetches suggestions for it.

Implements KSpell2::Dictionary.

Definition at line 78 of file kspell_hspelldict.cpp.

bool HSpellDict::storeReplacement ( const TQString &  bad,
const TQString &  good 
)
virtual

Stores user defined good replacement for the bad word.

Returns
true on success

Implements KSpell2::Dictionary.

Definition at line 87 of file kspell_hspelldict.cpp.

TQStringList HSpellDict::suggest ( const TQString &  word)
virtual

Fetches suggestions for the word.

Returns
list of all suggestions for the word

Implements KSpell2::Dictionary.

Definition at line 64 of file kspell_hspelldict.cpp.


The documentation for this class was generated from the following files:
  • kspell_hspelldict.h
  • kspell_hspelldict.cpp

kspell2

Skip menu "kspell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kspell2

Skip menu "kspell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kspell2 by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |