diff options
Diffstat (limited to 'kommander/editor/formfile.cpp')
-rw-r--r-- | kommander/editor/formfile.cpp | 8 |
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 |