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 | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/kmultipage.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/kmultipage.cpp')
-rw-r--r-- | kviewshell/kmultipage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/kmultipage.cpp b/kviewshell/kmultipage.cpp index 36be452c..3ba3fa84 100644 --- a/kviewshell/kmultipage.cpp +++ b/kviewshell/kmultipage.cpp @@ -146,7 +146,7 @@ void KMultiPage::slotSave() // Try to guess the proper ending... TQString formats; TQString ending; - int rindex = m_file.tqfindRev("."); + int rindex = m_file.findRev("."); if (rindex == -1) { ending = TQString(); formats = TQString(); @@ -162,7 +162,7 @@ void KMultiPage::slotSave() // Add the ending to the filename. I hope the user likes it that // way. - if (!ending.isEmpty() && fileName.tqfind(ending) == -1) + if (!ending.isEmpty() && fileName.find(ending) == -1) fileName = fileName+ending; if (TQFile(fileName).exists()) { @@ -1461,7 +1461,7 @@ void KMultiPage::findNextText() if (searchPage->textBoxList.size() == 0) continue; - foundSelection = searchPage->tqfind(searchText, startingTextItem, case_sensitive); + foundSelection = searchPage->find(searchText, startingTextItem, case_sensitive); if (foundSelection.isEmpty()) { @@ -1603,7 +1603,7 @@ void KMultiPage::findPrevText() if (searchPage->textBoxList.size() == 0) continue; - foundSelection = searchPage->tqfindRev(searchText, startingTextItem, case_sensitive); + foundSelection = searchPage->findRev(searchText, startingTextItem, case_sensitive); if (foundSelection.isEmpty()) { @@ -1901,7 +1901,7 @@ void KMultiPage::doExportText() { // Generate a suggestion for a reasonable file name TQString suggestedName = url().filename(); - suggestedName = suggestedName.left(suggestedName.tqfind(".")) + ".txt"; + suggestedName = suggestedName.left(suggestedName.find(".")) + ".txt"; TQString fileName = KFileDialog::getSaveFileName(suggestedName, i18n("*.txt|Plain Text (Latin 1) (*.txt)"), scrollView(), i18n("Export File As")); |