From 27430f06c6cc2187c639f59f342f07f1fde91a8b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:47:46 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kaudiocreator/encoder.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kaudiocreator/encoder.cpp') diff --git a/kaudiocreator/encoder.cpp b/kaudiocreator/encoder.cpp index cd4b93ea..dfad467f 100644 --- a/kaudiocreator/encoder.cpp +++ b/kaudiocreator/encoder.cpp @@ -212,11 +212,11 @@ void Encoder::tendToNewJobs() { proc->setPriority(Prefs::niceLevel()); *proc << TQFile::encodeName(command).data(); - connect(proc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int )), - this, TQT_SLOT(receivedThreadOutput(KProcess *, char *, int ))); - connect(proc, TQT_SIGNAL(receivedStderr(KProcess *, char *, int )), - this, TQT_SLOT(receivedThreadOutput(KProcess *, char *, int ))); - connect(proc, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(jobDone(KProcess *))); + connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int )), + this, TQT_SLOT(receivedThreadOutput(TDEProcess *, char *, int ))); + connect(proc, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int )), + this, TQT_SLOT(receivedThreadOutput(TDEProcess *, char *, int ))); + connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(jobDone(TDEProcess *))); jobs.insert(proc, job); threads.append(proc); @@ -230,7 +230,7 @@ void Encoder::tendToNewJobs() { * @param buffer the output from the process * @param buflen the length of the buffer. */ -void Encoder::receivedThreadOutput(KProcess *process, char *buffer, int length ) { +void Encoder::receivedThreadOutput(TDEProcess *process, char *buffer, int length ) { if ( Prefs::fullDecoderDebug() && buffer) kdDebug(60002) << buffer << endl; @@ -271,7 +271,7 @@ void Encoder::receivedThreadOutput(KProcess *process, char *buffer, int length ) * When the process is done encoding a file this function is called. * @param job the job that just finished. */ -void Encoder::jobDone(KProcess *process ) { +void Encoder::jobDone(TDEProcess *process ) { // Normal error checking here. if ( !process) return; -- cgit v1.2.1