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 /buildtools/custommakefiles/custombuildoptionswidget.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 'buildtools/custommakefiles/custombuildoptionswidget.cpp')
-rw-r--r-- | buildtools/custommakefiles/custombuildoptionswidget.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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 <qcheckbox.h> +#include <tqcheckbox.h> #include <klineedit.h> #include <kurlrequester.h> #include <kurlcompletion.h> #include <kfiledialog.h> -#include <qradiobutton.h> -#include <qtabwidget.h> +#include <tqradiobutton.h> +#include <tqtabwidget.h> #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; |