From 13281e2856a2ef43bbab78c5528470309c23aa77 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:48:49 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kspell2/broker.cpp | 4 ++-- kspell2/plugins/aspell/kspell_aspelldict.cpp | 2 +- kspell2/plugins/hspell/kspell_hspelldict.cpp | 2 +- kspell2/plugins/ispell/ispell_checker.h | 4 ++-- kspell2/plugins/ispell/makedent.cpp | 2 +- kspell2/tests/test_highlighter.cpp | 2 +- kspell2/ui/configwidget.cpp | 2 +- kspell2/ui/highlighter.cpp | 2 +- kspell2/ui/kspell2ui.ui | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kspell2') diff --git a/kspell2/broker.cpp b/kspell2/broker.cpp index 0149dace1..7f572bb01 100644 --- a/kspell2/broker.cpp +++ b/kspell2/broker.cpp @@ -189,8 +189,8 @@ void Broker::loadPlugin( const TQString& pluginId ) kdDebug()<<"Loading plugin " << pluginId << endl; Client *client = KParts::ComponentFactory::createInstanceFromQuery( - TQString::tqfromLatin1( "KSpell/Client" ), - TQString::tqfromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginId ), + TQString::fromLatin1( "KSpell/Client" ), + TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginId ), this, 0, TQStringList(), &error ); if ( client ) diff --git a/kspell2/plugins/aspell/kspell_aspelldict.cpp b/kspell2/plugins/aspell/kspell_aspelldict.cpp index 6687f2106..b829e9bf4 100644 --- a/kspell2/plugins/aspell/kspell_aspelldict.cpp +++ b/kspell2/plugins/aspell/kspell_aspelldict.cpp @@ -22,7 +22,7 @@ #include -#include +#include using namespace KSpell2; diff --git a/kspell2/plugins/hspell/kspell_hspelldict.cpp b/kspell2/plugins/hspell/kspell_hspelldict.cpp index 04f055e86..5ece8811c 100644 --- a/kspell2/plugins/hspell/kspell_hspelldict.cpp +++ b/kspell2/plugins/hspell/kspell_hspelldict.cpp @@ -23,7 +23,7 @@ #include "kspell_hspelldict.h" #include -#include +#include using namespace KSpell2; diff --git a/kspell2/plugins/ispell/ispell_checker.h b/kspell2/plugins/ispell/ispell_checker.h index df72fe7b4..00c6d0268 100644 --- a/kspell2/plugins/ispell/ispell_checker.h +++ b/kspell2/plugins/ispell/ispell_checker.h @@ -36,7 +36,7 @@ #include #include -#include +#include #include @@ -112,7 +112,7 @@ private: /* HACK: macros replaced with function implementations - so we could do a side-effect-free check for tqunicode + so we could do a side-effect-free check for unicode characters which aren't in hashheader */ char myupper(ichar_t c); diff --git a/kspell2/plugins/ispell/makedent.cpp b/kspell2/plugins/ispell/makedent.cpp index 0aeba8a1c..9c168dc17 100644 --- a/kspell2/plugins/ispell/makedent.cpp +++ b/kspell2/plugins/ispell/makedent.cpp @@ -903,7 +903,7 @@ ISpellChecker::findfiletype (const char *name, int searchnames, int *deformatter /* HACK: macros replaced with function implementations - so we could do a side-effect-free check for tqunicode + so we could do a side-effect-free check for unicode characters which aren't in hashheader TODO: this is just a workaround to keep us from crashing. diff --git a/kspell2/tests/test_highlighter.cpp b/kspell2/tests/test_highlighter.cpp index ce5c64501..d49834a0e 100644 --- a/kspell2/tests/test_highlighter.cpp +++ b/kspell2/tests/test_highlighter.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include int main( int argc, char** argv ) { diff --git a/kspell2/ui/configwidget.cpp b/kspell2/ui/configwidget.cpp index 6d98955ae..c9cce08a3 100644 --- a/kspell2/ui/configwidget.cpp +++ b/kspell2/ui/configwidget.cpp @@ -29,7 +29,7 @@ #include #include -#include +#include using namespace KSpell2; diff --git a/kspell2/ui/highlighter.cpp b/kspell2/ui/highlighter.cpp index 2d185462d..231e8be1e 100644 --- a/kspell2/ui/highlighter.cpp +++ b/kspell2/ui/highlighter.cpp @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include diff --git a/kspell2/ui/kspell2ui.ui b/kspell2/ui/kspell2ui.ui index c196c3807..e221c69ba 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 -- cgit v1.2.1