diff options
Diffstat (limited to 'kate/insertcommand/plugin_kateinsertcommand.cpp')
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp index bc0a6a4..ec5dafc 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.cpp +++ b/kate/insertcommand/plugin_kateinsertcommand.cpp @@ -148,12 +148,12 @@ void PluginKateInsertCommand::slotInsertCommand() if ( ! sh ) { sh = new KShellProcess; - connect ( sh, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), - this, TQT_SLOT(slotReceivedStdout(KProcess*, char*, int)) ); - connect ( sh, TQT_SIGNAL(receivedStderr(KProcess*, char*, int)), - this, TQT_SLOT(slotReceivedStderr(KProcess*, char*, int)) ); - connect ( sh, TQT_SIGNAL(processExited(KProcess*)), - this, TQT_SLOT(slotProcessExited(KProcess*)) ) ; + connect ( sh, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)) ); + connect ( sh, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)) ); + connect ( sh, TQT_SIGNAL(processExited(TDEProcess*)), + this, TQT_SLOT(slotProcessExited(TDEProcess*)) ) ; } sh->clearArguments(); @@ -170,7 +170,7 @@ void PluginKateInsertCommand::slotInsertCommand() config->writePathEntry("Last WD", d->wd()); } *sh << TQFile::encodeName(d->command()).data(); - sh->start( KProcess::NotifyOnExit, KProcess::All ); + sh->start( TDEProcess::NotifyOnExit, TDEProcess::All ); // add command to history if ( cmdhist.contains( d->command() ) ) { @@ -219,7 +219,7 @@ void PluginKateInsertCommand::slotShowWaitDlg() } } -void PluginKateInsertCommand::slotReceivedStdout( KProcess* /*p*/, char* text, +void PluginKateInsertCommand::slotReceivedStdout( TDEProcess* /*p*/, char* text, int len ) { TQString t = TQString::fromLocal8Bit ( text ); @@ -227,14 +227,14 @@ void PluginKateInsertCommand::slotReceivedStdout( KProcess* /*p*/, char* text, kv->insertText( t ); } -void PluginKateInsertCommand::slotReceivedStderr( KProcess* p, char* text, +void PluginKateInsertCommand::slotReceivedStderr( TDEProcess* p, char* text, int len ) { if ( bInsStdErr ) slotReceivedStdout( p, text, len ); } -void PluginKateInsertCommand::slotProcessExited( KProcess* p ) +void PluginKateInsertCommand::slotProcessExited( TDEProcess* p ) { if (wdlg) { wdlg->hide(); |