summaryrefslogtreecommitdiffstats
path: root/languages/pascal/compiler/fpcoptions/optiontabs.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/pascal/compiler/fpcoptions/optiontabs.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/pascal/compiler/fpcoptions/optiontabs.cpp')
-rw-r--r--languages/pascal/compiler/fpcoptions/optiontabs.cpp246
1 files changed, 123 insertions, 123 deletions
diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.cpp b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
index 2579cb3c..445ab826 100644
--- a/languages/pascal/compiler/fpcoptions/optiontabs.cpp
+++ b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
@@ -11,31 +11,31 @@
#include <kdialog.h>
#include <klocale.h>
-#include <qspinbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qvbuttongroup.h>
-#include <qapplication.h>
-#include <qframe.h>
-#include <qpushbutton.h>
+#include <tqspinbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqvbuttongroup.h>
+#include <tqapplication.h>
+#include <tqframe.h>
+#include <tqpushbutton.h>
#include "flagboxes.h"
#include "optiontabs.h"
-FeedbackTab::FeedbackTab(QWidget *parent, const char *name)
- : QWidget(parent, name), controller(new FlagCheckBoxController(QStringList::split(",","-v")))
+FeedbackTab::FeedbackTab(TQWidget *parent, const char *name)
+ : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v")))
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
- QVButtonGroup *output_group = new QVButtonGroup(i18n("Output"), this);
+ TQVButtonGroup *output_group = new TQVButtonGroup(i18n("Output"), this);
new FlagCheckBox(output_group, controller,
"-vr", i18n("Format errors like GCC does"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *verbose_group = new QVButtonGroup(i18n("Verbose"), this);
+ TQVButtonGroup *verbose_group = new TQVButtonGroup(i18n("Verbose"), this);
new FlagCheckBox(verbose_group, controller,
"-va", i18n("Write all possible info"));
new FlagCheckBox(verbose_group, controller,
@@ -53,10 +53,10 @@ FeedbackTab::FeedbackTab(QWidget *parent, const char *name)
new FlagCheckBox(verbose_group, controller,
"-vd", i18n("Write other debugging info"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *other_group = new QVButtonGroup(i18n("Other Information"), this);
+ TQVButtonGroup *other_group = new TQVButtonGroup(i18n("Other Information"), this);
new FlagCheckBox(other_group, controller,
"-vl", i18n("Show line numbers when processing files"));
new FlagCheckBox(other_group, controller,
@@ -72,7 +72,7 @@ FeedbackTab::FeedbackTab(QWidget *parent, const char *name)
new FlagCheckBox(other_group, controller,
"-vb", i18n("Show all procedure declarations if an overloaded function error occurs"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -82,23 +82,23 @@ FeedbackTab::~FeedbackTab()
delete controller;
}
-void FeedbackTab::readFlags(QStringList *list)
+void FeedbackTab::readFlags(TQStringList *list)
{
controller->readFlags(list);
}
-void FeedbackTab::writeFlags(QStringList *list)
+void FeedbackTab::writeFlags(TQStringList *list)
{
controller->writeFlags(list);
}
-FilesAndDirectoriesTab::FilesAndDirectoriesTab( QWidget * parent, const char * name )
- :QWidget(parent, name), controller(new FlagCheckBoxController()),
+FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * parent, const char * name )
+ :TQWidget(parent, name), controller(new FlagCheckBoxController()),
pathController(new FlagPathEditController())
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
new FlagPathEdit(this, ":", pathController,
@@ -109,7 +109,7 @@ FilesAndDirectoriesTab::FilesAndDirectoriesTab( QWidget * parent, const char * n
"-Fo", i18n("Object file search path (delimited by \":\"):"));
new FlagPathEdit(this, ":", pathController,
"-Fl", i18n("Library search path (delimited by \":\"):"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -119,23 +119,23 @@ FilesAndDirectoriesTab::~FilesAndDirectoriesTab( )
delete pathController;
}
-void FilesAndDirectoriesTab::readFlags( QStringList * str )
+void FilesAndDirectoriesTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
pathController->readFlags(str);
}
-void FilesAndDirectoriesTab::writeFlags( QStringList * str )
+void FilesAndDirectoriesTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
pathController->writeFlags(str);
}
-FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( QWidget * parent, const char * name )
- :QWidget(parent, name), controller(new FlagCheckBoxController()),
+FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char * name )
+ :TQWidget(parent, name), controller(new FlagCheckBoxController()),
pathController(new FlagPathEditController())
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
new FlagPathEdit(this, "", pathController,
@@ -144,21 +144,21 @@ FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( QWidget * parent, const char *
"-FU", i18n("Write units in:"));
new FlagPathEdit(this, "", pathController,
"-o", i18n("Executable name:"), KFile::File);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(20);
new FlagPathEdit(this, "", pathController,
"-e", i18n("Location of as and ld programs:"));
new FlagPathEdit(this, "", pathController,
"-FL", i18n("Dynamic linker executable:"), KFile::File);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(20);
new FlagPathEdit(this, "", pathController,
"-Fr", i18n("Compiler messages file:"), KFile::File);
new FlagPathEdit(this, "", pathController,
"-Fe", i18n("Write compiler messages to file:"), KFile::File);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -169,26 +169,26 @@ FilesAndDirectoriesTab2::~FilesAndDirectoriesTab2( )
delete pathController;
}
-void FilesAndDirectoriesTab2::readFlags( QStringList * str )
+void FilesAndDirectoriesTab2::readFlags( TQStringList * str )
{
controller->readFlags(str);
pathController->readFlags(str);
}
-void FilesAndDirectoriesTab2::writeFlags( QStringList * str )
+void FilesAndDirectoriesTab2::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
pathController->writeFlags(str);
}
-LanguageTab::LanguageTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController(QStringList::split(",","-v")))
+LanguageTab::LanguageTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v")))
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
- QVButtonGroup *compat_group = new QVButtonGroup(i18n("Pascal Compatibility"), this);
+ TQVButtonGroup *compat_group = new TQVButtonGroup(i18n("Pascal Compatibility"), this);
new FlagCheckBox(compat_group, controller,
"-S2", i18n("Switch on Delphi 2 extensions"));
new FlagCheckBox(compat_group, controller,
@@ -197,20 +197,20 @@ LanguageTab::LanguageTab( QWidget * parent, const char * name )
"-So", i18n("Borland TP 7.0 compatibility mode"));
new FlagCheckBox(compat_group, controller,
"-Sp", i18n("GNU Pascal compatibility mode"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *ccompat_group = new QVButtonGroup(i18n("C/C++ Compatibility"), this);
+ TQVButtonGroup *ccompat_group = new TQVButtonGroup(i18n("C/C++ Compatibility"), this);
new FlagCheckBox(ccompat_group, controller,
"-Sc", i18n("Support C style operators *=, +=, /=, -="));
new FlagCheckBox(ccompat_group, controller,
"-Si", i18n("Support C++ style INLINE"));
new FlagCheckBox(ccompat_group, controller,
"-Sm", i18n("Support C style macros"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *lang_group = new QVButtonGroup(i18n("Language"), this);
+ TQVButtonGroup *lang_group = new TQVButtonGroup(i18n("Language"), this);
new FlagCheckBox(lang_group, controller,
"-Sg", i18n("Support the label and goto commands"));
new FlagCheckBox(lang_group, controller,
@@ -219,7 +219,7 @@ LanguageTab::LanguageTab( QWidget * parent, const char * name )
"-Ss", i18n("Require the name of constructors to be init\n and the name of destructors to be done"));
new FlagCheckBox(lang_group, controller,
"-St", i18n("Allow the static keyword in objects"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -229,26 +229,26 @@ LanguageTab::LanguageTab( QWidget * parent, const char * name )
delete controller;
}
-void LanguageTab::readFlags( QStringList * str )
+void LanguageTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
}
-void LanguageTab::writeFlags( QStringList * str )
+void LanguageTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
}
-AssemblerTab::AssemblerTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController()),
+AssemblerTab::AssemblerTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController()),
asmController(new FlagRadioButtonController)
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
// layout->setAutoAdd(true);
- QBoxLayout *layout2 = new QHBoxLayout(layout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
- QVButtonGroup *info_group = new QVButtonGroup(i18n("Assembler Info"), this);
+ TQVButtonGroup *info_group = new TQVButtonGroup(i18n("Assembler Info"), this);
new FlagCheckBox(info_group, controller,
"-a", i18n("Do not delete assembler files"));
new FlagCheckBox(info_group, controller,
@@ -258,11 +258,11 @@ AssemblerTab::AssemblerTab( QWidget * parent, const char * name )
new FlagCheckBox(info_group, controller,
"-at", i18n("List temporary allocations and deallocations"));
layout2->addWidget(info_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
//layout->addSpacing(10);
- QVButtonGroup *asmkind_group = new QVButtonGroup(i18n("Assembler Reader"), this);
- QRadioButton *m_defaultkind = new QRadioButton(i18n("Use default reader"), asmkind_group);
+ TQVButtonGroup *asmkind_group = new TQVButtonGroup(i18n("Assembler Reader"), this);
+ TQRadioButton *m_defaultkind = new TQRadioButton(i18n("Use default reader"), asmkind_group);
m_defaultkind->setChecked(true);
new FlagRadioButton(asmkind_group, asmController,
"-Ratt", i18n("AT&T style assembler"));
@@ -271,14 +271,14 @@ AssemblerTab::AssemblerTab( QWidget * parent, const char * name )
new FlagRadioButton(asmkind_group, asmController,
"-Rdirect", i18n("Direct assembler"));
layout2->addWidget(asmkind_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *asm_group = new QVButtonGroup(i18n("Assembler Output"), this);
+ TQVButtonGroup *asm_group = new TQVButtonGroup(i18n("Assembler Output"), this);
new FlagCheckBox(asm_group, controller,
"-P", i18n("Use pipes instead of files when assembling"));
- QRadioButton *m_default = new QRadioButton(i18n("Use default output"), asm_group);
+ TQRadioButton *m_default = new TQRadioButton(i18n("Use default output"), asm_group);
m_default->setChecked(true);
new FlagRadioButton(asm_group, asmController,
"-Aas", i18n("Use GNU as"));
@@ -299,7 +299,7 @@ AssemblerTab::AssemblerTab( QWidget * parent, const char * name )
new FlagRadioButton(asm_group, asmController,
"-Apecoff", i18n("Use pecoff"));
layout->addWidget(asm_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -310,13 +310,13 @@ AssemblerTab::AssemblerTab( QWidget * parent, const char * name )
delete asmController;
}
-void AssemblerTab::readFlags( QStringList * str )
+void AssemblerTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
asmController->readFlags(str);
}
-void AssemblerTab::writeFlags( QStringList * str )
+void AssemblerTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
asmController->writeFlags(str);
@@ -324,18 +324,18 @@ void AssemblerTab::writeFlags( QStringList * str )
-DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController()),
+DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController()),
optimController(new FlagRadioButtonController)
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
// layout->setAutoAdd(true);
- QBoxLayout *layout2 = new QHBoxLayout(layout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
- QBoxLayout *layout3 = new QVBoxLayout(layout2, KDialog::spacingHint());
+ TQBoxLayout *layout3 = new TQVBoxLayout(layout2, KDialog::spacingHint());
- QVButtonGroup *debug_group = new QVButtonGroup(i18n("Debugging"), this);
+ TQVButtonGroup *debug_group = new TQVButtonGroup(i18n("Debugging"), this);
new FlagCheckBox(debug_group, controller,
"-g", i18n("Generate information for GDB"), "-!g");
new FlagCheckBox(debug_group, controller,
@@ -347,31 +347,31 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name )
new FlagCheckBox(debug_group, controller,
"-gc", i18n("Generate checks for pointers"), "-!gc");
layout3->addWidget(debug_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout3->addSpacing(10);
- QVButtonGroup *profile_group = new QVButtonGroup(i18n("Profiling"), this);
+ TQVButtonGroup *profile_group = new TQVButtonGroup(i18n("Profiling"), this);
new FlagCheckBox(profile_group, controller,
"-pg", i18n("Generate profiler code for gprof"), "-!pg");
layout3->addWidget(profile_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout3->addSpacing(10);
- QBoxLayout *layout4 = new QVBoxLayout(layout2, KDialog::spacingHint());
+ TQBoxLayout *layout4 = new TQVBoxLayout(layout2, KDialog::spacingHint());
- QVButtonGroup *optim_group1 = new QVButtonGroup(i18n("General Optimization"), this);
- m_default = new QRadioButton(i18n("Default"), optim_group1);
+ TQVButtonGroup *optim_group1 = new TQVButtonGroup(i18n("General Optimization"), this);
+ m_default = new TQRadioButton(i18n("Default"), optim_group1);
m_default->setChecked(true);
new FlagRadioButton(optim_group1, optimController,
"-Og", i18n("Generate smaller code"));
optim1 = new FlagRadioButton(optim_group1, optimController,
"-OG", i18n("Generate faster code"));
layout4->addWidget(optim_group1);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout4->addSpacing(10);
- QVButtonGroup *optim_group2 = new QVButtonGroup(i18n("Optimization Levels"), this);
- m_default2 = new QRadioButton(i18n("Default"), optim_group2);
+ TQVButtonGroup *optim_group2 = new TQVButtonGroup(i18n("Optimization Levels"), this);
+ m_default2 = new TQRadioButton(i18n("Default"), optim_group2);
m_default2->setChecked(true);
new FlagRadioButton(optim_group2, optimController,
"-O1", i18n("Level 1"));
@@ -380,13 +380,13 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name )
optim2 = new FlagRadioButton(optim_group2, optimController,
"-O3", i18n("Level 3"));
layout4->addWidget(optim_group2);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout4->addSpacing(10);
- QHBoxLayout *layout5 = new QHBoxLayout(layout, KDialog::spacingHint());
+ TQHBoxLayout *layout5 = new TQHBoxLayout(layout, KDialog::spacingHint());
- QVButtonGroup *optim_group3 = new QVButtonGroup(i18n("Architecture"), this);
- m_default3 = new QRadioButton(i18n("Default"), optim_group3);
+ TQVButtonGroup *optim_group3 = new TQVButtonGroup(i18n("Architecture"), this);
+ m_default3 = new TQRadioButton(i18n("Default"), optim_group3);
m_default3->setChecked(true);
new FlagRadioButton(optim_group3, optimController,
"-Op1", i18n("386/486"));
@@ -395,23 +395,23 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name )
new FlagRadioButton(optim_group3, optimController,
"-Op2", i18n("PentiumPro/PII/Cyrix 6x86/K6"));
layout5->addWidget(optim_group3);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- QVButtonGroup *optim_group4 = new QVButtonGroup(i18n("Another Optimization"), this);
+ TQVButtonGroup *optim_group4 = new TQVButtonGroup(i18n("Another Optimization"), this);
new FlagCheckBox(optim_group4, controller,
"-Or", i18n("Use register variables"), "-!Or");
new FlagCheckBox(optim_group4, controller,
"-Ou", i18n("Uncertain optimizations"), "-!Ou");
layout5->addWidget(optim_group4);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- QHBoxLayout *layout6 = new QHBoxLayout(layout, KDialog::spacingHint());
- QPushButton *release = new QPushButton(i18n("Release"), this);
- QPushButton *debug = new QPushButton(i18n("Debug"), this);
+ TQHBoxLayout *layout6 = new TQHBoxLayout(layout, KDialog::spacingHint());
+ TQPushButton *release = new TQPushButton(i18n("Release"), this);
+ TQPushButton *debug = new TQPushButton(i18n("Debug"), this);
layout6->addWidget(release);
layout6->addWidget(debug);
- connect(release, SIGNAL(clicked()), this, SLOT(setReleaseOptions()));
- connect(debug, SIGNAL(clicked()), this, SLOT(setDebugOptions()));
+ connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions()));
+ connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions()));
layout->addStretch();
}
@@ -422,13 +422,13 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name )
delete optimController;
}
-void DebugOptimTab::readFlags( QStringList * str )
+void DebugOptimTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
optimController->readFlags(str);
}
-void DebugOptimTab::writeFlags( QStringList * str )
+void DebugOptimTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
optimController->writeFlags(str);
@@ -439,7 +439,7 @@ void DebugOptimTab::setReleaseOptions()
m_default->setChecked(true);
m_default2->setChecked(true);
// m_default3->setChecked(true);
- QStringList sl = QStringList::split(",", "-!g,-!gd,-!gl,-!gh,-!gc,-!pg,-!Ou,-!Or");
+ TQStringList sl = TQStringList::split(",", "-!g,-!gd,-!gl,-!gh,-!gc,-!pg,-!Ou,-!Or");
readFlags(&sl);
optim1->setChecked(true);
optim2->setChecked(true);
@@ -447,29 +447,29 @@ void DebugOptimTab::setReleaseOptions()
void DebugOptimTab::setDebugOptions()
{
- QStringList sl = QStringList::split(",", "-g,-gl,-gh,-gc");
+ TQStringList sl = TQStringList::split(",", "-g,-gl,-gh,-gc");
readFlags(&sl);
m_default->setChecked(true);
m_default2->setChecked(true);
// m_default3->setChecked(true);
}
-CodegenTab::CodegenTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController()),
+CodegenTab::CodegenTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController()),
listController(new FlagEditController())
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
- QVButtonGroup *compile_group = new QVButtonGroup(i18n("Compile Time Checks"), this);
+ TQVButtonGroup *compile_group = new TQVButtonGroup(i18n("Compile Time Checks"), this);
new FlagCheckBox(compile_group, controller,
"-Sa", i18n("Include assert statements in compiled code"));
new FlagCheckBox(compile_group, controller,
"-Un", i18n("Do not check the unit name for being the same as the file name"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *run_group = new QVButtonGroup(i18n("Run Time Checks"), this);
+ TQVButtonGroup *run_group = new TQVButtonGroup(i18n("Run Time Checks"), this);
new FlagCheckBox(run_group, controller,
"-Cr", i18n("Range checking"));
new FlagCheckBox(run_group, controller,
@@ -478,21 +478,21 @@ CodegenTab::CodegenTab( QWidget * parent, const char * name )
"-Ci", i18n("Input/Output checking"));
new FlagCheckBox(run_group, controller,
"-Co", i18n("Integer overflow checking"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
new FlagListEdit(this, ":", listController, "-d", i18n("Conditional defines (delimited by \":\"):"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
new FlagListEdit(this, ":", listController, "-u", i18n("Undefine conditional defines (delimited by \":\"):"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
new FlagSpinEdit(this, 1024, 67107840, 1, 131072, listController,
"-Cs", i18n("Stack size:"));
new FlagSpinEdit(this, 1024, 67107840, 1, 2097152, listController,
"-Ch", i18n("Heap size:"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -503,27 +503,27 @@ CodegenTab::~ CodegenTab( )
delete listController;
}
-void CodegenTab::readFlags( QStringList * str )
+void CodegenTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
listController->readFlags(str);
}
-void CodegenTab::writeFlags( QStringList * str )
+void CodegenTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
listController->writeFlags(str);
}
-LinkerTab::LinkerTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController()),
+LinkerTab::LinkerTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController()),
listController(new FlagEditController())
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- QBoxLayout *layout2 = new QHBoxLayout(layout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
- QVButtonGroup *link_group = new QVButtonGroup(i18n("Linking Stage"), this);
+ TQVButtonGroup *link_group = new TQVButtonGroup(i18n("Linking Stage"), this);
new FlagCheckBox(link_group, controller,
"-CD", i18n("Create dynamic library"));
new FlagCheckBox(link_group, controller,
@@ -535,9 +535,9 @@ LinkerTab::LinkerTab( QWidget * parent, const char * name )
new FlagCheckBox(link_group, controller,
"-s", i18n("Create assembling and linking script"));
layout2->addWidget(link_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- QVButtonGroup *exec_group = new QVButtonGroup(i18n("Executable Generation"), this);
+ TQVButtonGroup *exec_group = new TQVButtonGroup(i18n("Executable Generation"), this);
new FlagCheckBox(exec_group, controller,
"-Xs", i18n("Strip the symbols from the executable"));
new FlagCheckBox(exec_group, controller,
@@ -549,12 +549,12 @@ LinkerTab::LinkerTab( QWidget * parent, const char * name )
new FlagCheckBox(exec_group, controller,
"-Xc", i18n("Link with the C library"));
layout2->addWidget(exec_group);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
FlagListEdit *led = new FlagListEdit(this, ":", listController, "-k", i18n("Options passed to the linker (delimited by \":\"):"));
layout->addWidget(led);
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addStretch();
}
@@ -565,25 +565,25 @@ LinkerTab::~LinkerTab( )
delete listController;
}
-void LinkerTab::readFlags( QStringList * str )
+void LinkerTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
listController->readFlags(str);
}
-void LinkerTab::writeFlags( QStringList * str )
+void LinkerTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
listController->writeFlags(str);
}
-MiscTab::MiscTab( QWidget * parent, const char * name )
- : QWidget(parent, name), controller(new FlagCheckBoxController()),
+MiscTab::MiscTab( TQWidget * parent, const char * name )
+ : TQWidget(parent, name), controller(new FlagCheckBoxController()),
radioController(new FlagRadioButtonController()),
pathController(new FlagPathEditController()),
editController(new FlagEditController())
{
- QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
new FlagCheckBox(this, controller,
@@ -594,21 +594,21 @@ MiscTab::MiscTab( QWidget * parent, const char * name )
"@", i18n("Compiler configuration file:"), KFile::File);
new FlagSpinEdit(this, 1, 1000, 1, 50, editController,
"-Se", i18n("Stop after the error:"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *browser_group = new QVButtonGroup(i18n("Browser Info"), this);
- QRadioButton *m_defaultBrowser = new QRadioButton(i18n("No browser info"), browser_group);
+ TQVButtonGroup *browser_group = new TQVButtonGroup(i18n("Browser Info"), this);
+ TQRadioButton *m_defaultBrowser = new TQRadioButton(i18n("No browser info"), browser_group);
m_defaultBrowser->setChecked(true);
new FlagRadioButton(browser_group, radioController,
"-b", i18n("Global browser info"));
new FlagRadioButton(browser_group, radioController,
"-bl", i18n("Global and local browser info"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
- QVButtonGroup *target_group = new QVButtonGroup(i18n("Target OS"), this);
- QRadioButton *m_defaultTarget = new QRadioButton(i18n("Default"), target_group);
+ TQVButtonGroup *target_group = new TQVButtonGroup(i18n("Target OS"), this);
+ TQRadioButton *m_defaultTarget = new TQRadioButton(i18n("Default"), target_group);
m_defaultTarget->setChecked(true);
new FlagRadioButton(target_group, radioController,
"-TGO32V1", i18n("DOS and version 1 of the DJ DELORIE extender"));
@@ -624,7 +624,7 @@ MiscTab::MiscTab( QWidget * parent, const char * name )
"-TSUNOS", i18n("SunOS/Solaris"));
new FlagRadioButton(target_group, radioController,
"-TBEOS", i18n("BeOS"));
- QApplication::sendPostedEvents(this, QEvent::ChildInserted);
+ TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
layout->addSpacing(10);
layout->addStretch();
@@ -638,7 +638,7 @@ MiscTab::~ MiscTab( )
delete editController;
}
-void MiscTab::readFlags( QStringList * str )
+void MiscTab::readFlags( TQStringList * str )
{
controller->readFlags(str);
radioController->readFlags(str);
@@ -646,7 +646,7 @@ void MiscTab::readFlags( QStringList * str )
editController->readFlags(str);
}
-void MiscTab::writeFlags( QStringList * str )
+void MiscTab::writeFlags( TQStringList * str )
{
controller->writeFlags(str);
radioController->writeFlags(str);