summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindow_qtextbrowser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:12 -0600
commit60da1801389e3c729d440a353003acca39a7c3b6 (patch)
tree18240da7b279e174dadb615b3a32ea05cc0f74cc /src/kchmviewwindow_qtextbrowser.cpp
parentf35af5996cb6b2875a9fb4f4789b44f21eec5d18 (diff)
downloadkchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.tar.gz
kchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kchmviewwindow_qtextbrowser.cpp')
-rw-r--r--src/kchmviewwindow_qtextbrowser.cpp10
1 files changed, 5 insertions, 5 deletions
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();