summaryrefslogtreecommitdiffstats
path: root/kate/make
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/make
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kate/make')
-rw-r--r--kate/make/plugin_katemake.cpp14
-rw-r--r--kate/make/plugin_katemake.h6
2 files changed, 10 insertions, 10 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;
diff --git a/kate/make/plugin_katemake.h b/kate/make/plugin_katemake.h
index 35b4c2f..cdc9399 100644
--- a/kate/make/plugin_katemake.h
+++ b/kate/make/plugin_katemake.h
@@ -67,8 +67,8 @@ class PluginKateMakeView : public TQListView, public KXMLGUIClient
void slotPrev();
bool slotValidate();
- void slotProcExited(KProcess*);
- void slotReceivedProcStderr(KProcess*, char*, int);
+ void slotProcExited(TDEProcess*);
+ void slotReceivedProcStderr(TDEProcess*, char*, int);
void slotConfigure();
@@ -76,7 +76,7 @@ protected:
void processLine(const TQString &);
private:
- KProcess *m_proc;
+ TDEProcess *m_proc;
TQString output_line;
TQString doc_name;