From 7d18baa666593a494ceea480732a8540ba471fe5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:21:06 -0600 Subject: Rename additional global TQt functions --- lib/store/tests/storedroptest.cpp | 2 +- lib/store/tests/xmlwritertest.cpp | 2 +- lib/store/tests/xmlwritertest.h | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/store/tests') diff --git a/lib/store/tests/storedroptest.cpp b/lib/store/tests/storedroptest.cpp index 7845a393..09e30826 100644 --- a/lib/store/tests/storedroptest.cpp +++ b/lib/store/tests/storedroptest.cpp @@ -64,7 +64,7 @@ void StoreDropTest::keyPressEvent( TQKeyEvent * e ) void StoreDropTest::paste() { - qDebug( "paste" ); + tqDebug( "paste" ); TQMimeSource* m = TQApplication::clipboard()->data(); if ( !m ) return; diff --git a/lib/store/tests/xmlwritertest.cpp b/lib/store/tests/xmlwritertest.cpp index e4280cec..d4fc14f4 100644 --- a/lib/store/tests/xmlwritertest.cpp +++ b/lib/store/tests/xmlwritertest.cpp @@ -31,7 +31,7 @@ void speedTest() writer.endDocument(); } out.close(); - qDebug( "writing %i XML elements using KoXmlWriter: %i ms", numParagraphs, time.elapsed() ); + tqDebug( "writing %i XML elements using KoXmlWriter: %i ms", numParagraphs, time.elapsed() ); } int main( int argc, char** argv ) { diff --git a/lib/store/tests/xmlwritertest.h b/lib/store/tests/xmlwritertest.h index 12011c03..eb6c6e44 100644 --- a/lib/store/tests/xmlwritertest.h +++ b/lib/store/tests/xmlwritertest.h @@ -27,17 +27,17 @@ TQCString expectedFull( "\n" ); \ expectedFull += expected; \ if ( cstr == expectedFull ) \ - qDebug( "%s OK", testname ); \ + tqDebug( "%s OK", testname ); \ else { \ - qDebug( "%s FAILED!", testname ); \ + tqDebug( "%s FAILED!", testname ); \ TQCString s1 = cstr; \ TQCString s2 = expectedFull; \ if ( s1.length() != s2.length() ) \ - qDebug( "got length %d, expected %d", s1.length(), s2.length() ); \ + tqDebug( "got length %d, expected %d", s1.length(), s2.length() ); \ s1.replace( TQRegExp( TQString::fromLatin1( "[x]{1000}" ) ), "[x]*1000" ); \ s2.replace( TQRegExp( TQString::fromLatin1( "[x]{1000}" ) ), "[x]*1000" ); \ - qDebug( "%s", s1.data() ); \ - qDebug( "Expected:\n%s", s2.data() ); \ + tqDebug( "%s", s1.data() ); \ + tqDebug( "Expected:\n%s", s2.data() ); \ return 1; /*exit*/ \ } \ } -- cgit v1.2.1