summaryrefslogtreecommitdiffstats
path: root/languages/php
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /languages/php
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'languages/php')
-rw-r--r--languages/php/phpsupportpart.cpp22
-rw-r--r--languages/php/phpsupportpart.h6
2 files changed, 14 insertions, 14 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);
diff --git a/languages/php/phpsupportpart.h b/languages/php/phpsupportpart.h
index d89c3277..f7d13122 100644
--- a/languages/php/phpsupportpart.h
+++ b/languages/php/phpsupportpart.h
@@ -75,9 +75,9 @@ private slots:
void slotReceivedPHPExeStderr (TDEProcess* proc, char* buffer, int buflen);
void slotReceivedPHPExeStdout (TDEProcess* proc, char* buffer, int buflen);
void slotPHPExeExited (TDEProcess* proc);
- void slotWebData(KIO::Job* job,const TQByteArray& data);
- void slotWebResult(KIO::Job* job);
- void slotWebJobStarted(KIO::Job* job);
+ void slotWebData(TDEIO::Job* job,const TQByteArray& data);
+ void slotWebResult(TDEIO::Job* job);
+ void slotWebJobStarted(TDEIO::Job* job);
// Internal
void initialParse();