summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:27 -0600
commitc9d6a7478114a66f06bfdde4ad9164cce03e4149 (patch)
treeb2c9457c4b3312a5da97519654ac0e202067d019 /src/kchmviewwindow.cpp
parent71061104fa6242b2e0bf08b0920e08ee2f2924c5 (diff)
downloadkchmviewer-c9d6a7478114a66f06bfdde4ad9164cce03e4149.tar.gz
kchmviewer-c9d6a7478114a66f06bfdde4ad9164cce03e4149.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r--src/kchmviewwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp
index fc77d3e..118e4b6 100644
--- a/src/kchmviewwindow.cpp
+++ b/src/kchmviewwindow.cpp
@@ -132,11 +132,11 @@ bool KCHMViewWindow::openUrl ( const TQString& origurl )
void KCHMViewWindow::handleStartPageAsImage( TQString & link )
{
// Handle pics
- if ( link.tqendsWith( ".jpg", false )
- || link.tqendsWith( ".jpeg", false )
- || link.tqendsWith( ".gif", false )
- || link.tqendsWith( ".png", false )
- || link.tqendsWith( ".bmp", false ) )
+ if ( link.endsWith( ".jpg", false )
+ || link.endsWith( ".jpeg", false )
+ || link.endsWith( ".gif", false )
+ || link.endsWith( ".png", false )
+ || link.endsWith( ".bmp", false ) )
link += LCHMUrlFactory::getInternalUriExtension();
}
@@ -274,7 +274,7 @@ void KCHMViewWindow::updateNavigationToolbar( )
if ( mainWindow )
{
- mainWindow->navigationToolbar()->updateIcontqStatus(
+ mainWindow->navigationToolbar()->updateIconStatus(
m_historyCurrentPos > 0,
m_historyCurrentPos < (m_history.size() - 1) );
}