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 | |
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')
19 files changed, 430 insertions, 430 deletions
diff --git a/languages/pascal/PascalLexer.hpp b/languages/pascal/PascalLexer.hpp index f63ac84d..99a14959 100644 --- a/languages/pascal/PascalLexer.hpp +++ b/languages/pascal/PascalLexer.hpp @@ -6,7 +6,7 @@ #include "problemreporter.h" #include "PascalAST.hpp" - #include <qlistview.h> + #include <tqlistview.h> #include <kdebug.h> #define SET_POSITION(ast,t)\ diff --git a/languages/pascal/PascalParser.hpp b/languages/pascal/PascalParser.hpp index d37d76c5..dfd4e5f2 100644 --- a/languages/pascal/PascalParser.hpp +++ b/languages/pascal/PascalParser.hpp @@ -6,7 +6,7 @@ #include "problemreporter.h" #include "PascalAST.hpp" - #include <qlistview.h> + #include <tqlistview.h> #include <kdebug.h> #define SET_POSITION(ast,t)\ diff --git a/languages/pascal/PascalStoreWalker.hpp b/languages/pascal/PascalStoreWalker.hpp index bc354743..ada7c020 100644 --- a/languages/pascal/PascalStoreWalker.hpp +++ b/languages/pascal/PascalStoreWalker.hpp @@ -6,9 +6,9 @@ #include <codemodel.h> #include "PascalAST.hpp" - #include <qstring.h> - #include <qstringlist.h> - #include <qfileinfo.h> + #include <tqstring.h> + #include <tqstringlist.h> + #include <tqfileinfo.h> #line 14 "PascalStoreWalker.hpp" #include <antlr/config.hpp> @@ -27,8 +27,8 @@ class CUSTOM_API PascalStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser #line 47 "pascal.tree.g" private: - QString m_fileName; - QStringList m_currentScope; + TQString m_fileName; + TQStringList m_currentScope; int m_currentAccess; int m_anon; CodeModel* m_model; @@ -38,8 +38,8 @@ public: CodeModel* codeModel() { return m_model; } const CodeModel* codeModel() const { return m_model; } - QString fileName() const { return m_fileName; } - void setFileName( const QString& fileName ) { m_fileName = fileName; } + TQString fileName() const { return m_fileName; } + void setFileName( const TQString& fileName ) { m_fileName = fileName; } void init(){ m_currentScope.clear(); diff --git a/languages/pascal/PascalStoreWalkerTokenTypes.hpp b/languages/pascal/PascalStoreWalkerTokenTypes.hpp index 0f4142f5..e8e19eb9 100644 --- a/languages/pascal/PascalStoreWalkerTokenTypes.hpp +++ b/languages/pascal/PascalStoreWalkerTokenTypes.hpp @@ -183,7 +183,7 @@ struct CUSTOM_API PascalStoreWalkerTokenTypes { INHERITED = 172, NEW = 173, SELF = 174, - METHOD = 175, + TQT_METHOD = 175, ADDSUBOR = 176, ASSIGNEQUAL = 177, SIGN = 178, diff --git a/languages/pascal/PascalTokenTypes.hpp b/languages/pascal/PascalTokenTypes.hpp index 3e613221..fc8692d3 100644 --- a/languages/pascal/PascalTokenTypes.hpp +++ b/languages/pascal/PascalTokenTypes.hpp @@ -183,7 +183,7 @@ struct CUSTOM_API PascalTokenTypes { INHERITED = 172, NEW = 173, SELF = 174, - METHOD = 175, + TQT_METHOD = 175, ADDSUBOR = 176, ASSIGNEQUAL = 177, SIGN = 178, diff --git a/languages/pascal/backgroundparser.cpp b/languages/pascal/backgroundparser.cpp index a61c9774..ff202374 100644 --- a/languages/pascal/backgroundparser.cpp +++ b/languages/pascal/backgroundparser.cpp @@ -17,12 +17,12 @@ #include "PascalParser.hpp" #include "PascalAST.hpp" #include <kdebug.h> -#include <qfile.h> +#include <tqfile.h> #include <antlr/ASTFactory.hpp> BackgroundParser::BackgroundParser( ProblemReporter* reporter, - const QString& source, - const QString& filename ) + const TQString& source, + const TQString& filename ) : m_reporter( reporter ), m_source( source.unicode(), source.length() ), m_fileName( filename ) @@ -37,10 +37,10 @@ void BackgroundParser::run() { kdDebug() << "11" << endl; - QCString _fn = QFile::encodeName(m_fileName); + TQCString _fn = TQFile::encodeName(m_fileName); std::string fn( _fn.data() ); - QCString text = m_source.utf8(); + TQCString text = m_source.utf8(); std::istringstream stream( text.data() ); kdDebug() << "12" << endl; diff --git a/languages/pascal/backgroundparser.h b/languages/pascal/backgroundparser.h index 7118c7f2..2ad77f83 100644 --- a/languages/pascal/backgroundparser.h +++ b/languages/pascal/backgroundparser.h @@ -12,24 +12,24 @@ #ifndef BACKGROUNDPARSER_H #define BACKGROUNDPARSER_H -#include <qthread.h> -#include <qstring.h> +#include <tqthread.h> +#include <tqstring.h> class ProblemReporter; class BackgroundParser: public QThread{ public: BackgroundParser( ProblemReporter* reporter, - const QString& source, - const QString& filename ); + const TQString& source, + const TQString& filename ); virtual ~BackgroundParser(); virtual void run(); private: ProblemReporter* m_reporter; - QString m_source; - QString m_fileName; + TQString m_source; + TQString m_fileName; }; #endif 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; diff --git a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp index 6fd73e5f..567d5c86 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp @@ -8,7 +8,7 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include <qvbox.h> +#include <tqvbox.h> #include <klocale.h> #include <kgenericfactory.h> @@ -18,7 +18,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfpcoptions, KGenericFactory<FpcOptionsPlugin>( "kdevfpcoptions" ) ) -FpcOptionsPlugin::FpcOptionsPlugin(QObject *parent, const char *name, const QStringList& /*args*/) +FpcOptionsPlugin::FpcOptionsPlugin(TQObject *parent, const char *name, const TQStringList& /*args*/) : KDevCompilerOptions(parent, name) { } @@ -27,12 +27,12 @@ FpcOptionsPlugin::~FpcOptionsPlugin() { } -QString FpcOptionsPlugin::exec(QWidget *parent, const QString &flags) +TQString FpcOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { FpcOptionsDialog *dlg = new FpcOptionsDialog(parent, "fpc 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; @@ -40,10 +40,10 @@ QString FpcOptionsPlugin::exec(QWidget *parent, const QString &flags) -FpcOptionsDialog::FpcOptionsDialog( QWidget *parent, const char *name ) +FpcOptionsDialog::FpcOptionsDialog( TQWidget *parent, const char *name ) : KDialogBase(Tabbed, i18n("Free Pascal Compiler Options"), Ok|Cancel, Ok, parent, name, true) { - QVBox *vbox; + TQVBox *vbox; vbox = addVBoxPage(i18n("Language")); language = new LanguageTab(vbox, "language tab"); @@ -77,9 +77,9 @@ FpcOptionsDialog::~FpcOptionsDialog() { } -void FpcOptionsDialog::setFlags(const QString &flags) +void FpcOptionsDialog::setFlags(const TQString &flags) { - QStringList flaglist = QStringList::split(" ", flags); + TQStringList flaglist = TQStringList::split(" ", flags); feedback->readFlags(&flaglist); language->readFlags(&flaglist); @@ -93,9 +93,9 @@ void FpcOptionsDialog::setFlags(const QString &flags) unrecognizedFlags = flaglist; } -QString FpcOptionsDialog::flags() const +TQString FpcOptionsDialog::flags() const { - QStringList flaglist; + TQStringList flaglist; language->writeFlags(&flaglist); directories->writeFlags(&flaglist); @@ -107,8 +107,8 @@ QString FpcOptionsDialog::flags() const feedback->writeFlags(&flaglist); misc->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/fpcoptions/fpcoptionsplugin.h b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h index f6b15fff..55e65321 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h @@ -20,10 +20,10 @@ class FpcOptionsPlugin : public KDevCompilerOptions Q_OBJECT public: - FpcOptionsPlugin( QObject *parent, const char *name, const QStringList &args ); + FpcOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args ); ~FpcOptionsPlugin(); - virtual QString exec(QWidget *parent, const QString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; @@ -35,11 +35,11 @@ class CodegenTab; class FpcOptionsDialog : public KDialogBase { public: - FpcOptionsDialog( QWidget *parent=0, const char *name=0 ); + FpcOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~FpcOptionsDialog(); - void setFlags(const QString &flags); - QString flags() const; + void setFlags(const TQString &flags); + TQString flags() const; private: /* GeneralTab *general; @@ -57,7 +57,7 @@ private: AssemblerTab *assembler; LinkerTab *linker; MiscTab *misc; - QStringList unrecognizedFlags; + TQStringList unrecognizedFlags; }; #endif 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); diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.h b/languages/pascal/compiler/fpcoptions/optiontabs.h index 56109ae2..b1c4fa8f 100644 --- a/languages/pascal/compiler/fpcoptions/optiontabs.h +++ b/languages/pascal/compiler/fpcoptions/optiontabs.h @@ -11,7 +11,7 @@ #ifndef OPTIONTABS_H #define OPTIONTABS_H -#include <qwidget.h> +#include <tqwidget.h> class QSpinBox; class QRadioButton; @@ -24,11 +24,11 @@ class FlagEditController; class FeedbackTab : public QWidget { public: - FeedbackTab( QWidget *parent=0, const char *name=0 ); + FeedbackTab( TQWidget *parent=0, const char *name=0 ); ~FeedbackTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -37,11 +37,11 @@ private: class FilesAndDirectoriesTab: public QWidget { public: - FilesAndDirectoriesTab( QWidget *parent = 0, const char *name = 0); + FilesAndDirectoriesTab( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -51,11 +51,11 @@ private: class FilesAndDirectoriesTab2: public QWidget { public: - FilesAndDirectoriesTab2( QWidget *parent = 0, const char *name = 0); + FilesAndDirectoriesTab2( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab2(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -65,11 +65,11 @@ private: class LanguageTab : public QWidget { public: - LanguageTab( QWidget *parent=0, const char *name=0 ); + LanguageTab( TQWidget *parent=0, const char *name=0 ); ~LanguageTab(); - 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 AssemblerTab : public QWidget { public: - AssemblerTab( QWidget *parent=0, const char *name=0 ); + AssemblerTab( TQWidget *parent=0, const char *name=0 ); ~AssemblerTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; @@ -93,19 +93,19 @@ 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; FlagRadioButtonController *optimController; - QRadioButton *m_default; - QRadioButton *m_default2; - QRadioButton *m_default3; + TQRadioButton *m_default; + TQRadioButton *m_default2; + TQRadioButton *m_default3; FlagRadioButton *optim1; FlagRadioButton *optim2; @@ -117,11 +117,11 @@ private slots: 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; @@ -131,11 +131,11 @@ private: 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: FlagCheckBoxController *controller; @@ -145,11 +145,11 @@ private: class MiscTab : public QWidget { public: - MiscTab( QWidget *parent=0, const char *name=0 ); + MiscTab( TQWidget *parent=0, const char *name=0 ); ~MiscTab(); - void readFlags(QStringList *str); - void writeFlags(QStringList *str); + void readFlags(TQStringList *str); + void writeFlags(TQStringList *str); private: FlagCheckBoxController *controller; diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp index 0c5f96f2..0d8c049b 100644 --- a/languages/pascal/pascalsupport_part.cpp +++ b/languages/pascal/pascalsupport_part.cpp @@ -9,9 +9,9 @@ ***************************************************************************/ #include <fstream> -#include <qdir.h> -#include <qtimer.h> -#include <qwhatsthis.h> +#include <tqdir.h> +#include <tqtimer.h> +#include <tqwhatsthis.h> #include <kiconloader.h> #include <klocale.h> @@ -47,7 +47,7 @@ typedef KDevGenericFactory<PascalSupportPart> PascalSupportFactory; static const KDevPluginInfo data("kdevpascalsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevpascalsupport, PascalSupportFactory( data ) ) -PascalSupportPart::PascalSupportPart(QObject *parent, const char *name, const QStringList &) +PascalSupportPart::PascalSupportPart(TQObject *parent, const char *name, const TQStringList &) : KDevLanguageSupport(&data, parent, name ? name : "KDevPascalSupport" ), d( new PascalSupportPartData() ) { @@ -55,22 +55,22 @@ PascalSupportPart::PascalSupportPart(QObject *parent, const char *name, const QS setXMLFile("kdevpascalsupport.rc"); d->problemReporter = new ProblemReporter( this ); - connect( core(), SIGNAL(configWidget(KDialogBase*)), - d->problemReporter, SLOT(configWidget(KDialogBase*)) ); - - connect( core(), SIGNAL(projectOpened()), this, SLOT(projectOpened()) ); - connect( core(), SIGNAL(projectClosed()), this, SLOT(projectClosed()) ); - connect( partController(), SIGNAL(savedFile(const KURL&)), - this, SLOT(savedFile(const KURL&)) ); - connect( core(), SIGNAL(contextMenu(QPopupMenu *, const Context *)), - this, SLOT(contextMenu(QPopupMenu *, const Context *)) ); - connect( core(), SIGNAL(configWidget(KDialogBase*)), - this, SLOT(configWidget(KDialogBase*)) ); - connect( core( ), SIGNAL( projectConfigWidget( KDialogBase* ) ), this, - SLOT( projectConfigWidget( KDialogBase* ) ) ); + connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)), + d->problemReporter, TQT_SLOT(configWidget(KDialogBase*)) ); + + connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) ); + connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) ); + connect( partController(), TQT_SIGNAL(savedFile(const KURL&)), + this, TQT_SLOT(savedFile(const KURL&)) ); + connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), + this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); + connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)), + this, TQT_SLOT(configWidget(KDialogBase*)) ); + connect( core( ), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ), this, + TQT_SLOT( projectConfigWidget( KDialogBase* ) ) ); mainWindow()->embedOutputView( d->problemReporter, i18n("Problems"), i18n("problem reporter") ); - QWhatsThis::add(d->problemReporter, i18n("<b>Problem reporter</b><p>This window shows various \"problems\" in your project. " + TQWhatsThis::add(d->problemReporter, i18n("<b>Problem reporter</b><p>This window shows various \"problems\" in your project. " "It displays errors reported by a language parser.")); } @@ -89,17 +89,17 @@ PascalSupportPart::Features PascalSupportPart::features() void PascalSupportPart::projectOpened() { - connect(project(), SIGNAL(addedFilesToProject(const QStringList &)), - this, SLOT(addedFilesToProject(const QStringList &))); - connect(project(), SIGNAL(removedFilesFromProject(const QStringList &)), - this, SLOT(removedFilesFromProject(const QStringList &))); - connect(project(), SIGNAL(projectCompiled()), - this, SLOT(slotProjectCompiled()) ); + connect(project(), TQT_SIGNAL(addedFilesToProject(const TQStringList &)), + this, TQT_SLOT(addedFilesToProject(const TQStringList &))); + connect(project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList &)), + this, TQT_SLOT(removedFilesFromProject(const TQStringList &))); + connect(project(), TQT_SIGNAL(projectCompiled()), + this, TQT_SLOT(slotProjectCompiled()) ); m_projectFileList = project()->allFiles(); m_projectClosed = false; - QTimer::singleShot(0, this, SLOT(initialParse())); + TQTimer::singleShot(0, this, TQT_SLOT(initialParse())); } void PascalSupportPart::projectClosed() @@ -119,7 +119,7 @@ void PascalSupportPart::projectConfigWidget(KDialogBase *dlg) return; } -void PascalSupportPart::contextMenu(QPopupMenu *popup, const Context *context) +void PascalSupportPart::contextMenu(TQPopupMenu *popup, const Context *context) { Q_UNUSED( popup ); Q_UNUSED( context ); @@ -132,22 +132,22 @@ void PascalSupportPart::savedFile(const KURL &fileName) emit updatedSourceInfo(); } -void PascalSupportPart::addedFilesToProject(const QStringList &fileList) +void PascalSupportPart::addedFilesToProject(const TQStringList &fileList) { - for (QStringList::ConstIterator it = fileList.begin(); it != fileList.end() ;++it) + for (TQStringList::ConstIterator it = fileList.begin(); it != fileList.end() ;++it) { - QString fn = project()->projectDirectory() + "/" + *it; + TQString fn = project()->projectDirectory() + "/" + *it; maybeParse( fn ); kapp->processEvents( 500 ); emit addedSourceInfo(fn); } } -void PascalSupportPart::removedFilesFromProject(const QStringList &fileList) +void PascalSupportPart::removedFilesFromProject(const TQStringList &fileList) { - for (QStringList::ConstIterator it = fileList.begin(); it != fileList.end() ;++it) + for (TQStringList::ConstIterator it = fileList.begin(); it != fileList.end() ;++it) { - QString fn = project()->projectDirectory() + "/" + *it; + TQString fn = project()->projectDirectory() + "/" + *it; emit aboutToRemoveSourceInfo(fn); codeModel()->removeFile( codeModel()->fileByName(fn) ); @@ -169,9 +169,9 @@ void PascalSupportPart::initialParse( ) /// @todo Progress indicator! - QStringList files = project()->allFiles(); - for (QStringList::Iterator it = files.begin(); it != files.end() ;++it){ - QString fn = project()->projectDirectory() + "/" + *it; + TQStringList files = project()->allFiles(); + for (TQStringList::Iterator it = files.begin(); it != files.end() ;++it){ + TQString fn = project()->projectDirectory() + "/" + *it; maybeParse( fn ); kapp->processEvents( 500 ); } @@ -183,7 +183,7 @@ void PascalSupportPart::initialParse( ) } } -void PascalSupportPart::maybeParse( const QString & fileName ) +void PascalSupportPart::maybeParse( const TQString & fileName ) { kdDebug(9013) << "Maybe parse: " << fileName << endl; @@ -195,12 +195,12 @@ void PascalSupportPart::maybeParse( const QString & fileName ) parse( fileName ); } -void PascalSupportPart::parse( const QString & fileName ) +void PascalSupportPart::parse( const TQString & fileName ) { kdDebug(9013) << "PascalSupportPart::parse() -- " << fileName << endl; - std::ifstream stream( QFile::encodeName( fileName ).data() ); - QCString _fn = fileName.utf8(); + std::ifstream stream( TQFile::encodeName( fileName ).data() ); + TQCString _fn = fileName.utf8(); std::string fn( _fn.data() ); PascalLexer lexer( stream ); @@ -249,17 +249,17 @@ KMimeType::List PascalSupportPart::mimeTypes( ) return list; } -QString PascalSupportPart::formatTag( const Tag & inputTag ) +TQString PascalSupportPart::formatTag( const Tag & inputTag ) { Tag tag = inputTag; switch( tag.kind() ) { case Tag::Kind_Namespace: - return QString::fromLatin1("unit ") + tag.name(); + return TQString::fromLatin1("unit ") + tag.name(); case Tag::Kind_Class: - return QString::fromLatin1("class ") + tag.name(); + return TQString::fromLatin1("class ") + tag.name(); case Tag::Kind_Function: case Tag::Kind_FunctionDeclaration: @@ -271,20 +271,20 @@ QString PascalSupportPart::formatTag( const Tag & inputTag ) case Tag::Kind_Variable: case Tag::Kind_VariableDeclaration: { - return QString::fromLatin1("var ") + tag.name(); + return TQString::fromLatin1("var ") + tag.name(); } break; } return tag.name(); } -QString PascalSupportPart::formatModelItem( const CodeModelItem * item, bool shortDescription ) +TQString PascalSupportPart::formatModelItem( const CodeModelItem * item, bool shortDescription ) { if (item->isFunction() || item->isFunctionDefinition() ) { const FunctionModel *model = static_cast<const FunctionModel*>(item); - QString function; - QString args; + TQString function; + TQString args; ArgumentList argumentList = model->argumentList(); for (ArgumentList::const_iterator it = argumentList.begin(); it != argumentList.end(); ++it) { @@ -295,7 +295,7 @@ QString PascalSupportPart::formatModelItem( const CodeModelItem * item, bool sho function += model->name() + "(" + args + ")"; if( !shortDescription ) - function += (model->isVirtual() ? QString("virtual; ") : QString("") ) + model->resultType() + " "; + function += (model->isVirtual() ? TQString("virtual; ") : TQString("") ) + model->resultType() + " "; return function; } @@ -309,11 +309,11 @@ QString PascalSupportPart::formatModelItem( const CodeModelItem * item, bool sho else if (item->isArgument()) { const ArgumentModel *model = static_cast<const ArgumentModel*>(item); - QString arg; + TQString arg; arg += model->name(); arg += ": " + model->type(); if( !shortDescription ) - arg += model->defaultValue().isEmpty() ? QString("") : QString(" = ") + model->defaultValue(); + arg += model->defaultValue().isEmpty() ? TQString("") : TQString(" = ") + model->defaultValue(); return arg.stripWhiteSpace(); } else diff --git a/languages/pascal/pascalsupport_part.h b/languages/pascal/pascalsupport_part.h index 4319d1f9..2cc8089d 100644 --- a/languages/pascal/pascalsupport_part.h +++ b/languages/pascal/pascalsupport_part.h @@ -10,7 +10,7 @@ #ifndef __KDEVPART_PASCALSUPPORT_H__ #define __KDEVPART_PASCALSUPPORT_H__ -#include <qguardedptr.h> +#include <tqguardedptr.h> #include "kdevlanguagesupport.h" class PascalSupportWidget; @@ -23,14 +23,14 @@ class PascalSupportPart : public KDevLanguageSupport { Q_OBJECT public: - PascalSupportPart(QObject *parent, const char *name, const QStringList &); + PascalSupportPart(TQObject *parent, const char *name, const TQStringList &); ~PascalSupportPart(); virtual Features features(); virtual KMimeType::List mimeTypes(); - virtual QString formatTag( const Tag& tag ); - virtual QString formatModelItem( const CodeModelItem *item, bool shortDescription=false ); + virtual TQString formatTag( const Tag& tag ); + virtual TQString formatModelItem( const CodeModelItem *item, bool shortDescription=false ); private slots: void projectOpened(); @@ -38,22 +38,22 @@ private slots: void savedFile(const KURL &fileName); void configWidget(KDialogBase *dlg); void projectConfigWidget(KDialogBase *dlg); - void contextMenu(QPopupMenu *popup, const Context *context); + void contextMenu(TQPopupMenu *popup, const Context *context); - void addedFilesToProject(const QStringList &fileList); - void removedFilesFromProject(const QStringList &fileList); + void addedFilesToProject(const TQStringList &fileList); + void removedFilesFromProject(const TQStringList &fileList); void slotProjectCompiled(); void initialParse(); private: - void maybeParse(const QString &fileName); - void parse(const QString &fileName); + void maybeParse(const TQString &fileName); + void parse(const TQString &fileName); - QGuardedPtr<PascalSupportWidget> m_widget; + TQGuardedPtr<PascalSupportWidget> m_widget; bool m_projectClosed; - QStringList m_projectFileList; + TQStringList m_projectFileList; PascalSupportPartData* d; diff --git a/languages/pascal/problemreporter.cpp b/languages/pascal/problemreporter.cpp index b2c2fee8..30a65739 100644 --- a/languages/pascal/problemreporter.cpp +++ b/languages/pascal/problemreporter.cpp @@ -40,23 +40,23 @@ #include <kconfig.h> -#include <qtimer.h> -#include <qregexp.h> -#include <qvbox.h> +#include <tqtimer.h> +#include <tqregexp.h> +#include <tqvbox.h> #include <kdialogbase.h> class ProblemItem: public QListViewItem{ public: - ProblemItem( QListView* parent, const QString& level, const QString& problem, - const QString& file, const QString& line, const QString& column ) - : QListViewItem( parent, level, problem, file, line, column ) {} + ProblemItem( TQListView* parent, const TQString& level, const TQString& problem, + const TQString& file, const TQString& line, const TQString& column ) + : TQListViewItem( parent, level, problem, file, line, column ) {} - ProblemItem( QListViewItem* parent, const QString& level, const QString& problem, - const QString& file, const QString& line, const QString& column ) - : QListViewItem( parent, level, problem, file, line, column ) {} + ProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, + const TQString& file, const TQString& line, const TQString& column ) + : TQListViewItem( parent, level, problem, file, line, column ) {} - int compare( QListViewItem* item, int column, bool ascending ) const { + int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 3 || column == 4 ){ int a = text( column ).toInt(); int b = item->text( column ).toInt(); @@ -64,13 +64,13 @@ public: return 0; return( a > b ? -1 : 1 ); } - return QListViewItem::compare( item, column, ascending ); + return TQListViewItem::compare( item, column, ascending ); } }; -ProblemReporter::ProblemReporter( PascalSupportPart* part, QWidget* parent, const char* name ) - : QListView( parent, name ), +ProblemReporter::ProblemReporter( PascalSupportPart* part, TQWidget* parent, const char* name ) + : TQListView( parent, name ), m_pascalSupport( part ), m_editor( 0 ), m_document( 0 ), @@ -84,21 +84,21 @@ ProblemReporter::ProblemReporter( PascalSupportPart* part, QWidget* parent, cons //addColumn( i18n("Column") ); setAllColumnsShowFocus( TRUE ); - m_timer = new QTimer( this ); + m_timer = new TQTimer( this ); - connect( part->partController(), SIGNAL(activePartChanged(KParts::Part*)), - this, SLOT(slotActivePartChanged(KParts::Part*)) ); - connect( part->partController(), SIGNAL(partAdded(KParts::Part*)), - this, SLOT(slotPartAdded(KParts::Part*)) ); - connect( part->partController(), SIGNAL(partRemoved(KParts::Part*)), - this, SLOT(slotPartRemoved(KParts::Part*)) ); + connect( part->partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), + this, TQT_SLOT(slotActivePartChanged(KParts::Part*)) ); + connect( part->partController(), TQT_SIGNAL(partAdded(KParts::Part*)), + this, TQT_SLOT(slotPartAdded(KParts::Part*)) ); + connect( part->partController(), TQT_SIGNAL(partRemoved(KParts::Part*)), + this, TQT_SLOT(slotPartRemoved(KParts::Part*)) ); - connect( m_timer, SIGNAL(timeout()), this, SLOT(reparse()) ); + connect( m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(reparse()) ); - connect( this, SIGNAL(doubleClicked(QListViewItem*)), - this, SLOT(slotSelected(QListViewItem*)) ); - connect( this, SIGNAL(returnPressed(QListViewItem*)), - this, SLOT(slotSelected(QListViewItem*)) ); + connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQT_SLOT(slotSelected(TQListViewItem*)) ); + connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), + this, TQT_SLOT(slotSelected(TQListViewItem*)) ); configure(); } @@ -128,7 +128,7 @@ void ProblemReporter::slotActivePartChanged( KParts::Part* part ) m_editor = dynamic_cast<KTextEditor::EditInterface*>( part ); if( m_editor ) - connect( m_document, SIGNAL(textChanged()), this, SLOT(slotTextChanged()) ); + connect( m_document, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()) ); m_markIface = dynamic_cast<KTextEditor::MarkInterface*>( part ); @@ -168,9 +168,9 @@ void ProblemReporter::reparse() kdDebug() << "4" << endl; - QListViewItem* current = firstChild(); + TQListViewItem* current = firstChild(); while( current ){ - QListViewItem* i = current; + TQListViewItem* i = current; current = current->nextSibling(); if( i->text(2) == m_filename ) @@ -180,8 +180,8 @@ void ProblemReporter::reparse() kdDebug() << "5" << endl; if( m_markIface ){ - QPtrList<KTextEditor::Mark> marks = m_markIface->marks(); - QPtrListIterator<KTextEditor::Mark> it( marks ); + TQPtrList<KTextEditor::Mark> marks = m_markIface->marks(); + TQPtrListIterator<KTextEditor::Mark> it( marks ); while( it.current() ){ m_markIface->removeMark( it.current()->line, KTextEditor::MarkInterface::markType07 ); ++it; @@ -199,7 +199,7 @@ void ProblemReporter::reparse() kdDebug() << "8" << endl; } -void ProblemReporter::slotSelected( QListViewItem* item ) +void ProblemReporter::slotSelected( TQListViewItem* item ) { KURL url( item->text(2) ); int line = item->text( 3 ).toInt(); @@ -207,8 +207,8 @@ void ProblemReporter::slotSelected( QListViewItem* item ) m_pascalSupport->partController()->editDocument( url, line-1 ); } -void ProblemReporter::reportError( QString message, - QString filename, +void ProblemReporter::reportError( TQString message, + TQString filename, int line, int column ) { if( m_markIface ){ @@ -217,34 +217,34 @@ void ProblemReporter::reportError( QString message, new ProblemItem( this, "error", - message.replace( QRegExp("\n"), "" ), + message.replace( TQRegExp("\n"), "" ), filename, - QString::number( line ), - QString::number( column ) ); + TQString::number( line ), + TQString::number( column ) ); } -void ProblemReporter::reportWarning( QString message, - QString filename, +void ProblemReporter::reportWarning( TQString message, + TQString filename, int line, int column ) { new ProblemItem( this, "warning", - message.replace( QRegExp("\n"), "" ), + message.replace( TQRegExp("\n"), "" ), filename, - QString::number( line ), - QString::number( column ) ); + TQString::number( line ), + TQString::number( column ) ); } -void ProblemReporter::reportMessage( QString message, - QString filename, +void ProblemReporter::reportMessage( TQString message, + TQString filename, int line, int column ) { - new QListViewItem( this, + new TQListViewItem( this, "message", - message.replace( QRegExp("\n"), "" ), + message.replace( TQRegExp("\n"), "" ), filename, - QString::number( line ), - QString::number( column ) ); + TQString::number( line ), + TQString::number( column ) ); } void ProblemReporter::configure() @@ -260,10 +260,10 @@ void ProblemReporter::configWidget( KDialogBase* dlg ) { /// \FIXME adymo: use problem reporter configuration Q_UNUSED(dlg); -/* QVBox *vbox = dlg->addVBoxPage(i18n("Pascal Parsing")); +/* TQVBox *vbox = dlg->addVBoxPage(i18n("Pascal Parsing")); ConfigureProblemReporter* w = new ConfigureProblemReporter( vbox ); - connect(dlg, SIGNAL(okClicked()), w, SLOT(accept())); - connect(dlg, SIGNAL(okClicked()), this, SLOT(configure()));*/ + connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept())); + connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(configure()));*/ } void ProblemReporter::slotPartAdded( KParts::Part* part ) diff --git a/languages/pascal/problemreporter.h b/languages/pascal/problemreporter.h index 936a63a0..fdb798e8 100644 --- a/languages/pascal/problemreporter.h +++ b/languages/pascal/problemreporter.h @@ -19,7 +19,7 @@ #ifndef PROBLEMSREPORTER_H #define PROBLEMSREPORTER_H -#include <qlistview.h> +#include <tqlistview.h> class PascalSupportPart; class QTimer; @@ -39,16 +39,16 @@ namespace KTextEditor{ class ProblemReporter: public QListView{ Q_OBJECT public: - ProblemReporter( PascalSupportPart* part, QWidget* parent=0, const char* name=0 ); + ProblemReporter( PascalSupportPart* part, TQWidget* parent=0, const char* name=0 ); virtual ~ProblemReporter(); - virtual void reportError( QString message, QString filename, + virtual void reportError( TQString message, TQString filename, int line, int column ); - virtual void reportWarning( QString message, QString filename, + virtual void reportWarning( TQString message, TQString filename, int line, int column ); - virtual void reportMessage( QString message, QString filename, + virtual void reportMessage( TQString message, TQString filename, int line, int column ); public slots: @@ -61,15 +61,15 @@ private slots: void slotPartRemoved( KParts::Part* ); void slotActivePartChanged( KParts::Part* ); void slotTextChanged(); - void slotSelected( QListViewItem* ); + void slotSelected( TQListViewItem* ); private: PascalSupportPart* m_pascalSupport; KTextEditor::EditInterface* m_editor; KTextEditor::Document* m_document; KTextEditor::MarkInterface* m_markIface; - QTimer* m_timer; - QString m_filename; + TQTimer* m_timer; + TQString m_filename; int m_active; int m_delay; BackgroundParser* m_bgParser; |