From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../custommakefiles/custombuildoptionswidget.cpp | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'buildtools/custommakefiles/custombuildoptionswidget.cpp') diff --git a/buildtools/custommakefiles/custombuildoptionswidget.cpp b/buildtools/custommakefiles/custombuildoptionswidget.cpp index 37b087b2..e979df61 100644 --- a/buildtools/custommakefiles/custombuildoptionswidget.cpp +++ b/buildtools/custommakefiles/custombuildoptionswidget.cpp @@ -11,43 +11,43 @@ #include "custombuildoptionswidget.h" -#include +#include #include #include #include #include -#include -#include +#include +#include #include "domutil.h" -CustomBuildOptionsWidget::CustomBuildOptionsWidget(QDomDocument &dom, - QWidget *parent, const char *name) +CustomBuildOptionsWidget::CustomBuildOptionsWidget(TQDomDocument &dom, + TQWidget *parent, const char *name) : CustomBuildOptionsWidgetBase(parent, name), m_dom(dom) { ant_button->setChecked(DomUtil::readEntry(dom, "/kdevcustomproject/build/buildtool") == "ant"); other_button->setChecked(DomUtil::readEntry(dom, "/kdevcustomproject/build/buildtool") == "other"); if( !DomUtil::readEntry(dom, "/kdevcustomproject/build/builddir").isEmpty() - && QFileInfo( DomUtil::readEntry(dom, "/kdevcustomproject/build/builddir") ).exists() ) + && TQFileInfo( DomUtil::readEntry(dom, "/kdevcustomproject/build/builddir") ).exists() ) { builddir_edit->setURL(DomUtil::readEntry(dom, "/kdevcustomproject/build/builddir")); builddir_edit->fileDialog()->setURL( DomUtil::readEntry(dom, "/kdevcustomproject/build/builddir") ); } else { - builddir_edit->setURL( QString() ); - builddir_edit->fileDialog()->setURL( QString() ); + builddir_edit->setURL( TQString() ); + builddir_edit->fileDialog()->setURL( TQString() ); } builddir_edit->completionObject()->setMode(KURLCompletion::DirCompletion); builddir_edit->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly ); // This connection must not be made before the ant->setChecked() line, // because at this time makeToggled() would crash - connect( make_button, SIGNAL(toggled(bool)), - this, SLOT(makeToggled(bool)) ); - connect( other_button, SIGNAL(toggled(bool)), - this, SLOT(otherToggled(bool)) ); + connect( make_button, TQT_SIGNAL(toggled(bool)), + this, TQT_SLOT(makeToggled(bool)) ); + connect( other_button, TQT_SIGNAL(toggled(bool)), + this, TQT_SLOT(otherToggled(bool)) ); } @@ -57,7 +57,7 @@ CustomBuildOptionsWidget::~CustomBuildOptionsWidget() void CustomBuildOptionsWidget::accept() { - QString buildtool; + TQString buildtool; if (ant_button->isChecked()) { buildtool = "ant"; @@ -75,7 +75,7 @@ void CustomBuildOptionsWidget::accept() } -void CustomBuildOptionsWidget::setMakeOptionsWidget(QTabWidget *tw, QWidget *mow, QWidget* oow) +void CustomBuildOptionsWidget::setMakeOptionsWidget(TQTabWidget *tw, TQWidget *mow, TQWidget* oow) { m_tabWidget = tw; m_makeOptions = mow; -- cgit v1.2.3