23#ifndef __KATE_SPELL_H__
24#define __KATE_SPELL_H__
26#include "katecursor.h"
33class KateSpell :
public TQObject
38 KateSpell( KateView* );
41 void createActions( TDEActionCollection* );
43 void updateActions ();
47 void spellcheckFromCursor();
50 void spellcheckSelection();
60 void spellcheck(
const KateTextCursor &from,
const KateTextCursor &to=KateTextCursor() );
63 void misspelling(
const TQString&,
const TQStringList&,
unsigned int );
64 void corrected (
const TQString&,
const TQString&,
unsigned int);
65 void spellResult(
const TQString& );
66 void spellCleanDone();
68 void locatePosition( uint pos, uint& line, uint& col );
72 TDEAction *m_spellcheckSelection;
77 KateTextCursor m_spellStart, m_spellEnd;
80 KateTextCursor m_spellPosCursor;