From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kspell.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kdeui/kspell.h') diff --git a/kdeui/kspell.h b/kdeui/kspell.h index 4160bbdeb..29ff7faf7 100644 --- a/kdeui/kspell.h +++ b/kdeui/kspell.h @@ -43,7 +43,7 @@ class KSpellDlg; * @see KSpellConfig, KSyntaxHighlighter */ -class KDEUI_EXPORT KSpell : public TQObject +class KDEUI_EXPORT KSpell : public QObject { Q_OBJECT @@ -62,7 +62,7 @@ public: * @li @p Error - An error occurred in the @p Starting state. * @li @p Crashed - An error occurred in the @p Running state. **/ - enum spelltqStatus { Starting = 0, Running, Cleaning, Finished, Error, Crashed, FinishedNoMisspellingsEncountered }; + enum spellStatus { Starting = 0, Running, Cleaning, Finished, Error, Crashed, FinishedNoMisspellingsEncountered }; /** * These are possible types of documents which the spell checker can check. @@ -125,9 +125,9 @@ public: /** * Returns the status of KSpell. * - * @see spelltqStatus() + * @see spellStatus() */ - spelltqStatus status() const { return m_status; } + spellStatus status() const { return m_status; } /** * Cleans up ISpell. @@ -191,15 +191,15 @@ public: * spellcheck as-you-type). * * checkWord() returns @p false if @p buffer is not a single word (e.g. - * if it tqcontains white space), otherwise it returns @p true; + * if it contains white space), otherwise it returns @p true; * * If @p usedialog is set to @p true, KSpell will open the standard * dialog if the word is not found. The dialog results can be queried - * by using dlgResult() and tqreplacement(). + * by using dlgResult() and replacement(). * * The signal corrected() is emitted when the check is * complete. You can look at suggestions() to see what the - * suggested tqreplacements were. + * suggested replacements were. */ virtual bool checkWord (const TQString &_buffer, bool usedialog = false); bool checkWord( const TQString & buffer, bool _usedialog, bool suggest ); @@ -212,7 +212,7 @@ public: void hide (); /** - * Returns list of suggested word tqreplacements. + * Returns list of suggested word replacements. * * After calling checkWord() (an in response to * a misspelled() signal you can @@ -364,11 +364,11 @@ signals: * "Replace All" for this word). * * Results from the dialog may be checked with dlgResult() - * and tqreplacement(). + * and replacement(). * * Note, that when using checkList() this signal can occur * more then once with same list position, when checking a word with - * hyphens. In this case @p originalword is the last tqreplacement. + * hyphens. In this case @p originalword is the last replacement. * * @see check() */ @@ -400,7 +400,7 @@ signals: /** * Emitted when the user pressed "ReplaceAll" in the dialog. */ - void tqreplaceall( const TQString & origword , const TQString &tqreplacement ); + void replaceall( const TQString & origword , const TQString &replacement ); /** * Emitted after KSpell has verified that ISpell/ASpell is running @@ -499,11 +499,11 @@ protected: TQStringList *wordlist; TQStringList::Iterator wlIt; TQStringList ignorelist; - TQStringList tqreplacelist; + TQStringList replacelist; TQStringList sugg; TQTextCodec* codec; - spelltqStatus m_status; + spellStatus m_status; bool usedialog; bool texmode; @@ -520,7 +520,7 @@ protected: TQString newbuffer; TQString cwword; TQString dlgorigword; - TQString dlgtqreplacement; + TQString dlgreplacement; TQString dialog3slot; int dlgresult; @@ -546,8 +546,8 @@ protected: int parseOneResponse (const TQString &_buffer, TQString &word, TQStringList &sugg); TQString funnyWord (const TQString & word); void dialog (const TQString & word, TQStringList & sugg, const char* _slot); - TQString tqreplacement () const - { return dlgtqreplacement; } + TQString replacement () const + { return dlgreplacement; } void setUpDialog ( bool reallyusedialogbox = true); -- cgit v1.2.1