From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kspell2/tests/test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kspell2/tests/test.cpp') diff --git a/kspell2/tests/test.cpp b/kspell2/tests/test.cpp index 15425527d..e9b72a794 100644 --- a/kspell2/tests/test.cpp +++ b/kspell2/tests/test.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include using namespace KSpell2; @@ -39,7 +39,7 @@ int main( int argc, char** argv ) Dictionary *dict = broker->dictionary( "en_US" ); - QStringList words; + TQStringList words; words << "hello" << "helo" << "enviroment" << "guvernment" << "farted" << "hello" << "helo" << "enviroment" << "guvernment" << "farted" @@ -82,12 +82,12 @@ int main( int argc, char** argv ) << "hello" << "helo" << "enviroment" << "guvernment" << "farted" << "hello" << "helo" << "enviroment" << "guvernment" << "farted"; - QTime mtime; + TQTime mtime; mtime.start(); - for ( QStringList::Iterator itr = words.begin(); itr != words.end(); ++itr ) { + for ( TQStringList::Iterator itr = words.begin(); itr != words.end(); ++itr ) { if ( dict && !dict->check( *itr ) ) { //kdDebug()<<"Word " << *itr <<" is misspelled"<suggest( *itr ); + TQStringList sug = dict->suggest( *itr ); //kdDebug()<<"Suggestions : "<