From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/tests/kurlcompletiontest.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kio/tests/kurlcompletiontest.cpp') diff --git a/kio/tests/kurlcompletiontest.cpp b/kio/tests/kurlcompletiontest.cpp index 612dab558..f5113f05b 100644 --- a/kio/tests/kurlcompletiontest.cpp +++ b/kio/tests/kurlcompletiontest.cpp @@ -96,9 +96,9 @@ void KURLCompletionTest::testLocalRelativePath() waitForCompletion(); TQStringList comp1all = m_completion->allMatches(); assert( comp1all.count() == 2 ); - assert( comp1all.find( "file1" ) != comp1all.end() ); - assert( comp1all.find( "file#a" ) != comp1all.end() ); - TQString comp1 = m_completion->replacedPath( "file1" ); // like KURLRequester does + assert( comp1all.tqfind( "file1" ) != comp1all.end() ); + assert( comp1all.tqfind( "file#a" ) != comp1all.end() ); + TQString comp1 = m_completion->tqreplacedPath( "file1" ); // like KURLRequester does assert( comp1 == "file1" ); // Completion from relative path @@ -109,7 +109,7 @@ void KURLCompletionTest::testLocalRelativePath() kdDebug() << compall << endl; assert( compall.count() == 1 ); assert( compall.first() == "file#a" ); - TQString comp2 = m_completion->replacedPath( compall.first() ); // like KURLRequester does + TQString comp2 = m_completion->tqreplacedPath( compall.first() ); // like KURLRequester does assert( comp2 == "file#a" ); } @@ -124,7 +124,7 @@ void KURLCompletionTest::testLocalAbsolutePath() assert( compall.count() == 1 ); TQString comp = compall.first(); assert( comp == m_dir + "file#a" ); - comp = m_completion->replacedPath( comp ); // like KURLRequester does + comp = m_completion->tqreplacedPath( comp ); // like KURLRequester does assert( comp == m_dir + "file#a" ); } @@ -138,10 +138,10 @@ void KURLCompletionTest::testLocalURL() TQStringList comp1all = m_completion->allMatches(); kdDebug() << comp1all << endl; assert( comp1all.count() == 2 ); - assert( comp1all.find( m_dirURL.url() + "file1" ) != comp1all.end() ); + assert( comp1all.tqfind( m_dirURL.url() + "file1" ) != comp1all.end() ); TQString filehash = m_dirURL.url() + "file%23a"; - assert( comp1all.find( filehash ) != comp1all.end() ); - TQString filehashPath = m_completion->replacedPath( filehash ); // note that it returns a path!! + assert( comp1all.tqfind( filehash ) != comp1all.end() ); + TQString filehashPath = m_completion->tqreplacedPath( filehash ); // note that it returns a path!! kdDebug() << filehashPath << endl; assert( filehashPath == m_dirURL.path() + "file#a" ); -- cgit v1.2.1