diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 8cbd3f41229fc385698bfd9a5524ba2610777543 (patch) | |
tree | 05595d691d2d657866204352d65e5b85cfd30384 /src/kchmviewwindow.cpp | |
parent | 411ae7c171b854c759cc87a403add976a2b516ee (diff) | |
download | kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.tar.gz kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r-- | src/kchmviewwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp index b125d44..bc758bb 100644 --- a/src/kchmviewwindow.cpp +++ b/src/kchmviewwindow.cpp @@ -84,7 +84,7 @@ TQString KCHMViewWindow::makeURLabsolute ( const TQString & url, bool set_as_bas m_base_url = newurl; // and set up new baseurl - int i = newurl.tqfindRev('/'); + int i = newurl.findRev('/'); if ( i != -1 ) m_base_url = TQDir::cleanDirPath (newurl.left (i + 1)); } @@ -305,7 +305,7 @@ void KCHMViewWindow::setTabKeeper( const TQString & link ) if ( m_newTabLinkKeeper[0] == '#' && !m_openedPage.isEmpty() ) { // Clean up opened page URL - int pos = m_openedPage.tqfind ('#'); + int pos = m_openedPage.find ('#'); TQString fixedpath = pos == -1 ? m_openedPage : m_openedPage.left (pos); m_newTabLinkKeeper = fixedpath + m_newTabLinkKeeper; } |