summaryrefslogtreecommitdiffstats
path: root/src/viewarea.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
commit63c4fb318b4b6c0c22fce659f0029e4b21112c86 (patch)
tree9bb206b2d90ed5fe44cea4fcb5732b6741eaaa3e /src/viewarea.cpp
parent0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff (diff)
downloadkmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.tar.gz
kmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/viewarea.cpp')
-rw-r--r--src/viewarea.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/viewarea.cpp b/src/viewarea.cpp
index 229efca..eb4180d 100644
--- a/src/viewarea.cpp
+++ b/src/viewarea.cpp
@@ -118,7 +118,7 @@ void CachedImage::setUrl (const TQString & url) {
if (url.isEmpty ()) {
data = ImageDataPtr (new ImageData (url));
} else {
- ImageDataMap::iterator i = image_data_map->tqfind (url);
+ ImageDataMap::iterator i = image_data_map->find (url);
if (i == image_data_map->end ()) {
data = ImageDataPtr (new ImageData (url));
image_data_map->insert (url, ImageDataPtrW (data));
@@ -741,7 +741,7 @@ KDE_NO_EXPORT void CairoPaintVisitor::visit (SMIL::TextMediaType * txt) {
int line_count = 0;
Single min_xoff = w;
while (!str.isEmpty ()) {
- int len = str.tqfind (TQChar ('\n'));
+ int len = str.find (TQChar ('\n'));
bool skip_cr = false;
if (len > 1 && str[len-1] == TQChar ('\r')) {
--len;
@@ -764,7 +764,7 @@ KDE_NO_EXPORT void CairoPaintVisitor::visit (SMIL::TextMediaType * txt) {
int br_pos = int (line->txt.length () * frag); //educated guess
while (br_pos > 0) {
line->txt.truncate (br_pos);
- br_pos = line->txt.tqfindRev (TQChar (' '));
+ br_pos = line->txt.findRev (TQChar (' '));
if (br_pos < 1)
break;
line->txt.truncate (br_pos);