diff options
Diffstat (limited to 'languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp')
-rw-r--r-- | languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp | 28 |
1 files changed, 14 insertions, 14 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 += " "; |