summaryrefslogtreecommitdiffstats
path: root/kate/xmlcheck/plugin_katexmlcheck.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/xmlcheck/plugin_katexmlcheck.cpp
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kate/xmlcheck/plugin_katexmlcheck.cpp')
-rw-r--r--kate/xmlcheck/plugin_katexmlcheck.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/xmlcheck/plugin_katexmlcheck.cpp b/kate/xmlcheck/plugin_katexmlcheck.cpp
index 6e4f0ad..e7ce1e2 100644
--- a/kate/xmlcheck/plugin_katexmlcheck.cpp
+++ b/kate/xmlcheck/plugin_katexmlcheck.cpp
@@ -130,13 +130,13 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow
*/
m_proc_stderr = "";
- m_proc = new KProcess();
- connect(m_proc, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(slotProcExited(KProcess*)));
+ m_proc = new TDEProcess();
+ connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcExited(TDEProcess*)));
// we currently only want errors:
- //connect(m_proc, TQT_SIGNAL(receivedStdout(KProcess*,char*,int)),
- // this, TQT_SLOT(receivedProcStdout(KProcess*, char*, int)));
- connect(m_proc, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)),
- this, TQT_SLOT(slotReceivedProcStderr(KProcess*, char*, int)));
+ //connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ // this, TQT_SLOT(receivedProcStdout(TDEProcess*, char*, int)));
+ connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ this, TQT_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int)));
}
@@ -150,13 +150,13 @@ PluginKateXMLCheckView::~PluginKateXMLCheckView()
-void PluginKateXMLCheckView::slotReceivedProcStderr(KProcess *, char *result, int len)
+void PluginKateXMLCheckView::slotReceivedProcStderr(TDEProcess *, char *result, int len)
{
m_proc_stderr += TQString::fromLocal8Bit( TQCString(result, len+1) );
}
-void PluginKateXMLCheckView::slotProcExited(KProcess*)
+void PluginKateXMLCheckView::slotProcExited(TDEProcess*)
{
// FIXME: doesn't work correct the first time:
//if( m_dockwidget->isDockBackPossible() ) {
@@ -343,7 +343,7 @@ bool PluginKateXMLCheckView::slotValidate()
}
*m_proc << m_tmp_file->name();
- if( ! m_proc->start(KProcess::NotifyOnExit, KProcess::AllOutput) ) {
+ if( ! m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) ) {
KMessageBox::error(0, i18n("<b>Error:</b> Failed to execute xmllint. Please make "
"sure that xmllint is installed. It is part of libxml2."));
return false;