diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/php/phpconfigwidget.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/php/phpconfigwidget.cpp')
-rw-r--r-- | languages/php/phpconfigwidget.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp index 829e3038..5b5dfda7 100644 --- a/languages/php/phpconfigwidget.cpp +++ b/languages/php/phpconfigwidget.cpp @@ -1,11 +1,11 @@ #include "domutil.h" #include <kprocess.h> #include <klineedit.h> -#include <qcheckbox.h> -#include <qmultilineedit.h> -#include <qcstring.h> +#include <tqcheckbox.h> +#include <tqmultilineedit.h> +#include <tqcstring.h> #include <iostream> -#include <qradiobutton.h> +#include <tqradiobutton.h> #include <kfiledialog.h> #include <kstandarddirs.h> @@ -16,7 +16,7 @@ using namespace std; -PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,QWidget* parent, const char* name, WFlags fl ) +PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,TQWidget* parent, const char* name, WFlags fl ) : PHPConfigWidgetBase( parent, name, fl ) { configData = data; @@ -34,15 +34,15 @@ PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,QWidget* parent, const cha } // page webserver - QString weburl = configData->getWebURL(); + TQString weburl = configData->getWebURL(); if (weburl.isEmpty()) weburl = "http://localhost/"; weburl_edit->setText(weburl); // page shell - QString exepath = configData->getPHPExecPath(); + TQString exepath = configData->getPHPExecPath(); if (exepath.isEmpty()) { - QString fiexepath = KStandardDirs::findExe("php"); + TQString fiexepath = KStandardDirs::findExe("php"); if (exepath.isEmpty()) exepath = "/usr/local/bin/php"; @@ -52,7 +52,7 @@ PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,QWidget* parent, const cha // page options PHPConfigData::StartupFileMode phpStartupFileMode = configData->getStartupFileMode(); - QString phpStartupFile = configData->getStartupFile(); + TQString phpStartupFile = configData->getStartupFile(); useDefaultFile_edit->setText(phpStartupFile); @@ -64,7 +64,7 @@ PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,QWidget* parent, const cha useDefaultFile_radio->setChecked(true); } - QString includepath = configData->getPHPIncludePath(); + TQString includepath = configData->getPHPIncludePath(); include_path_edit->setText(includepath); codeCompletion_checkbox->setChecked(configData->getCodeCompletion()); @@ -129,8 +129,8 @@ void PHPConfigWidget::slotAboutClicked() proc << exe_edit->text(); proc << "-m"; - connect( &proc, SIGNAL(receivedStdout (KProcess*, char*, int)), - this, SLOT(slotReceivedPHPInfo (KProcess*, char*, int))); + connect( &proc, TQT_SIGNAL(receivedStdout (KProcess*, char*, int)), + this, TQT_SLOT(slotReceivedPHPInfo (KProcess*, char*, int))); proc.start(KProcess::Block,KProcess::Stdout); PHPInfoDlg dlg(this,"phpinfo",true); dlg.php_edit->setText(m_phpInfo); @@ -139,11 +139,11 @@ void PHPConfigWidget::slotAboutClicked() } void PHPConfigWidget::slotReceivedPHPInfo (KProcess* /*proc*/, char* buffer, int buflen){ - m_phpInfo += QCString(buffer,buflen+1); + m_phpInfo += TQCString(buffer,buflen+1); } void PHPConfigWidget::slotPHPExeButtonClicked(){ - QString exe = KFileDialog::getOpenFileName(QFileInfo(exe_edit->text()).filePath()); + TQString exe = KFileDialog::getOpenFileName(TQFileInfo(exe_edit->text()).filePath()); if (!exe.isEmpty()){ exe_edit->setText(exe); } @@ -151,7 +151,7 @@ void PHPConfigWidget::slotPHPExeButtonClicked(){ void PHPConfigWidget::slotPHPIniButtonClicked() { - QString file = KFileDialog::getOpenFileName(QFileInfo(exe_edit->text()).filePath(), QString("*.ini|INI File (*.ini)")); + TQString file = KFileDialog::getOpenFileName(TQFileInfo(exe_edit->text()).filePath(), TQString("*.ini|INI File (*.ini)")); if (!file.isEmpty()){ ini_edit->setText(file); |