summaryrefslogtreecommitdiffstats
path: root/kommander/editor/formfile.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
commit36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch)
tree629d3942958745660e36c30b0d6139af9459c0f8 /kommander/editor/formfile.cpp
parent929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff)
downloadtdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz
tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/editor/formfile.cpp')
-rw-r--r--kommander/editor/formfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/editor/formfile.cpp b/kommander/editor/formfile.cpp
index 90b9ba18..ff2e4c06 100644
--- a/kommander/editor/formfile.cpp
+++ b/kommander/editor/formfile.cpp
@@ -80,7 +80,7 @@ void FormFile::setFileName(const TQString &fn)
return;
if (fn.isEmpty()) {
fileNameTemp = true;
- if (filename.tqfind("unnamed"))
+ if (filename.find("unnamed"))
filename = createUnnamedFileName();
return;
}
@@ -264,7 +264,7 @@ TQString FormFile::formName() const
line = ts.readLine();
if (!className.isEmpty())
{
- int end = line.tqfind("</class>");
+ int end = line.find("</class>");
if (end == -1)
className += line;
else
@@ -275,9 +275,9 @@ TQString FormFile::formName() const
continue;
}
int start;
- if ((start = line.tqfind("<class>")) != -1)
+ if ((start = line.find("<class>")) != -1)
{
- int end = line.tqfind("</class>");
+ int end = line.find("</class>");
if (end == -1)
className = line.mid(start + 7);
else