summaryrefslogtreecommitdiffstats
path: root/parts/filter/shellfilterdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filter/shellfilterdlg.cpp')
-rw-r--r--parts/filter/shellfilterdlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/filter/shellfilterdlg.cpp b/parts/filter/shellfilterdlg.cpp
index 81ed6778..59a95db0 100644
--- a/parts/filter/shellfilterdlg.cpp
+++ b/parts/filter/shellfilterdlg.cpp
@@ -81,13 +81,13 @@ void ShellFilterDialog::slotStartClicked()
delete m_proc;
m_proc = new KShellProcess("/bin/sh");
(*m_proc) << combo->currentText();
- connect( m_proc, TQT_SIGNAL(receivedStdout(KProcess*, char *, int)),
- this, TQT_SLOT(slotReceivedStdout(KProcess*, char *, int)) );
- connect( m_proc, TQT_SIGNAL(wroteStdin(KProcess*)),
- this, TQT_SLOT(slotWroteStdin(KProcess*)) );
- connect( m_proc, TQT_SIGNAL(processExited(KProcess*)),
- this, TQT_SLOT(slotProcessExited(KProcess*)) );
- m_proc->start(KProcess::NotifyOnExit, KProcess::All);
+ connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
+ this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
+ connect( m_proc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQT_SLOT(slotWroteStdin(TDEProcess*)) );
+ connect( m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
+ this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
+ m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
m_proc->writeStdin(m_instr, m_instr.length());
}
@@ -99,21 +99,21 @@ int ShellFilterDialog::exec()
}
-void ShellFilterDialog::slotReceivedStdout(KProcess *, char *text, int len)
+void ShellFilterDialog::slotReceivedStdout(TDEProcess *, char *text, int len)
{
m_outstr += TQString::fromLocal8Bit(text, len+1);
kdDebug(9029) << "outstr " << m_outstr << endl;
}
-void ShellFilterDialog::slotWroteStdin(KProcess *)
+void ShellFilterDialog::slotWroteStdin(TDEProcess *)
{
m_proc->closeStdin();
kdDebug(9029) << "close stdin " << m_outstr << endl;
}
-void ShellFilterDialog::slotProcessExited(KProcess *)
+void ShellFilterDialog::slotProcessExited(TDEProcess *)
{
kdDebug(9029) << "process exit " << m_proc->normalExit() << endl;
if (m_proc->normalExit()) {