diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
commit | da1522385e5367bae56b90fac55c4355e475905b (patch) | |
tree | bfa432864dbf322feb4ed3a878f1222ee8ea7727 /languages/php/phpsupportpart.cpp | |
parent | b9e542d0c805e9adee3a67e44532d5321032e21e (diff) | |
download | tdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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); |