From 96842585886a67c6ab4e2cf83bc69e6156ee2c11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:34:02 -0600 Subject: Rename additional global TQt functions --- kaudiocreator/encoder.cpp | 10 +++++----- kaudiocreator/ripper.cpp | 2 +- kaudiocreator/tracksimp.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kaudiocreator') diff --git a/kaudiocreator/encoder.cpp b/kaudiocreator/encoder.cpp index 1d5e533d..cd4b93ea 100644 --- a/kaudiocreator/encoder.cpp +++ b/kaudiocreator/encoder.cpp @@ -252,12 +252,12 @@ void Encoder::receivedThreadOutput(KProcess *process, char *buffer, int length ) reportCount++; return; } - //qDebug(TQString("Pre cropped: %1").arg(output).latin1()); + //tqDebug(TQString("Pre cropped: %1").arg(output).latin1()); output = output.mid(output.find('%')-loadEncoder(job->encoder)->percentLength(),2); - //qDebug(TQString("Post cropped: %1").arg(output).latin1()); + //tqDebug(TQString("Post cropped: %1").arg(output).latin1()); bool conversionSuccessfull = false; int percent = output.toInt(&conversionSuccessfull); - //qDebug(TQString("number: %1").arg(percent).latin1()); + //tqDebug(TQString("number: %1").arg(percent).latin1()); if ( percent >= 0 && percent < 100 && conversionSuccessfull ) { emit(updateProgress(job->id, percent)); } @@ -276,7 +276,7 @@ void Encoder::jobDone(KProcess *process ) { if ( !process) return; - //qDebug("Process exited with status: %d", process->exitStatus()); + //tqDebug("Process exited with status: %d", process->exitStatus()); Job *job = jobs[(KShellProcess*)process]; threads.remove((KShellProcess*)process); @@ -296,7 +296,7 @@ void Encoder::jobDone(KProcess *process ) { } } else{ - //qDebug("Must be done: %d", (process->exitStatus())); + //tqDebug("Must be done: %d", (process->exitStatus())); emit(updateProgress(job->id, 100)); KNotifyClient::event("track encoded"); if ( job->lastSongInAlbum) diff --git a/kaudiocreator/ripper.cpp b/kaudiocreator/ripper.cpp index cb9c012b..f68c1001 100644 --- a/kaudiocreator/ripper.cpp +++ b/kaudiocreator/ripper.cpp @@ -120,7 +120,7 @@ void Ripper::removeJob(int id){ pendingJobs.remove(job); delete job; } - //qDebug(TQString("Done removing Job:%1").arg(id).latin1()); + //tqDebug(TQString("Done removing Job:%1").arg(id).latin1()); tendToNewJobs(); } diff --git a/kaudiocreator/tracksimp.cpp b/kaudiocreator/tracksimp.cpp index 36419871..c9296547 100644 --- a/kaudiocreator/tracksimp.cpp +++ b/kaudiocreator/tracksimp.cpp @@ -183,13 +183,13 @@ void TracksImp::changeDevice(const TQString &file ) { TQString newDevice = KCompactDisc::urlToDevice(file); if( newDevice == cd->device() ) { - //qDebug("Device names match, returning"); + //tqDebug("Device names match, returning"); return; } TQFileInfo fileInfo(newDevice); if( !fileInfo.exists() || fileInfo.isDir()) { - //qDebug("Device file !exist or isDir or !file"); + //tqDebug("Device file !exist or isDir or !file"); return; } -- cgit v1.2.1