diff options
Diffstat (limited to 'languages/php/phpsupportpart.cpp')
-rw-r--r-- | languages/php/phpsupportpart.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp index db3aeed7..9435c274 100644 --- a/languages/php/phpsupportpart.cpp +++ b/languages/php/phpsupportpart.cpp @@ -116,8 +116,8 @@ PHPSupportPart::PHPSupportPart(TQObject *parent, const char *name, const TQStrin m_htmlView = new PHPHTMLView(this); mainWindow()->embedOutputView(m_htmlView->view(), i18n("PHP"), i18n("PHP")); - connect( m_htmlView, TQT_SIGNAL(started(KIO::Job*)), - this, TQT_SLOT(slotWebJobStarted(KIO::Job*))); + connect( m_htmlView, TQT_SIGNAL(started(TDEIO::Job*)), + this, TQT_SLOT(slotWebJobStarted(TDEIO::Job*))); configData = new PHPConfigData(projectDom()); connect( configData, TQT_SIGNAL(configStored()), @@ -294,24 +294,24 @@ TQString PHPSupportPart::getExecuteFile() { return file; } -void PHPSupportPart::slotWebJobStarted(KIO::Job* job) { - if (job && job->className() == TQString("KIO::TransferJob")) { +void PHPSupportPart::slotWebJobStarted(TDEIO::Job* job) { + if (job && job->className() == TQString("TDEIO::TransferJob")) { kdDebug(9018) << endl << "job started" << job->progressId(); - KIO::TransferJob *tjob = static_cast<KIO::TransferJob*>(job); - connect( tjob, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)), - this, TQT_SLOT(slotWebData(KIO::Job*, const TQByteArray&))); - connect( tjob, TQT_SIGNAL(result(KIO::Job*)), - this, TQT_SLOT(slotWebResult(KIO::Job*))); + TDEIO::TransferJob *tjob = static_cast<TDEIO::TransferJob*>(job); + connect( tjob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQT_SLOT(slotWebData(TDEIO::Job*, const TQByteArray&))); + connect( tjob, TQT_SIGNAL(result(TDEIO::Job*)), + this, TQT_SLOT(slotWebResult(TDEIO::Job*))); } } -void PHPSupportPart::slotWebData(KIO::Job* /*job*/,const TQByteArray& data) { +void PHPSupportPart::slotWebData(TDEIO::Job* /*job*/,const TQByteArray& data) { kdDebug(9018) << "slotWebData()" << endl; TQString strData(data); m_phpExeOutput += strData; } -void PHPSupportPart::slotWebResult(KIO::Job* /*job*/) { +void PHPSupportPart::slotWebResult(TDEIO::Job* /*job*/) { kdDebug(9018) << "slotWebResult()" << endl; TQString file = getExecuteFile(); PHPFile *pfile = new PHPFile(this, file); |