From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kspell2/ui/configwidget.h | 2 +- kspell2/ui/highlighter.cpp | 2 +- kspell2/ui/highlighter.h | 2 +- kspell2/ui/kspell2ui.ui | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kspell2/ui') diff --git a/kspell2/ui/configwidget.h b/kspell2/ui/configwidget.h index ed49ca20e..e51be6b89 100644 --- a/kspell2/ui/configwidget.h +++ b/kspell2/ui/configwidget.h @@ -27,7 +27,7 @@ namespace KSpell2 { class Broker; - class KDE_EXPORT ConfigWidget : public QWidget + class KDE_EXPORT ConfigWidget : public TQWidget { Q_OBJECT public: diff --git a/kspell2/ui/highlighter.cpp b/kspell2/ui/highlighter.cpp index 2d185462d..a3c33d7ae 100644 --- a/kspell2/ui/highlighter.cpp +++ b/kspell2/ui/highlighter.cpp @@ -110,7 +110,7 @@ TQString Highlighter::currentLanguage() const void Highlighter::setCurrentLanguage( const TQString& lang ) { - if ( !d->dictCache.find( lang ) ) { + if ( !d->dictCache.tqfind( lang ) ) { Dictionary *dict = d->broker->dictionary( lang ); if ( dict ) { d->dictCache.insert( lang, dict ); diff --git a/kspell2/ui/highlighter.h b/kspell2/ui/highlighter.h index 543bbe01f..2309c3a64 100644 --- a/kspell2/ui/highlighter.h +++ b/kspell2/ui/highlighter.h @@ -29,7 +29,7 @@ class TQTextEdit; namespace KSpell2 { - class Highlighter : public QSyntaxHighlighter + class Highlighter : public TQSyntaxHighlighter { public: Highlighter( TQTextEdit *textEdit, diff --git a/kspell2/ui/kspell2ui.ui b/kspell2/ui/kspell2ui.ui index b8870f2f5..b8a5d662b 100644 --- a/kspell2/ui/kspell2ui.ui +++ b/kspell2/ui/kspell2ui.ui @@ -20,7 +20,7 @@ 0 - + 430 300 @@ -87,7 +87,7 @@ ... the <b>misspelled</b> word shown in context ... - + WordBreak|AlignCenter @@ -123,7 +123,7 @@ Click here if you consider that the unknown word is not misspelled and you want Expanding - + 74 20 @@ -204,7 +204,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt> - + layout1 @@ -298,7 +298,7 @@ Click here if you consider that the unknown word is not misspelled and you want Expanding - + 20 20 -- cgit v1.2.1