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/kofficecore/tests/kodomtest.cpp | 8 ++++---- lib/kofficecore/tests/kooasissettingstest.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kofficecore/tests') diff --git a/lib/kofficecore/tests/kodomtest.cpp b/lib/kofficecore/tests/kodomtest.cpp index 14cae56e..f4f197a3 100644 --- a/lib/kofficecore/tests/kodomtest.cpp +++ b/lib/kofficecore/tests/kodomtest.cpp @@ -25,7 +25,7 @@ //static void debugElemNS( const TQDomElement& elem ) //{ -// qDebug( "nodeName=%s tagName=%s localName=%s prefix=%s namespaceURI=%s", elem.nodeName().latin1(), elem.tagName().latin1(), elem.localName().latin1(), elem.prefix().latin1(), elem.namespaceURI().latin1() ); +// tqDebug( "nodeName=%s tagName=%s localName=%s prefix=%s namespaceURI=%s", elem.nodeName().latin1(), elem.tagName().latin1(), elem.localName().latin1(), elem.prefix().latin1(), elem.namespaceURI().latin1() ); //} void testTQDom( const TQDomDocument& doc ) @@ -61,7 +61,7 @@ void testTQDom( const TQDomDocument& doc ) assert( e.namespaceURI() == KoXmlNS::text ); } - qDebug("testTQDom... ok"); + tqDebug("testTQDom... ok"); } void testKoDom( const TQDomDocument& doc ) @@ -100,10 +100,10 @@ void testKoDom( const TQDomDocument& doc ) // Attributes // ### TQt bug: it doesn't work if using style-name instead of text:style-name in the XML const TQString styleName = p.attributeNS( KoXmlNS::text, "style-name", TQString() ); - qDebug( "%s", styleName.latin1() ); + tqDebug( "%s", styleName.latin1() ); assert( styleName == "L1" ); - qDebug("testKoDom... ok"); + tqDebug("testKoDom... ok"); } int main( int argc, char** argv ) { diff --git a/lib/kofficecore/tests/kooasissettingstest.cpp b/lib/kofficecore/tests/kooasissettingstest.cpp index a60fbd86..4f637ff1 100644 --- a/lib/kofficecore/tests/kooasissettingstest.cpp +++ b/lib/kofficecore/tests/kooasissettingstest.cpp @@ -34,7 +34,7 @@ void testParseConfigItemString( KoOasisSettings& settings ) { KoOasisSettings::Items viewSettings = settings.itemSet( "view-settings" ); const TQString unit = viewSettings.parseConfigItemString( "unit" ); - qDebug( "%s", unit.latin1() ); + tqDebug( "%s", unit.latin1() ); assert( unit == "mm" ); kdDebug() << "testParseConfigItemString OK" << endl; } -- cgit v1.2.1