summaryrefslogtreecommitdiffstats
path: root/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp')
-rw-r--r--languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp26
1 files changed, 13 insertions, 13 deletions
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 += " ";