From b9e542d0c805e9adee3a67e44532d5321032e21e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:01 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- languages/php/phpsupportpart.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'languages/php/phpsupportpart.cpp') 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(); -- cgit v1.2.1