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 | 1c143fef35113fa8fe63b60a67aa4b2ff81b3396 (patch) | |
| tree | 207bda8f7bd63afeca58176bc023c13a0ebf20dc /src/renderer.cpp | |
| parent | 0525bd68b1324389d0825761afec5d2ed252a9a5 (diff) | |
| download | kbookreader-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.cpp | 2 |
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; |
