summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/kformula/formulacursor.cc2
-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
-rw-r--r--lib/kotext/tests/kovariabletest.cpp8
-rw-r--r--lib/store/tests/storedroptest.cpp2
-rw-r--r--lib/store/tests/xmlwritertest.cpp2
-rw-r--r--lib/store/tests/xmlwritertest.h10
9 files changed, 19 insertions, 19 deletions
diff --git a/lib/kformula/formulacursor.cc b/lib/kformula/formulacursor.cc
index 2257d262..53d02b1f 100644
--- a/lib/kformula/formulacursor.cc
+++ b/lib/kformula/formulacursor.cc
@@ -650,7 +650,7 @@ void FormulaCursor::copy( TQDomDocument& doc )
}
else {
// This must never happen.
- qFatal("A not normalized cursor is selecting.");
+ tqFatal("A not normalized cursor is selecting.");
}
}
}
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;
}
diff --git a/lib/kotext/tests/kovariabletest.cpp b/lib/kotext/tests/kovariabletest.cpp
index 6d040350..aae070ff 100644
--- a/lib/kotext/tests/kovariabletest.cpp
+++ b/lib/kotext/tests/kovariabletest.cpp
@@ -26,7 +26,7 @@ void testMinutes()
int minutes = 145;
TQString str = minutesToISODuration( minutes );
int result = ISODurationToMinutes( str );
- qDebug( "%d minutes -> %s -> %d", minutes, str.latin1(), result );
+ tqDebug( "%d minutes -> %s -> %d", minutes, str.latin1(), result );
assert( result == minutes );
}
@@ -35,7 +35,7 @@ void testNegativeMinutes()
int minutes = -15;
TQString str = minutesToISODuration( minutes );
int result = ISODurationToMinutes( str );
- qDebug( "%d minutes -> %s -> %d", minutes, str.latin1(), result );
+ tqDebug( "%d minutes -> %s -> %d", minutes, str.latin1(), result );
assert( result == minutes );
}
@@ -44,7 +44,7 @@ void testDays()
int days = 14;
TQString str = daysToISODuration( days );
int result = ISODurationToDays( str );
- qDebug( "%d days -> %s -> %d", days, str.latin1(), result );
+ tqDebug( "%d days -> %s -> %d", days, str.latin1(), result );
assert( result == days );
}
@@ -53,7 +53,7 @@ void testNegativeDays()
int days = -14;
TQString str = daysToISODuration( days );
int result = ISODurationToDays( str );
- qDebug( "%d days -> %s -> %d", days, str.latin1(), result );
+ tqDebug( "%d days -> %s -> %d", days, str.latin1(), result );
assert( result == days );
}
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( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\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*/ \
} \
}