summaryrefslogtreecommitdiffstats
path: root/noatun/noatun20update.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/noatun20update.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/noatun20update.cpp')
-rw-r--r--noatun/noatun20update.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/noatun/noatun20update.cpp b/noatun/noatun20update.cpp
index 8ab0bbdb..dbf21f3d 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.contains("id3tag.plugin") ||
- text.contains("oggtag.plugin") ||
- text.contains("luckytag.plugin");
+ bool tagloaders = text.tqcontains("id3tag.plugin") ||
+ text.tqcontains("oggtag.plugin") ||
+ text.tqcontains("luckytag.plugin");
- text.replace(TQRegExp("id3tag\\.plugin"), "");
- text.replace(TQRegExp("oggtag\\.plugin"), "");
- text.replace(TQRegExp("luckytag\\.plugin"), "");
+ text.tqreplace(TQRegExp("id3tag\\.plugin"), "");
+ text.tqreplace(TQRegExp("oggtag\\.plugin"), "");
+ text.tqreplace(TQRegExp("luckytag\\.plugin"), "");
- if(tagloaders) text.replace(TQRegExp("Modules="), "Modules=metatag.plugin,");
+ if(tagloaders) text.tqreplace(TQRegExp("Modules="), "Modules=metatag.plugin,");
// playlists
- text.replace(TQRegExp("tron\\.plugin"), "splitplaylist.plugin");
- text.replace(TQRegExp("liszt\\.plugin"), "splitplaylist.plugin");
+ text.tqreplace(TQRegExp("tron\\.plugin"), "splitplaylist.plugin");
+ text.tqreplace(TQRegExp("liszt\\.plugin"), "splitplaylist.plugin");
qout.writeBlock(text.local8Bit());