summaryrefslogtreecommitdiffstats
path: root/languages/php/phpsupportpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/php/phpsupportpart.cpp')
-rw-r--r--languages/php/phpsupportpart.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp
index 52c9f109..db3aeed7 100644
--- a/languages/php/phpsupportpart.cpp
+++ b/languages/php/phpsupportpart.cpp
@@ -107,12 +107,12 @@ PHPSupportPart::PHPSupportPart(TQObject *parent, const char *name, const TQStrin
mainWindow()->embedOutputView(m_phpErrorView, i18n("Problems"), i18n("Problems"));
phpExeProc = new KShellProcess("/bin/sh");
- connect( phpExeProc, TQT_SIGNAL(receivedStdout (KProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedPHPExeStdout (KProcess*, char*, int)));
- connect( phpExeProc, TQT_SIGNAL(receivedStderr (KProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedPHPExeStderr (KProcess*, char*, int)));
- connect( phpExeProc, TQT_SIGNAL(processExited(KProcess*)),
- this, TQT_SLOT(slotPHPExeExited(KProcess*)));
+ connect( phpExeProc, TQT_SIGNAL(receivedStdout (TDEProcess*, char*, int)),
+ this, TQT_SLOT(slotReceivedPHPExeStdout (TDEProcess*, char*, int)));
+ connect( phpExeProc, TQT_SIGNAL(receivedStderr (TDEProcess*, char*, int)),
+ this, TQT_SLOT(slotReceivedPHPExeStderr (TDEProcess*, char*, int)));
+ connect( phpExeProc, TQT_SIGNAL(processExited(TDEProcess*)),
+ this, TQT_SLOT(slotPHPExeExited(TDEProcess*)));
m_htmlView = new PHPHTMLView(this);
mainWindow()->embedOutputView(m_htmlView->view(), i18n("PHP"), i18n("PHP"));
@@ -343,12 +343,12 @@ void PHPSupportPart::executeInTerminal() {
*phpExeProc << KShellProcess::quote(file);
kdDebug(9018) << "" << file.latin1() << endl;
- phpExeProc->start(KProcess::NotifyOnExit,KProcess::All);
+ phpExeProc->start(TDEProcess::NotifyOnExit,TDEProcess::All);
// core()->gotoDocumentationFile(KURL("http://www.php.net"));
}
-void PHPSupportPart::slotReceivedPHPExeStdout (KProcess* /*proc*/, char* buffer, int buflen) {
+void PHPSupportPart::slotReceivedPHPExeStdout (TDEProcess* /*proc*/, char* buffer, int buflen) {
kdDebug(9018) << "slotPHPExeStdout()" << endl;
m_phpExeOutput += TQString::fromLocal8Bit(buffer,buflen+1);
@@ -358,7 +358,7 @@ void PHPSupportPart::slotReceivedPHPExeStdout (KProcess* /*proc*/, char* buffer,
m_htmlView->write(buf);
}
-void PHPSupportPart::slotReceivedPHPExeStderr (KProcess* /*proc*/, char* buffer, int buflen) {
+void PHPSupportPart::slotReceivedPHPExeStderr (TDEProcess* /*proc*/, char* buffer, int buflen) {
kdDebug(9018) << "slotPHPExeStderr()" << endl;
m_phpExeOutput += TQString::fromLocal8Bit(buffer,buflen+1);
@@ -368,7 +368,7 @@ void PHPSupportPart::slotReceivedPHPExeStderr (KProcess* /*proc*/, char* buffer,
m_htmlView->write(buf);
}
-void PHPSupportPart::slotPHPExeExited (KProcess* /*proc*/) {
+void PHPSupportPart::slotPHPExeExited (TDEProcess* /*proc*/) {
kdDebug(9018) << "slotPHPExeExited()" << endl;
m_htmlView->end();
TQString file = getExecuteFile();