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 | 539a35866f0bac8f00e493654d4a8ec6863726e2 (patch) | |
tree | 8991e5472fe88379787cafa85542d94706bd6fa4 /conduits/docconduit/DOC-converter.cc | |
parent | 45598e35650c5806ecf2d684afeeb0da41c3ff6b (diff) | |
download | kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.tar.gz kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'conduits/docconduit/DOC-converter.cc')
-rw-r--r-- | conduits/docconduit/DOC-converter.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conduits/docconduit/DOC-converter.cc b/conduits/docconduit/DOC-converter.cc index 06f45b7..2e25b61 100644 --- a/conduits/docconduit/DOC-converter.cc +++ b/conduits/docconduit/DOC-converter.cc @@ -79,7 +79,7 @@ int docMatchBookmark::findMatches(TQString doctext, bmkList &fBookmarks) { #endif while (pos >= 0 && found<to) { - pos = doctext.tqfind(pattern, pos); + pos = doctext.find(pattern, pos); #ifdef DEBUG DEBUGKPILOT<<"Result of search: pos="<<pos<<endl; #endif @@ -120,8 +120,8 @@ int docRegExpBookmark::findMatches(TQString doctext, bmkList &fBookmarks) // TODO: use the subexpressions from the regexp for the bmk name ($1..$9) (given as separate regexp) TQString bmkText(bmkName); for (int i=0; i<=rx.numCaptures(); ++i) { - bmkText.tqreplace(CSL1("$%1").tqarg(i), rx.cap(i)); - bmkText.tqreplace(CSL1("\\%1").tqarg(i), rx.cap(i)); + bmkText.replace(CSL1("$%1").tqarg(i), rx.cap(i)); + bmkText.replace(CSL1("\\%1").tqarg(i), rx.cap(i)); } fBookmarks.append(new docBookmark(bmkText.left(16), pos)); } |