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.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.cpp')
-rw-r--r-- | src/kchmviewwindow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp index c0c1a4c..fc77d3e 100644 --- a/src/kchmviewwindow.cpp +++ b/src/kchmviewwindow.cpp @@ -37,7 +37,7 @@ KCHMViewWindow::KCHMViewWindow( TQTabWidget * parent ) { - invalidate(); + tqinvalidate(); m_contextMenu = 0; m_contextMenuLink = 0; m_historyMaxSize = 25; @@ -49,7 +49,7 @@ KCHMViewWindow::~KCHMViewWindow() { } -void KCHMViewWindow::invalidate( ) +void KCHMViewWindow::tqinvalidate( ) { m_base_url = "/"; m_openedPage = TQString(); @@ -132,11 +132,11 @@ bool KCHMViewWindow::openUrl ( const TQString& origurl ) void KCHMViewWindow::handleStartPageAsImage( TQString & link ) { // Handle pics - if ( link.endsWith( ".jpg", false ) - || link.endsWith( ".jpeg", false ) - || link.endsWith( ".gif", false ) - || link.endsWith( ".png", false ) - || link.endsWith( ".bmp", false ) ) + if ( link.tqendsWith( ".jpg", false ) + || link.tqendsWith( ".jpeg", false ) + || link.tqendsWith( ".gif", false ) + || link.tqendsWith( ".png", false ) + || link.tqendsWith( ".bmp", false ) ) link += LCHMUrlFactory::getInternalUriExtension(); } @@ -274,7 +274,7 @@ void KCHMViewWindow::updateNavigationToolbar( ) if ( mainWindow ) { - mainWindow->navigationToolbar()->updateIconStatus( + mainWindow->navigationToolbar()->updateIcontqStatus( m_historyCurrentPos > 0, m_historyCurrentPos < (m_history.size() - 1) ); } |