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 /lib/pilotMemo.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 'lib/pilotMemo.cc')
-rw-r--r-- | lib/pilotMemo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pilotMemo.cc b/lib/pilotMemo.cc index fab0ae8..c5d4c09 100644 --- a/lib/pilotMemo.cc +++ b/lib/pilotMemo.cc @@ -92,7 +92,7 @@ TQString PilotMemo::getTitle() const { if (fText.isEmpty()) return TQString(); - int memoTitleLen = fText.tqfind('\n'); + int memoTitleLen = fText.find('\n'); if (-1 == memoTitleLen) memoTitleLen=fText.length(); return fText.left(memoTitleLen); } @@ -106,7 +106,7 @@ TQString PilotMemo::shortTitle() const return t; t.truncate(40); - int spaceIndex = t.tqfindRev(' '); + int spaceIndex = t.findRev(' '); if (spaceIndex > 32) { |