summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles/custombuildoptionswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/custommakefiles/custombuildoptionswidget.cpp')
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidget.cpp28
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;