From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaudiocreator/job.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kaudiocreator/job.cpp') diff --git a/kaudiocreator/job.cpp b/kaudiocreator/job.cpp index 44a05eee..740aeb5e 100644 --- a/kaudiocreator/job.cpp +++ b/kaudiocreator/job.cpp @@ -18,20 +18,20 @@ #include "job.h" #include -#include +#include /** * A helper function to replace %X with the stuff in the album. * if quote is true then put "" around the %X */ -QString Job::replaceSpecialChars(const QString &string, bool quote, QMap _map){ - QMap map = _map; +TQString Job::replaceSpecialChars(const TQString &string, bool quote, TQMap _map){ + TQMap map = _map; map.insert("title", track_title); map.insert("artist", track_artist); - map.insert("number", QString().sprintf("%02d", track)); + map.insert("number", TQString().sprintf("%02d", track)); map.insert("comment", track_comment); - map.insert("year", QString::number(year)); + map.insert("year", TQString::number(year)); map.insert("genre", genre); map.insert("albumtitle", album); @@ -44,15 +44,15 @@ QString Job::replaceSpecialChars(const QString &string, bool quote, QMap