diff options
Diffstat (limited to 'src/kchmviewwindow_qtextbrowser.cpp')
-rw-r--r-- | src/kchmviewwindow_qtextbrowser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kchmviewwindow_qtextbrowser.cpp b/src/kchmviewwindow_qtextbrowser.cpp index dea8626..f66dc88 100644 --- a/src/kchmviewwindow_qtextbrowser.cpp +++ b/src/kchmviewwindow_qtextbrowser.cpp @@ -44,7 +44,7 @@ KCHMViewWindow_QTextBrowser::KCHMViewWindow_QTextBrowser( TQTabWidget * parent ) { m_zoomfactor = 0; m_sourcefactory = 0; - invalidate(); + tqinvalidate(); setTextFormat ( TQt::RichText ); connect( this, TQT_SIGNAL( linkClicked (const TQString &) ), this, TQT_SLOT( slotLinkClicked(const TQString &) ) ); @@ -93,7 +93,7 @@ void KCHMViewWindow_QTextBrowser::setZoomFactor( int zoom ) TQTextBrowser::zoomIn( zoom); } -void KCHMViewWindow_QTextBrowser::invalidate( ) +void KCHMViewWindow_QTextBrowser::tqinvalidate( ) { delete m_sourcefactory; m_sourcefactory = new KCHMSourceFactory (this); @@ -105,7 +105,7 @@ void KCHMViewWindow_QTextBrowser::invalidate( ) m_searchText = TQString(); reload(); - KCHMViewWindow::invalidate( ); + KCHMViewWindow::tqinvalidate( ); } int KCHMViewWindow_QTextBrowser::getScrollbarPosition( ) @@ -159,7 +159,7 @@ bool KCHMViewWindow_QTextBrowser::printCurrentPage( ) do { - richText.draw( &p, body.left(), body.top(), view, colorGroup() ); + richText.draw( &p, body.left(), body.top(), view, tqcolorGroup() ); view.moveBy( 0, body.height() ); p.translate( 0 , -body.height() ); p.drawText( view.right() - p.fontMetrics().width( TQString::number(page) ), @@ -168,7 +168,7 @@ bool KCHMViewWindow_QTextBrowser::printCurrentPage( ) if ( view.top() >= richText.height() ) break; - TQString msg = i18n( "Printing (page %1)...") .arg(page); + TQString msg = i18n( "Printing (page %1)...") .tqarg(page); ::mainWindow->showInStatusBar( msg ); printer.newPage(); |