diff options
Diffstat (limited to 'src/kernel/qrichtext_p.cpp')
-rw-r--r-- | src/kernel/qrichtext_p.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qrichtext_p.cpp b/src/kernel/qrichtext_p.cpp index f426fcead..7e55b6038 100644 --- a/src/kernel/qrichtext_p.cpp +++ b/src/kernel/qrichtext_p.cpp @@ -151,7 +151,7 @@ void TQTextCursor::gotoPosition( TQTextParagraph* p, int index ) para = p; if ( index < 0 || index >= para->length() ) { #if defined(QT_CHECK_RANGE) - qWarning( "TQTextCursor::gotoParagraph Index: %d out of range", index ); + tqWarning( "TQTextCursor::gotoParagraph Index: %d out of range", index ); #endif if ( index < 0 || para->length() == 0 ) index = 0; @@ -506,7 +506,7 @@ bool TQTextParagraph::fullSelected( int id ) const int TQTextParagraph::lineY( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "TQTextParagraph::lineY: line %d out of range!", l ); + tqWarning( "TQTextParagraph::lineY: line %d out of range!", l ); return 0; } @@ -522,7 +522,7 @@ int TQTextParagraph::lineY( int l ) const int TQTextParagraph::lineBaseLine( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "TQTextParagraph::lineBaseLine: line %d out of range!", l ); + tqWarning( "TQTextParagraph::lineBaseLine: line %d out of range!", l ); return 10; } @@ -538,7 +538,7 @@ int TQTextParagraph::lineBaseLine( int l ) const int TQTextParagraph::lineHeight( int l ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "TQTextParagraph::lineHeight: line %d out of range!", l ); + tqWarning( "TQTextParagraph::lineHeight: line %d out of range!", l ); return 15; } @@ -554,8 +554,8 @@ int TQTextParagraph::lineHeight( int l ) const void TQTextParagraph::lineInfo( int l, int &y, int &h, int &bl ) const { if ( l > (int)lineStarts.count() - 1 ) { - qWarning( "TQTextParagraph::lineInfo: line %d out of range!", l ); - qDebug( "%d %d", (int)lineStarts.count() - 1, l ); + tqWarning( "TQTextParagraph::lineInfo: line %d out of range!", l ); + tqDebug( "%d %d", (int)lineStarts.count() - 1, l ); y = 0; h = 15; bl = 10; |