summaryrefslogtreecommitdiffstats
path: root/kspell2/tests/test.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kspell2/tests/test.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspell2/tests/test.cpp')
-rw-r--r--kspell2/tests/test.cpp10
1 files changed, 5 insertions, 5 deletions
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 <kapplication.h>
#include <kdebug.h>
-#include <qdatetime.h>
+#include <tqdatetime.h>
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"<<endl;
- QStringList sug = dict->suggest( *itr );
+ TQStringList sug = dict->suggest( *itr );
//kdDebug()<<"Suggestions : "<<sug<<endl;
}
}