KDE3Support
Go to the documentation of this file.
24 #include <QtCore/QObject>
25 #include <QtCore/QStringList>
26 #include <QtCore/QString>
65 enum spellStatus { Starting = 0, Running, Cleaning, Finished,
Error, Crashed, FinishedNoMisspellingsEncountered };
101 bool progressbar =
true,
bool modal =
false);
123 bool progressbar,
bool modal, SpellerType type);
130 spellStatus status()
const;
139 virtual void cleanUp ();
145 void setAutoDelete(
bool _autoDelete);
160 virtual bool check (
const QString &_buffer,
bool usedialog =
true);
167 int lastPosition()
const;
179 virtual bool checkList (
QStringList *_wordlist,
bool usedialog =
true);
203 virtual bool checkWord (
const QString &_buffer,
bool usedialog =
false);
204 bool checkWord(
const QString & buffer,
bool _usedialog,
bool suggest );
239 int dlgResult ()
const;
249 void moveDlg (
int x,
int y);
254 int heightDlg ()
const;
258 int widthDlg ()
const;
265 QString intermediateBuffer ()
const;
273 virtual bool ignore (
const QString & word);
281 virtual bool addPersonal (
const QString & word);
295 void setProgressResolution (
unsigned int res);
311 static KDE_DEPRECATED
int modalCheck(
QString& text );
327 void setIgnoreUpperWords(
bool b);
334 void setIgnoreTitleCase(
bool b);
373 void corrected (
const QString & originalword,
const QString & newword,
unsigned int pos);
381 void ignoreall (
const QString & originalword);
388 void ignoreword (
const QString & originalword);
396 void addword (
const QString & originalword);
401 void replaceall(
const QString & origword ,
const QString &replacement );
413 void progress (
unsigned int i);
423 void done (
const QString &buffer);
455 void checkListReplaceCurrent ();
457 void dialog2 (
int dlgresult);
461 void slotStopCancel (
int);
464 void ispellErrors ();
471 void slotModalReady();
476 void slotModalDone(
const QString & );
481 void slotSpellCheckerCorrected(
const QString & oldText,
const QString & newText,
unsigned int );
486 void slotModalSpellCheckerFinished( );
548 void setUpDialog (
bool reallyusedialogbox =
true);
550 void emitProgress ();
551 bool cleanFputs (
const QString & s );
552 bool cleanFputsWord (
const QString & s );
554 bool writePersonalDictionary();
557 bool _progressbar,
bool _modal,
SpellerType type );
560 class K3SpellPrivate;
unsigned int lastlastline
static QWidget * modalWidgetHack
A configuration class/dialog for K3Spell.
bool modaldlg
Used for modalCheck.
QStringList::Iterator wlIt
spellStatus
Possible states of the spell checker.
SpellerType
These are possible types of documents which the spell checker can check.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.