From 60da1801389e3c729d440a353003acca39a7c3b6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:30:12 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/kchmviewwindow_qtextbrowser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kchmviewwindow_qtextbrowser.cpp') diff --git a/src/kchmviewwindow_qtextbrowser.cpp b/src/kchmviewwindow_qtextbrowser.cpp index f66dc88..dea8626 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; - tqinvalidate(); + invalidate(); 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::tqinvalidate( ) +void KCHMViewWindow_QTextBrowser::invalidate( ) { delete m_sourcefactory; m_sourcefactory = new KCHMSourceFactory (this); @@ -105,7 +105,7 @@ void KCHMViewWindow_QTextBrowser::tqinvalidate( ) m_searchText = TQString(); reload(); - KCHMViewWindow::tqinvalidate( ); + KCHMViewWindow::invalidate( ); } int KCHMViewWindow_QTextBrowser::getScrollbarPosition( ) @@ -159,7 +159,7 @@ bool KCHMViewWindow_QTextBrowser::printCurrentPage( ) do { - richText.draw( &p, body.left(), body.top(), view, tqcolorGroup() ); + richText.draw( &p, body.left(), body.top(), view, colorGroup() ); 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)...") .tqarg(page); + TQString msg = i18n( "Printing (page %1)...") .arg(page); ::mainWindow->showInStatusBar( msg ); printer.newPage(); -- cgit v1.2.1