diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:02 -0600 |
commit | 71061104fa6242b2e0bf08b0920e08ee2f2924c5 (patch) | |
tree | 4e74a78c2e35494cf94c30414d14e884f557320f /src/kchmviewwindow_qtextbrowser.cpp | |
parent | 60da1801389e3c729d440a353003acca39a7c3b6 (diff) | |
download | kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.tar.gz kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 60da1801389e3c729d440a353003acca39a7c3b6.
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(); |