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

Kate

Public Member Functions | Static Public Member Functions

KateSpellCheckManager Class Reference

#include <spellcheck.h>

Inheritance diagram for KateSpellCheckManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KateSpellCheckManager (QObject *parent=NULL)
virtual ~KateSpellCheckManager ()
void addToDictionary (const QString &word, const QString &dictionary)
void ignoreWord (const QString &word, const QString &dictionary)
void replaceCharactersEncodedIfNecessary (const QString &newWord, KateDocument *doc, const KTextEditor::Range &replacementRange)
QList< QPair
< KTextEditor::Range, QString > > 
spellCheckLanguageRanges (KateDocument *doc, const KTextEditor::Range &range)
QList< QPair
< KTextEditor::Range, QString > > 
spellCheckRanges (KateDocument *doc, const KTextEditor::Range &range, bool singleLine=false)
QList< QPair
< KTextEditor::Range, QString > > 
spellCheckWrtHighlightingRanges (KateDocument *doc, const KTextEditor::Range &range, const QString &dictionary=QString(), bool singleLine=false, bool returnSingleRange=false)
QStringList suggestions (const QString &word, const QString &dictionary)

Static Public Member Functions

static QList< KTextEditor::Range > rangeDifference (const KTextEditor::Range &r1, const KTextEditor::Range &r2)

Detailed Description

Definition at line 36 of file spellcheck.h.


Constructor & Destructor Documentation

KateSpellCheckManager::KateSpellCheckManager ( QObject *  parent = NULL)

Definition at line 38 of file spellcheck.cpp.

KateSpellCheckManager::~KateSpellCheckManager ( ) [virtual]

Definition at line 43 of file spellcheck.cpp.


Member Function Documentation

void KateSpellCheckManager::addToDictionary ( const QString &  word,
const QString &  dictionary 
)

Definition at line 61 of file spellcheck.cpp.

void KateSpellCheckManager::ignoreWord ( const QString &  word,
const QString &  dictionary 
)

Definition at line 54 of file spellcheck.cpp.

QList< KTextEditor::Range > KateSpellCheckManager::rangeDifference ( const KTextEditor::Range &  r1,
const KTextEditor::Range &  r2 
) [static]

'r2' is a subrange of 'r1', which is extracted from 'r1' and the remaining ranges are returned

Definition at line 68 of file spellcheck.cpp.

void KateSpellCheckManager::replaceCharactersEncodedIfNecessary ( const QString &  newWord,
KateDocument *  doc,
const KTextEditor::Range &  replacementRange 
)

Definition at line 239 of file spellcheck.cpp.

QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckLanguageRanges ( KateDocument *  doc,
const KTextEditor::Range &  range 
)

Definition at line 92 of file spellcheck.cpp.

QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckRanges ( KateDocument *  doc,
const KTextEditor::Range &  range,
bool  singleLine = false 
)

Definition at line 226 of file spellcheck.cpp.

QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckWrtHighlightingRanges ( KateDocument *  doc,
const KTextEditor::Range &  range,
const QString &  dictionary = QString(),
bool  singleLine = false,
bool  returnSingleRange = false 
)

Definition at line 129 of file spellcheck.cpp.

QStringList KateSpellCheckManager::suggestions ( const QString &  word,
const QString &  dictionary 
)

Definition at line 47 of file spellcheck.cpp.


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

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal