summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchlecture.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
commitd8762de95349dc6edaa34db9bf699b367c1af6b1 (patch)
tree8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /ktouch/src/ktouchlecture.cpp
parent03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff)
downloadtdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.tar.gz
tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchlecture.cpp')
-rw-r--r--ktouch/src/ktouchlecture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ktouch/src/ktouchlecture.cpp b/ktouch/src/ktouchlecture.cpp
index 1f3b687b..610c583a 100644
--- a/ktouch/src/ktouchlecture.cpp
+++ b/ktouch/src/ktouchlecture.cpp
@@ -129,9 +129,9 @@ bool KTouchLecture::readLecture(TQTextStream& in) {
// only consider non-empty lines
if (!line.isEmpty()) {
// lecture title?
- if (line.tqfind("# Title:") == 0)
+ if (line.find("# Title:") == 0)
m_title = line.right(line.length() - 8).stripWhiteSpace();
- else if (line[0]!='#' || line.tqfind("# Comment:")!=-1) {
+ else if (line[0]!='#' || line.find("# Comment:")!=-1) {
// ok, after all those comment lines, we finally found the beginn of a level
in_level = true;
current_level += line + '\n';