diff options
Diffstat (limited to 'knights/knightstextview.cpp')
-rw-r--r-- | knights/knightstextview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/knights/knightstextview.cpp b/knights/knightstextview.cpp index dba45c7..c6b9669 100644 --- a/knights/knightstextview.cpp +++ b/knights/knightstextview.cpp @@ -207,7 +207,7 @@ void KnightsTextView::print( void ) { /* Print the Contents */ paint.setClipRect( body ); - simpText.draw( &paint, body.left(), body.top(), view, tqcolorGroup() ); + simpText.draw( &paint, body.left(), body.top(), view, colorGroup() ); paint.setClipping( false ); view.moveBy( 0, body.height() ); paint.translate( 0, -body.height() ); @@ -215,7 +215,7 @@ void KnightsTextView::print( void ) /* Print the Page Number */ paint.setFont( myResource->FONT_Standard ); paint.setPen( myResource->COLOR_Black ); - TQString pageCount = i18n( "Page %1 of %2" ).tqarg( currentPage ).tqarg( totalPages ); + TQString pageCount = i18n( "Page %1 of %2" ).arg( currentPage ).arg( totalPages ); paint.drawText( view.width() - paint.fontMetrics().width( pageCount ), view.bottom() + paint.fontMetrics().ascent() + 5, pageCount ); if( view.top() >= simpText.height() ) |