diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:30:12 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:30:12 -0600 |
commit | 60da1801389e3c729d440a353003acca39a7c3b6 (patch) | |
tree | 18240da7b279e174dadb615b3a32ea05cc0f74cc /src/kchmviewwindow.cpp | |
parent | f35af5996cb6b2875a9fb4f4789b44f21eec5d18 (diff) | |
download | kchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.tar.gz kchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.zip |
Rename a number of old tq methods that are no longer tq specific
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 fc77d3e..c0c1a4c 100644 --- a/src/kchmviewwindow.cpp +++ b/src/kchmviewwindow.cpp @@ -37,7 +37,7 @@ KCHMViewWindow::KCHMViewWindow( TQTabWidget * parent ) { - tqinvalidate(); + invalidate(); m_contextMenu = 0; m_contextMenuLink = 0; m_historyMaxSize = 25; @@ -49,7 +49,7 @@ KCHMViewWindow::~KCHMViewWindow() { } -void KCHMViewWindow::tqinvalidate( ) +void KCHMViewWindow::invalidate( ) { 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.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) ); } |