diff options
Diffstat (limited to 'katapult/plugins/catalogs/spellcatalog/spelling.h')
-rw-r--r-- | katapult/plugins/catalogs/spellcatalog/spelling.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/katapult/plugins/catalogs/spellcatalog/spelling.h b/katapult/plugins/catalogs/spellcatalog/spelling.h index ea4b846..1f8dc97 100644 --- a/katapult/plugins/catalogs/spellcatalog/spelling.h +++ b/katapult/plugins/catalogs/spellcatalog/spelling.h @@ -35,15 +35,16 @@ class SpellCatalog; class Spelling : public KatapultItem { Q_OBJECT + TQ_OBJECT public: - Spelling(SpellCatalog*, const QString&); + Spelling(SpellCatalog*, const TQString&); ~Spelling(); - virtual QPixmap icon(int) const; - virtual QString text() const; + virtual TQPixmap icon(int) const; + virtual TQString text() const; - void setText(const QString&); - QString result() const; + void setText(const TQString&); + TQString result() const; bool parseError() const; //evaluate() must be const, or ActionEvaluateSpelling::execute() can't call it. @@ -57,18 +58,18 @@ class Spelling : public KatapultItem private: SpellCatalog* const _catalog; - QString _text; - mutable QString _result; + TQString _text; + mutable TQString _result; mutable bool _parseError; KSpell* spellChecker; mutable bool misspelt; mutable bool corrected; - QString suggestedWords; + TQString suggestedWords; protected slots: void spellCheckerReady(); - void spellCheckerCorrected(const QString& originalword, const QString& newword, unsigned int pos); - void spellCheckerMisspelling(const QString& originalword, const QStringList& suggestions, unsigned int pos); + void spellCheckerCorrected(const TQString& originalword, const TQString& newword, unsigned int pos); + void spellCheckerMisspelling(const TQString& originalword, const TQStringList& suggestions, unsigned int pos); }; #endif |