summaryrefslogtreecommitdiffstats
path: root/kaudiocreator/ripper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaudiocreator/ripper.cpp')
-rw-r--r--kaudiocreator/ripper.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaudiocreator/ripper.cpp b/kaudiocreator/ripper.cpp
index cb9c012b..7a308a9f 100644
--- a/kaudiocreator/ripper.cpp
+++ b/kaudiocreator/ripper.cpp
@@ -32,7 +32,7 @@
/**
* Constructor, load settings.
*/
-Ripper::Ripper( TQObject* parent, const char* name) : TQObject(parent,name) {
+Ripper::Ripper( TQObject* tqparent, const char* name) : TQObject(tqparent,name) {
loadSettings();
}
@@ -120,7 +120,7 @@ void Ripper::removeJob(int id){
pendingJobs.remove(job);
delete job;
}
- //qDebug(TQString("Done removing Job:%1").arg(id).latin1());
+ //qDebug(TQString("Done removing Job:%1").tqarg(id).latin1());
tendToNewJobs();
}
@@ -132,7 +132,7 @@ void Ripper::removeJob(int id){
void Ripper::ripTrack(Job *job){
if(!job)
return;
- emit(addJob(job, i18n("Ripping: %1 - %2").arg(job->track_artist).arg(job->track_title)));
+ emit(addJob(job, i18n("Ripping: %1 - %2").tqarg(job->track_artist).tqarg(job->track_title)));
pendingJobs.append(job);
tendToNewJobs();
}
@@ -172,12 +172,12 @@ void Ripper::tendToNewJobs(){
TQString wavFile;
TQString args = job->device;
if(!args.isEmpty())
- args = TQString("?device=%1").arg(args);
+ args = TQString("?device=%1").tqarg(args);
args = args+"&fileNameTemplate=Track %{number}";
if(job->track < 10)
- wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").arg(job->track).arg(args);
+ wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").tqarg(job->track).tqarg(args);
else
- wavFile = TQString("audiocd:/Wav/Track %1.wav%2").arg(job->track).arg(args);
+ wavFile = TQString("audiocd:/Wav/Track %1.wav%2").tqarg(job->track).tqarg(args);
KURL source(wavFile);
KURL dest(tmp.name());
@@ -201,7 +201,7 @@ void Ripper::copyJobResult(KIO::Job *copyjob){
KIO::FileCopyJob *copyJob = dynamic_cast<KIO::FileCopyJob*> (copyjob);
KNotifyClient::event("track ripped");
- if(jobs.find(copyjob) == jobs.end())
+ if(jobs.tqfind(copyjob) == jobs.end())
return;
Job *newJob = jobs[copyjob];
jobs.remove(copyjob);