diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
commit | b1057f437bf65300831a0ccb45b920787c6b318d (patch) | |
tree | f8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kaudiocreator/job.cpp | |
parent | 4ddfca384ced9ad654213aef9dc2c3973720b980 (diff) | |
download | tdemultimedia-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 'kaudiocreator/job.cpp')
-rw-r--r-- | kaudiocreator/job.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kaudiocreator/job.cpp b/kaudiocreator/job.cpp index 740aeb5e..c4950377 100644 --- a/kaudiocreator/job.cpp +++ b/kaudiocreator/job.cpp @@ -21,7 +21,7 @@ #include <tqregexp.h> /** - * A helper function to replace %X with the stuff in the album. + * A helper function to tqreplace %X with the stuff in the album. * if quote is true then put "" around the %X */ TQString Job::replaceSpecialChars(const TQString &string, bool quote, TQMap<TQString, TQString> _map){ @@ -45,14 +45,14 @@ TQString Job::replaceSpecialChars(const TQString &string, bool quote, TQMap<TQSt } void Job::fix(const TQString &in, const TQString &out){ - track_title.replace( TQRegExp(in), out ); - track_artist.replace( TQRegExp(in), out ); - track_comment.replace( TQRegExp(in), out ); + track_title.tqreplace( TQRegExp(in), out ); + track_artist.tqreplace( TQRegExp(in), out ); + track_comment.tqreplace( TQRegExp(in), out ); // year // track - genre.replace( TQRegExp(in), out ); - album.replace( TQRegExp(in), out ); - comment.replace( TQRegExp(in), out ); - group.replace( TQRegExp(in), out ); + genre.tqreplace( TQRegExp(in), out ); + album.tqreplace( TQRegExp(in), out ); + comment.tqreplace( TQRegExp(in), out ); + group.tqreplace( TQRegExp(in), out ); } |