summaryrefslogtreecommitdiffstats
path: root/src/renderer.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
commit1c143fef35113fa8fe63b60a67aa4b2ff81b3396 (patch)
tree207bda8f7bd63afeca58176bc023c13a0ebf20dc /src/renderer.cpp
parent0525bd68b1324389d0825761afec5d2ed252a9a5 (diff)
downloadkbookreader-1c143fef35113fa8fe63b60a67aa4b2ff81b3396.tar.gz
kbookreader-1c143fef35113fa8fe63b60a67aa4b2ff81b3396.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbookreader@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r--src/renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp
index fcc6eb7..963c987 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -332,7 +332,7 @@ void Renderer::drawLine(TQPainter & paint, int x, int y, const TLines::size_type
//count spaces
std::vector<int> spaces;
spaces.reserve(50);
- while (((pos = string.tqfind(' ', off)) != -1) && (pos < length))
+ while (((pos = string.find(' ', off)) != -1) && (pos < length))
{
spaces.push_back(pos);
off = pos + 1;