From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:24:30 -0600 Subject: Rename additional global TQt functions --- src/kernel/qrichtext_p.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kernel/qrichtext_p.cpp') diff --git a/src/kernel/qrichtext_p.cpp b/src/kernel/qrichtext_p.cpp index cf79a51..f71cc39 100644 --- a/src/kernel/qrichtext_p.cpp +++ b/src/kernel/qrichtext_p.cpp @@ -151,7 +151,7 @@ void QTextCursor::gotoPosition( QTextParagraph* p, int index ) para = p; if ( index < 0 || index >= para->length() ) { #if defined(QT_CHECK_RANGE) - qWarning( "QTextCursor::gotoParagraph Index: %d out of range", index ); + tqWarning( "QTextCursor::gotoParagraph Index: %d out of range", index ); #endif if ( index < 0 || para->length() == 0 ) index = 0; @@ -506,7 +506,7 @@ bool QTextParagraph::fullSelected( int id ) const int QTextParagraph::lineY( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "QTextParagraph::lineY: line %d out of range!", l ); + tqWarning( "QTextParagraph::lineY: line %d out of range!", l ); return 0; } @@ -522,7 +522,7 @@ int QTextParagraph::lineY( int l ) const int QTextParagraph::lineBaseLine( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "QTextParagraph::lineBaseLine: line %d out of range!", l ); + tqWarning( "QTextParagraph::lineBaseLine: line %d out of range!", l ); return 10; } @@ -538,7 +538,7 @@ int QTextParagraph::lineBaseLine( int l ) const int QTextParagraph::lineHeight( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "QTextParagraph::lineHeight: line %d out of range!", l ); + tqWarning( "QTextParagraph::lineHeight: line %d out of range!", l ); return 15; } @@ -554,8 +554,8 @@ int QTextParagraph::lineHeight( int l ) const void QTextParagraph::lineInfo( int l, int &y, int &h, int &bl ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "QTextParagraph::lineInfo: line %d out of range!", l ); - qDebug( "%d %d", (int)lineStarts.count() - 1, l ); + tqWarning( "QTextParagraph::lineInfo: line %d out of range!", l ); + tqDebug( "%d %d", (int)lineStarts.count() - 1, l ); y = 0; h = 15; bl = 10; -- cgit v1.2.3