summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/tests
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:21:06 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /lib/kofficecore/tests
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'lib/kofficecore/tests')
-rw-r--r--lib/kofficecore/tests/kodomtest.cpp8
-rw-r--r--lib/kofficecore/tests/kooasissettingstest.cpp2
2 files changed, 5 insertions, 5 deletions
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;
}