summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindow_qtextbrowser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:36:15 -0600
committerSlávek Banko <[email protected]>2012-06-23 02:38:43 +0200
commit6c8fbb5199ea86a9ef727aa258e730006b3876b6 (patch)
tree7a0a68179bc042ece6254e0e215a96265285597d /src/kchmviewwindow_qtextbrowser.cpp
parentafdc76e8bceaafffeea4d3434885910ce9524334 (diff)
downloadkchmviewer-6c8fbb5199ea86a9ef727aa258e730006b3876b6.tar.gz
kchmviewer-6c8fbb5199ea86a9ef727aa258e730006b3876b6.zip
Remove additional unneeded tq method conversions
(cherry picked from commit bd1f039636efbb681d138bbee07600633625bdb9)
Diffstat (limited to 'src/kchmviewwindow_qtextbrowser.cpp')
-rw-r--r--src/kchmviewwindow_qtextbrowser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kchmviewwindow_qtextbrowser.cpp b/src/kchmviewwindow_qtextbrowser.cpp
index bd9aa33..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( )
@@ -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();