summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore')
-rw-r--r--lib/kofficecore/KoSize.h2
-rw-r--r--lib/kofficecore/KoXmlReader.cpp2
-rw-r--r--lib/kofficecore/tests/kodomtest.cpp8
-rw-r--r--lib/kofficecore/tests/kooasissettingstest.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficecore/KoSize.h b/lib/kofficecore/KoSize.h
index 6f8aa253..04fce9c3 100644
--- a/lib/kofficecore/KoSize.h
+++ b/lib/kofficecore/KoSize.h
@@ -84,7 +84,7 @@ private:
static void warningDivByZero()
{
#if defined(TQT_CHECK_MATH)
- qWarning( "KoSize: Division by zero error" );
+ tqWarning( "KoSize: Division by zero error" );
#endif
}
diff --git a/lib/kofficecore/KoXmlReader.cpp b/lib/kofficecore/KoXmlReader.cpp
index 16a08f0c..2b976c13 100644
--- a/lib/kofficecore/KoXmlReader.cpp
+++ b/lib/kofficecore/KoXmlReader.cpp
@@ -554,7 +554,7 @@ void KoXmlNodeData::loadChildren( int depth )
// parsing error has occurred, which should not happen
// nothing we can do except...
loaded = false;
- qWarning( "On-demand loading triggers parse error!" );
+ tqWarning( "On-demand loading triggers parse error!" );
}
else
loaded = true;
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;
}