diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kspell2/tests/backgroundtest.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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/backgroundtest.cpp')
-rw-r--r-- | kspell2/tests/backgroundtest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspell2/tests/backgroundtest.cpp b/kspell2/tests/backgroundtest.cpp index a0fb7c69b..db9ad9a69 100644 --- a/kspell2/tests/backgroundtest.cpp +++ b/kspell2/tests/backgroundtest.cpp @@ -131,13 +131,13 @@ Discussion\ If you want to talk about this code feel free to mail us."; BackgroundTest::BackgroundTest() - : QObject( 0 ) + : TQObject( 0 ) { m_checker = new BackgroundChecker( Broker::openBroker(), this ); - connect( m_checker, SIGNAL(done()), - SLOT(slotDone()) ); - connect( m_checker, SIGNAL(misspelling(const QString&, int)), - SLOT(slotMisspelling(const QString&, int)) ); + connect( m_checker, TQT_SIGNAL(done()), + TQT_SLOT(slotDone()) ); + connect( m_checker, TQT_SIGNAL(misspelling(const TQString&, int)), + TQT_SLOT(slotMisspelling(const TQString&, int)) ); m_len = strlen( text ); m_checker->checkText( text ); m_timer.start(); @@ -147,10 +147,10 @@ void BackgroundTest::slotDone() { kdDebug()<<"Text of length "<<m_len<<" checked in " << m_timer.elapsed() << " msec."<<endl; - QApplication::exit(); + TQApplication::exit(); } -void BackgroundTest::slotMisspelling( const QString& word, int start ) +void BackgroundTest::slotMisspelling( const TQString& word, int start ) { kdDebug()<<"Misspelling \""<< word << "\" at " << start << endl; m_checker->continueChecking(); |