diff options
Diffstat (limited to 'src/kile/kilelauncher.cpp')
-rw-r--r-- | src/kile/kilelauncher.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kile/kilelauncher.cpp b/src/kile/kilelauncher.cpp index 1899e06..cb0ca57 100644 --- a/src/kile/kilelauncher.cpp +++ b/src/kile/kilelauncher.cpp @@ -65,9 +65,9 @@ else KILE_DEBUG() << "\tNO KShellProcess created" << endl; - connect(m_proc, TQT_SIGNAL( receivedStdout(KProcess*, char*, int) ), this, TQT_SLOT(slotProcessOutput(KProcess*, char*, int ) ) ); - connect(m_proc, TQT_SIGNAL( receivedStderr(KProcess*, char*, int) ),this, TQT_SLOT(slotProcessOutput(KProcess*, char*, int ) ) ); - connect(m_proc, TQT_SIGNAL( processExited(KProcess*)), this, TQT_SLOT(slotProcessExited(KProcess*))); + connect(m_proc, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) ); + connect(m_proc, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ),this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) ); + connect(m_proc, TQT_SIGNAL( processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*))); } ProcessLauncher::~ProcessLauncher() @@ -142,7 +142,7 @@ out += "*****\n"; emit(output(out)); - return m_proc->start(tool()->manager()->shouldBlock() ? KProcess::Block : KProcess::NotifyOnExit, KProcess::AllOutput); + return m_proc->start(tool()->manager()->shouldBlock() ? TDEProcess::Block : TDEProcess::NotifyOnExit, TDEProcess::AllOutput); } else return false; @@ -168,7 +168,7 @@ emit(message(Error, i18n("Launching failed, diagnostics:"))); TQString exe = KRun::binaryName(tool()->readEntry("command"), false); - TQString path = KGlobal::dirs()->findExe(exe, TQString(), true); + TQString path = TDEGlobal::dirs()->findExe(exe, TQString(), true); if ( path.isNull() ) { @@ -189,12 +189,12 @@ return true; } - void ProcessLauncher::slotProcessOutput(KProcess*, char* buf, int len) + void ProcessLauncher::slotProcessOutput(TDEProcess*, char* buf, int len) { emit output(TQString::fromLocal8Bit(buf, len)); } - void ProcessLauncher::slotProcessExited(KProcess*) + void ProcessLauncher::slotProcessExited(TDEProcess*) { KILE_DEBUG() << "==KileTool::ProcessLauncher::slotProcessExited=============" << endl; KILE_DEBUG() << "\t" << tool()->name() << endl; @@ -241,7 +241,7 @@ setCommand("konsole"); setOptions(noclose + " -T \"" + cmd + " (Kile)\" -e " + cmd + ' ' + tool()->readEntry("options")); - if ( KGlobal::dirs()->findExe(KRun::binaryName(cmd, false)).isNull() ) return false; + if ( TDEGlobal::dirs()->findExe(KRun::binaryName(cmd, false)).isNull() ) return false; return ProcessLauncher::launch(); } |