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 | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch) | |
tree | 48ff13dab43883d19ecf2272b8ba72a013d5bc57 /noatun/noatun20update.cpp | |
parent | c05ca496a526b3fc192dbfafe0955e5824b22e08 (diff) | |
download | tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/noatun20update.cpp')
-rw-r--r-- | noatun/noatun20update.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noatun/noatun20update.cpp b/noatun/noatun20update.cpp index dbf21f3d..8ab0bbdb 100644 --- a/noatun/noatun20update.cpp +++ b/noatun/noatun20update.cpp @@ -21,19 +21,19 @@ int main(int, char **) TQString text = qin.readAll(); // tag loaders - bool tagloaders = text.tqcontains("id3tag.plugin") || - text.tqcontains("oggtag.plugin") || - text.tqcontains("luckytag.plugin"); + bool tagloaders = text.contains("id3tag.plugin") || + text.contains("oggtag.plugin") || + text.contains("luckytag.plugin"); - text.tqreplace(TQRegExp("id3tag\\.plugin"), ""); - text.tqreplace(TQRegExp("oggtag\\.plugin"), ""); - text.tqreplace(TQRegExp("luckytag\\.plugin"), ""); + text.replace(TQRegExp("id3tag\\.plugin"), ""); + text.replace(TQRegExp("oggtag\\.plugin"), ""); + text.replace(TQRegExp("luckytag\\.plugin"), ""); - if(tagloaders) text.tqreplace(TQRegExp("Modules="), "Modules=metatag.plugin,"); + if(tagloaders) text.replace(TQRegExp("Modules="), "Modules=metatag.plugin,"); // playlists - text.tqreplace(TQRegExp("tron\\.plugin"), "splitplaylist.plugin"); - text.tqreplace(TQRegExp("liszt\\.plugin"), "splitplaylist.plugin"); + text.replace(TQRegExp("tron\\.plugin"), "splitplaylist.plugin"); + text.replace(TQRegExp("liszt\\.plugin"), "splitplaylist.plugin"); qout.writeBlock(text.local8Bit()); |