summaryrefslogtreecommitdiffstats
path: root/kviewshell/kmultipage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/kmultipage.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-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.cpp10
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"));