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

Kate

Public Member Functions | Static Public Member Functions | List of all members
KateSpellCheckManager Class Reference

#include <spellcheck.h>

Inheritance diagram for KateSpellCheckManager:
Inheritance graph
[legend]

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

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