summaryrefslogtreecommitdiffstats
path: root/kate/make/plugin_katemake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/make/plugin_katemake.cpp')
-rw-r--r--kate/make/plugin_katemake.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kate/make/plugin_katemake.cpp b/kate/make/plugin_katemake.cpp
index 7a3f014..1ea92a5 100644
--- a/kate/make/plugin_katemake.cpp
+++ b/kate/make/plugin_katemake.cpp
@@ -364,11 +364,11 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent,
setResizeMode(TQListView::LastColumn);
connect(this, TQT_SIGNAL(clicked(TQListViewItem *)), TQT_SLOT(slotClicked(TQListViewItem *)));
- m_proc = new KProcess();
+ m_proc = new TDEProcess();
- connect(m_proc, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(slotProcExited(KProcess*)));
- connect(m_proc, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)),
- TQT_TQOBJECT(this), TQT_SLOT(slotReceivedProcStderr(KProcess*, char*, int)));
+ connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcExited(TDEProcess*)));
+ connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ TQT_TQOBJECT(this), TQT_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int)));
KConfig c("katemakepluginrc");
@@ -443,7 +443,7 @@ void PluginKateMakeView::processLine(const TQString &l)
}
-void PluginKateMakeView::slotReceivedProcStderr(KProcess *, char *result, int len)
+void PluginKateMakeView::slotReceivedProcStderr(TDEProcess *, char *result, int len)
{
FUNCTIONSETUP;
@@ -460,7 +460,7 @@ void PluginKateMakeView::slotReceivedProcStderr(KProcess *, char *result, int le
}
-void PluginKateMakeView::slotProcExited(KProcess *p)
+void PluginKateMakeView::slotProcExited(TDEProcess *p)
{
FUNCTIONSETUP;
@@ -661,7 +661,7 @@ bool PluginKateMakeView::slotValidate()
if (make.isEmpty())
make = KStandardDirs::findExe("make");
*m_proc << make;
- if( make.isEmpty() || ! m_proc->start(KProcess::NotifyOnExit, KProcess::AllOutput) ) {
+ if( make.isEmpty() || ! m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) ) {
KMessageBox::error(0, i18n("<b>Error:</b> Failed to run %1.").arg(make.isEmpty() ?
"make" : make));
return false;