diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kunittest/example/simple | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kunittest/example/simple')
-rw-r--r-- | kunittest/example/simple/sampletest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kunittest/example/simple/sampletest.cpp b/kunittest/example/simple/sampletest.cpp index 32d97703..846d514f 100644 --- a/kunittest/example/simple/sampletest.cpp +++ b/kunittest/example/simple/sampletest.cpp @@ -23,7 +23,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <qstringlist.h> +#include <tqstringlist.h> #include <kdebug.h> #include <kunittest/runner.h> @@ -39,7 +39,7 @@ KUNITTEST_REGISTER_TESTER(SomeSampleTester); void SimpleSampleTester::allTests() { kdDebug() << "Debug output belonging to SimpleSampleTester." << endl; - CHECK( QString("SimpleSample") , QString("SimpleSample") ); + CHECK( TQString("SimpleSample") , TQString("SimpleSample") ); SKIP("Just curious how this 'skipping' works."); } @@ -49,7 +49,7 @@ void SomeSampleTester::allTests() kdDebug() << "Checking operator precedences." << endl; CHECK( 2.0 * 3.0 / 2.0 * 4.0 / 2.0 , 6.0 ); - QStringList testList; + TQStringList testList; testList << "one" << "two"; - CHECK( testList.count() , (QStringList::size_type) 2 ); + CHECK( testList.count() , (TQStringList::size_type) 2 ); } |