summaryrefslogtreecommitdiffstats
path: root/kate/insertcommand/plugin_kateinsertcommand.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
commit4c097708c4cc24f3b8e4c21f14644f5715767d47 (patch)
treee8ca4b1d3a3b3de0d18e5f144dcef9b36f830b84 /kate/insertcommand/plugin_kateinsertcommand.cpp
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kate/insertcommand/plugin_kateinsertcommand.cpp')
-rw-r--r--kate/insertcommand/plugin_kateinsertcommand.cpp20
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();