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/pascal/compiler/dccoptions | |
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/pascal/compiler/dccoptions')
4 files changed, 117 insertions, 117 deletions
diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp index a65ca9d6..2d267519 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp @@ -8,8 +8,8 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include <qvbox.h> -#include <qdialog.h> +#include <tqvbox.h> +#include <tqdialog.h> #include <kdebug.h> #include <klocale.h> @@ -21,7 +21,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevdccoptions, KGenericFactory<DccOptionsPlugin>( "kdevdccoptions" ) ) -DccOptionsPlugin::DccOptionsPlugin(QObject *parent, const char *name, const QStringList/* &args*/) +DccOptionsPlugin::DccOptionsPlugin(TQObject *parent, const char *name, const QStringList/* &args*/) : KDevCompilerOptions(parent, name) { } @@ -30,22 +30,22 @@ DccOptionsPlugin::~DccOptionsPlugin() { } -QString DccOptionsPlugin::exec(QWidget *parent, const QString &flags) +TQString DccOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { DccOptionsDialog *dlg = new DccOptionsDialog(parent, "dcc options dialog"); - QString newFlags = flags; + TQString newFlags = flags; dlg->setFlags(flags); - if(dlg->exec() == QDialog::Accepted) + if(dlg->exec() == TQDialog::Accepted) newFlags = dlg->flags(); delete dlg; return newFlags; } -DccOptionsDialog::DccOptionsDialog( QWidget * parent, const char * name ) +DccOptionsDialog::DccOptionsDialog( TQWidget * parent, const char * name ) : KDialogBase(Tabbed, i18n("Delphi Compiler Options"), Ok|Cancel, Ok, parent, name, true) { - QVBox *vbox; + TQVBox *vbox; vbox = addVBoxPage(i18n("General")); general = new GeneralTab(vbox, "general tab"); @@ -70,9 +70,9 @@ DccOptionsDialog::~DccOptionsDialog( ) { } -void DccOptionsDialog::setFlags( const QString & flags ) +void DccOptionsDialog::setFlags( const TQString & flags ) { - QStringList flaglist = QStringList::split(" ", flags); + TQStringList flaglist = TQStringList::split(" ", flags); general->readFlags(&flaglist); codegen->readFlags(&flaglist); @@ -84,9 +84,9 @@ void DccOptionsDialog::setFlags( const QString & flags ) unrecognizedFlags = flaglist; } -QString DccOptionsDialog::flags( ) const +TQString DccOptionsDialog::flags( ) const { - QStringList flaglist; + TQStringList flaglist; general->writeFlags(&flaglist); locations->writeFlags(&flaglist); @@ -95,8 +95,8 @@ QString DccOptionsDialog::flags( ) const debug_optim->writeFlags(&flaglist); linker->writeFlags(&flaglist); - QString flags; - QStringList::ConstIterator li; + TQString flags; + TQStringList::ConstIterator li; for (li = flaglist.begin(); li != flaglist.end(); ++li) { flags += (*li); flags += " "; diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h index 35f34532..04a2392e 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h @@ -20,10 +20,10 @@ class DccOptionsPlugin : public KDevCompilerOptions Q_OBJECT public: - DccOptionsPlugin( QObject *parent, const char *name, const QStringList/* &args */); + DccOptionsPlugin( TQObject *parent, const char *name, const QStringList/* &args */); ~DccOptionsPlugin(); - virtual QString exec(QWidget *parent, const QString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; class GeneralTab; @@ -36,11 +36,11 @@ class DebugOptimTab; class DccOptionsDialog : public KDialogBase { public: - DccOptionsDialog( QWidget *parent=0, const char *name=0 ); + DccOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~DccOptionsDialog(); - void setFlags(const QString &flags); - QString flags() const; + void setFlags(const TQString &flags); + TQString flags() const; private: GeneralTab *general; @@ -49,7 +49,7 @@ private: Locations2Tab *locations2; CodegenTab *codegen; DebugOptimTab *debug_optim; - QStringList unrecognizedFlags; + TQStringList unrecognizedFlags; }; diff --git a/languages/pascal/compiler/dccoptions/optiontabs.cpp b/languages/pascal/compiler/dccoptions/optiontabs.cpp index 97622606..94c8b35c 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.cpp +++ b/languages/pascal/compiler/dccoptions/optiontabs.cpp @@ -10,27 +10,27 @@ #include <kdialog.h> #include <klocale.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qvbuttongroup.h> -#include <qapplication.h> -#include <qpushbutton.h> +#include <tqspinbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqvbuttongroup.h> +#include <tqapplication.h> +#include <tqpushbutton.h> #include "flagboxes.h" #include "optiontabs.h" -LinkerTab::LinkerTab( QWidget * parent, const char * name ) - : QWidget(parent, name), radioController(new FlagRadioButtonController()), +LinkerTab::LinkerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), 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); - QVButtonGroup *map_group = new QVButtonGroup(i18n("Map File"), this); - QRadioButton *m_defaultMap = new QRadioButton(i18n("Off"), map_group); + TQVButtonGroup *map_group = new TQVButtonGroup(i18n("Map File"), this); + TQRadioButton *m_defaultMap = new TQRadioButton(i18n("Off"), map_group); m_defaultMap->setChecked(true); new FlagRadioButton(map_group, radioController, "-GS", i18n("Segments")); @@ -38,17 +38,17 @@ LinkerTab::LinkerTab( QWidget * parent, const char * name ) "-GP", i18n("Publics")); new FlagRadioButton(map_group, radioController, "-GD", i18n("Detailed")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); new FlagPathEdit(this, "", pathController, "--dynamicloader=", i18n("Default dynamic loader:"), KFile::File); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); new FlagSpinEdit(this, 0, 2147483647, 1024, 1048576, editController, "-$M", i18n("Reserved address space:")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); layout->addStretch(); @@ -61,14 +61,14 @@ LinkerTab::~LinkerTab( ) delete editController; } -void LinkerTab::readFlags( QStringList * str ) +void LinkerTab::readFlags( TQStringList * str ) { pathController->readFlags(str); radioController->readFlags(str); editController->readFlags(str); } -void LinkerTab::writeFlags( QStringList * str ) +void LinkerTab::writeFlags( TQStringList * str ) { pathController->writeFlags(str); radioController->writeFlags(str); @@ -77,10 +77,10 @@ void LinkerTab::writeFlags( QStringList * str ) -LocationsTab::LocationsTab( QWidget * parent, const char * name ) - :QWidget(parent, name), pathController(new FlagPathEditController()) +LocationsTab::LocationsTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), 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, @@ -91,7 +91,7 @@ LocationsTab::LocationsTab( QWidget * parent, const char * name ) "-U", i18n("Unit search path (delimited by \":\"):")); new FlagPathEdit(this, ":", pathController, "-O", i18n("Object search path (delimited by \":\"):")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addStretch(); } @@ -100,22 +100,22 @@ LocationsTab::~LocationsTab( ) delete pathController; } -void LocationsTab::readFlags( QStringList * str ) +void LocationsTab::readFlags( TQStringList * str ) { pathController->readFlags(str); } -void LocationsTab::writeFlags( QStringList * str ) +void LocationsTab::writeFlags( TQStringList * str ) { pathController->writeFlags(str); } -Locations2Tab::Locations2Tab( QWidget * parent, const char * name ) - :QWidget(parent, name), pathController(new FlagPathEditController()) +Locations2Tab::Locations2Tab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), 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, @@ -126,7 +126,7 @@ Locations2Tab::Locations2Tab( QWidget * parent, const char * name ) "-LE", i18n("Package directory:")); new FlagPathEdit(this, "", pathController, "-LN", i18n("Package source code directory:")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addStretch(); } @@ -135,26 +135,26 @@ Locations2Tab::~Locations2Tab( ) delete pathController; } -void Locations2Tab::readFlags( QStringList * str ) +void Locations2Tab::readFlags( TQStringList * str ) { pathController->readFlags(str); } -void Locations2Tab::writeFlags( QStringList * str ) +void Locations2Tab::writeFlags( TQStringList * str ) { pathController->writeFlags(str); } -GeneralTab::GeneralTab( QWidget * parent, const char * name ) - :QWidget(parent, name), controller(new FlagCheckBoxController()), +GeneralTab::GeneralTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), editController(new FlagEditController()) { - QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); layout->setAutoAdd(true); - QVButtonGroup *build_group = new QVButtonGroup(i18n("Build"), this); + TQVButtonGroup *build_group = new TQVButtonGroup(i18n("Build"), this); new FlagCheckBox(build_group, controller, "-B", i18n("Build all units")); new FlagCheckBox(build_group, controller, @@ -163,29 +163,29 @@ GeneralTab::GeneralTab( QWidget * parent, const char * name ) "-Q", i18n("Quiet compile")); new FlagCheckBox(build_group, controller, "-Z", i18n("Disable implicit package compilation")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); new FlagListEdit(this, ":", editController, "-D", i18n("Conditional defines (delimited by \":\"):")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); new FlagListEdit(this, ":", editController, "-A", i18n("Unit aliases in form unit=alias (delimited by \":\"):")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); - QVButtonGroup *message_group = new QVButtonGroup(i18n("Messages"), this); + TQVButtonGroup *message_group = new TQVButtonGroup(i18n("Messages"), this); new FlagCheckBox(message_group, controller, "-H", i18n("Output hint messages")); new FlagCheckBox(message_group, controller, "-W", i18n("Output warning messages")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); - QVButtonGroup *package_group = new QVButtonGroup(i18n("Packages"), this); + TQVButtonGroup *package_group = new TQVButtonGroup(i18n("Packages"), this); new FlagListEdit(package_group, ":", editController, "-LU", i18n("Build with packages (delimited by \":\"):")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addStretch(); } @@ -196,13 +196,13 @@ GeneralTab::~GeneralTab( ) delete editController; } -void GeneralTab::readFlags( QStringList * str ) +void GeneralTab::readFlags( TQStringList * str ) { controller->readFlags(str); editController->readFlags(str); } -void GeneralTab::writeFlags( QStringList * str ) +void GeneralTab::writeFlags( TQStringList * str ) { controller->writeFlags(str); editController->writeFlags(str); @@ -210,18 +210,18 @@ void GeneralTab::writeFlags( QStringList * str ) -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()), radioController(new FlagRadioButtonController()) { - QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); // layout->setAutoAdd(true); - QGridLayout *layout2 = new QGridLayout(layout, 2, 2, KDialog::spacingHint()); + TQGridLayout *layout2 = new TQGridLayout(layout, 2, 2, KDialog::spacingHint()); - QVButtonGroup *align_group = new QVButtonGroup(i18n("Code Alignment && Stack Frames"), this); - QRadioButton *align_def = new QRadioButton(i18n("Default (-$A8)"), align_group); + TQVButtonGroup *align_group = new TQVButtonGroup(i18n("Code Alignment && Stack Frames"), this); + TQRadioButton *align_def = new TQRadioButton(i18n("Default (-$A8)"), align_group); align_def->setChecked(true); new FlagRadioButton(align_group, radioController, "'-$A1'", i18n("Never align")); @@ -233,11 +233,11 @@ CodegenTab::CodegenTab( QWidget * parent, const char * name ) "'-$A8'", i18n("On quad word boundaries")); new FlagCheckBox(align_group, controller, "'-$W+'", i18n("Generate stack frames"), "'-$W-'"); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout2->addWidget(align_group, 0, 0); - QVButtonGroup *enum_group = new QVButtonGroup(i18n("Enumeration Size"), this); - QRadioButton *enum_def = new QRadioButton(i18n("Default (-$Z1)"), enum_group); + TQVButtonGroup *enum_group = new TQVButtonGroup(i18n("Enumeration Size"), this); + TQRadioButton *enum_def = new TQRadioButton(i18n("Default (-$Z1)"), enum_group); enum_def->setChecked(true); new FlagRadioButton(enum_group, radioController, "'-$Z1'", i18n("Unsigned byte (256 values)")); @@ -245,10 +245,10 @@ CodegenTab::CodegenTab( QWidget * parent, const char * name ) "'-$Z2'", i18n("Unsigned word (64K values)")); new FlagRadioButton(enum_group, radioController, "'-$Z4'", i18n("Unsigned double word (4096M values)")); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout2->addWidget(enum_group, 0, 1); - 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, "'-$C+'", i18n("Assertions"), "'-$C-'", "'-$C+'"); new FlagCheckBox(compile_group, controller, @@ -265,10 +265,10 @@ CodegenTab::CodegenTab( QWidget * parent, const char * name ) "'-$V+'", i18n("Var-string checking"), "'-$V-'", "'-$V+'"); new FlagCheckBox(compile_group, controller, "'-$J+'", i18n("Writable typed constants"), "'-$J-'"); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout2->addWidget(compile_group, 1, 0); - 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, "'-$M+'", i18n("Runtime type information"), "'-$M-'"); new FlagCheckBox(run_group, controller, @@ -279,7 +279,7 @@ CodegenTab::CodegenTab( QWidget * parent, const char * name ) "'-$Q+'", i18n("Overflow checking"), "'-$Q-'"); new FlagCheckBox(run_group, controller, "'-$R+'", i18n("Range checking"), "'-$R-'"); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout2->addWidget(run_group, 1, 1); layout->addStretch(); @@ -292,14 +292,14 @@ CodegenTab::~CodegenTab( ) delete radioController; } -void CodegenTab::readFlags( QStringList * str ) +void CodegenTab::readFlags( TQStringList * str ) { controller->readFlags(str); listController->readFlags(str); radioController->readFlags(str); } -void CodegenTab::writeFlags( QStringList * str ) +void CodegenTab::writeFlags( TQStringList * str ) { controller->writeFlags(str); listController->writeFlags(str); @@ -308,23 +308,23 @@ void CodegenTab::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()), radioController(new FlagRadioButtonController) { - QBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); // layout->setAutoAdd(true); - QVButtonGroup *optim_group = new QVButtonGroup(i18n("Optimization"), this); + TQVButtonGroup *optim_group = new TQVButtonGroup(i18n("Optimization"), this); new FlagCheckBox(optim_group, controller, "'-$O+'", i18n("Enable optimizations"), "'-$O-'", "'-$O+'"); layout->addWidget(optim_group); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); - QBoxLayout *layout2 = new QHBoxLayout(layout, KDialog::spacingHint()); + TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint()); - QVButtonGroup *debug_group = new QVButtonGroup(i18n("Debugging"), this); + TQVButtonGroup *debug_group = new TQVButtonGroup(i18n("Debugging"), this); new FlagCheckBox(debug_group, controller, "'-$D+'", i18n("Debug information"), "'-$D-'", "'-$D+'"); new FlagCheckBox(debug_group, controller, @@ -336,10 +336,10 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name ) symboldb = new FlagCheckBox(debug_group, controller, "-VR", i18n("Write symbol info in an .rsm file")); layout2->addWidget(debug_group); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); - QVButtonGroup *debug_add = new QVButtonGroup(i18n("Symbol Reference Information"), this); - QRadioButton *m_default = new QRadioButton(i18n("Default (-$YD)"), debug_add); + TQVButtonGroup *debug_add = new TQVButtonGroup(i18n("Symbol Reference Information"), this); + TQRadioButton *m_default = new TQRadioButton(i18n("Default (-$YD)"), debug_add); m_default->setChecked(true); new FlagRadioButton(debug_add, radioController, "'-$Y-'", i18n("No information")); @@ -348,17 +348,17 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name ) new FlagRadioButton(debug_add, radioController, "'-$Y+'", i18n("Full reference information")); layout2->addWidget(debug_add); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); layout->addSpacing(10); - QHBoxLayout *layout3 = new QHBoxLayout(layout, KDialog::spacingHint()); - QPushButton *release = new QPushButton(i18n("Release"), this); - QPushButton *debug = new QPushButton(i18n("Debug"), this); + TQHBoxLayout *layout3 = new TQHBoxLayout(layout, KDialog::spacingHint()); + TQPushButton *release = new TQPushButton(i18n("Release"), this); + TQPushButton *debug = new TQPushButton(i18n("Debug"), this); layout3->addWidget(release); layout3->addWidget(debug); - QApplication::sendPostedEvents(this, QEvent::ChildInserted); - connect(release, SIGNAL(clicked()), this, SLOT(setReleaseOptions())); - connect(debug, SIGNAL(clicked()), this, SLOT(setDebugOptions())); + TQApplication::sendPostedEvents(this, TQEvent::ChildInserted); + connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions())); + connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions())); layout->addStretch(); } @@ -369,13 +369,13 @@ DebugOptimTab::DebugOptimTab( QWidget * parent, const char * name ) delete radioController; } -void DebugOptimTab::readFlags( QStringList * str ) +void DebugOptimTab::readFlags( TQStringList * str ) { controller->readFlags(str); radioController->readFlags(str); } -void DebugOptimTab::writeFlags( QStringList * str ) +void DebugOptimTab::writeFlags( TQStringList * str ) { controller->writeFlags(str); radioController->writeFlags(str); @@ -383,7 +383,7 @@ void DebugOptimTab::writeFlags( QStringList * str ) void DebugOptimTab::setReleaseOptions() { - QStringList sl = QStringList::split(",", "'-$O+','-$Y-','-$D-','-$L-'"); + TQStringList sl = TQStringList::split(",", "'-$O+','-$Y-','-$D-','-$L-'"); readFlags(&sl); gdb->setChecked(false); namespacedb->setChecked(false); @@ -392,7 +392,7 @@ void DebugOptimTab::setReleaseOptions() void DebugOptimTab::setDebugOptions() { - QStringList sl = QStringList::split(",", "'-$O-','-$Y+','-$D+','-$L+',-V,-VN"); + TQStringList sl = TQStringList::split(",", "'-$O-','-$Y+','-$D+','-$L+',-V,-VN"); readFlags(&sl); } diff --git a/languages/pascal/compiler/dccoptions/optiontabs.h b/languages/pascal/compiler/dccoptions/optiontabs.h index 048684a5..835c2ddb 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.h +++ b/languages/pascal/compiler/dccoptions/optiontabs.h @@ -10,7 +10,7 @@ #ifndef OPTIONTABS_H #define OPTIONTABS_H -#include <qwidget.h> +#include <tqwidget.h> class FlagRadioButtonController; class FlagPathEditController; @@ -23,11 +23,11 @@ class FlagCheckBox; class LinkerTab : public QWidget { public: - LinkerTab( QWidget *parent=0, const char *name=0 ); + LinkerTab( TQWidget *parent=0, const char *name=0 ); ~LinkerTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagRadioButtonController *radioController; @@ -38,11 +38,11 @@ private: class LocationsTab : public QWidget { public: - LocationsTab( QWidget *parent=0, const char *name=0 ); + LocationsTab( TQWidget *parent=0, const char *name=0 ); ~LocationsTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagPathEditController *pathController; @@ -51,11 +51,11 @@ private: class Locations2Tab : public QWidget { public: - Locations2Tab( QWidget *parent=0, const char *name=0 ); + Locations2Tab( TQWidget *parent=0, const char *name=0 ); ~Locations2Tab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagPathEditController *pathController; @@ -64,11 +64,11 @@ private: class GeneralTab: public QWidget { public: - GeneralTab( QWidget *parent=0, const char *name=0 ); + GeneralTab( TQWidget *parent=0, const char *name=0 ); ~GeneralTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -78,11 +78,11 @@ private: class CodegenTab : public QWidget { public: - CodegenTab( QWidget *parent=0, const char *name=0 ); + CodegenTab( TQWidget *parent=0, const char *name=0 ); ~CodegenTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -94,11 +94,11 @@ class DebugOptimTab : public QWidget { Q_OBJECT public: - DebugOptimTab( QWidget *parent=0, const char *name=0 ); + DebugOptimTab( TQWidget *parent=0, const char *name=0 ); ~DebugOptimTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; |