summaryrefslogtreecommitdiffstats
path: root/languages/fortran/compiler/pgioptions
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/fortran/compiler/pgioptions
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/fortran/compiler/pgioptions')
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp10
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsfactory.h4
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp26
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.h6
4 files changed, 23 insertions, 23 deletions
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
index f6c3465e..66a12fbb 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
@@ -25,8 +25,8 @@ extern "C" {
}
-PgiOptionsFactory::PgiOptionsFactory(TQObject *tqparent, const char *name)
- : KLibFactory(tqparent, name)
+PgiOptionsFactory::PgiOptionsFactory(TQObject *parent, const char *name)
+ : KLibFactory(parent, name)
{
instance();
}
@@ -39,15 +39,15 @@ PgiOptionsFactory::~PgiOptionsFactory()
}
-TQObject *PgiOptionsFactory::createObject(TQObject *tqparent, const char *name,
+TQObject *PgiOptionsFactory::createObject(TQObject *parent, const char *name,
const char * /*classname*/, const TQStringList &args)
{
if (args.count() > 0 && qstrcmp(args[0].latin1(), "pghpf") == 0) {
kdDebug(9021) << "Building PgiOptions for PGHPF" << endl;
- return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, tqparent, name);
+ return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, parent, name);
} else if (args.count() > 0 && qstrcmp(args[0].latin1(), "pgf77") == 0) {
kdDebug(9021) << "Building PgiOptions for PGF77" << endl;
- return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, tqparent, name);
+ return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, parent, name);
} else {
kdDebug(9021) << "Wrong args for kdevpgioptions library" << endl;
if (args.count() > 0)
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.h b/languages/fortran/compiler/pgioptions/pgioptionsfactory.h
index e66e0cf2..88030b72 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.h
+++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.h
@@ -21,10 +21,10 @@ class PgiOptionsFactory : public KLibFactory
TQ_OBJECT
public:
- PgiOptionsFactory( TQObject *tqparent=0, const char *name=0 );
+ PgiOptionsFactory( TQObject *parent=0, const char *name=0 );
~PgiOptionsFactory();
- virtual TQObject* createObject( TQObject *tqparent, const char *name,
+ virtual TQObject* createObject( TQObject *parent, const char *name,
const char *classname, const TQStringList &args);
static KInstance *instance();
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
index 113b5abd..c8137575 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
@@ -75,7 +75,7 @@ const char * const hpf_flags[] = {
class GeneralTab : public TQWidget
{
public:
- GeneralTab( TQWidget *tqparent=0, const char *name=0 );
+ GeneralTab( TQWidget *parent=0, const char *name=0 );
~GeneralTab();
void readFlags(TQStringList *str);
@@ -86,7 +86,7 @@ public:
class OptimizationTab : public TQWidget
{
public:
- OptimizationTab( PgiOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 );
+ OptimizationTab( PgiOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 );
~OptimizationTab();
void readFlags(TQStringList *str);
@@ -101,7 +101,7 @@ private:
class HpfTab : public TQWidget
{
public:
- HpfTab( TQWidget *tqparent=0, const char *name=0 );
+ HpfTab( TQWidget *parent=0, const char *name=0 );
~HpfTab();
void readFlags(TQStringList *str);
@@ -112,8 +112,8 @@ private:
};
-OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name)
+OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
tqlayout->setAutoAdd(true);
@@ -195,8 +195,8 @@ void OptimizationTab::writeFlags(TQStringList *list)
}
-HpfTab::HpfTab(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name)
+HpfTab::HpfTab(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
tqlayout->setAutoAdd(true);
@@ -239,9 +239,9 @@ void HpfTab::writeFlags(TQStringList *list)
}
-PgiOptionsDialog::PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *tqparent, const char *name)
+PgiOptionsDialog::PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *parent, const char *name)
: KDialogBase(Tabbed, (type == PgiOptionsPlugin::PGHPF)? i18n("PGHPF Compiler Options") : i18n("PGF77 Compiler Options"),
- Ok|Cancel, Ok, tqparent, name, true)
+ Ok|Cancel, Ok, parent, name, true)
{
TQVBox *vbox;
@@ -299,8 +299,8 @@ TQString PgiOptionsDialog::flags() const
}
-PgiOptionsPlugin::PgiOptionsPlugin(Type type, TQObject *tqparent, const char *name)
- : KDevCompilerOptions(tqparent, name)
+PgiOptionsPlugin::PgiOptionsPlugin(Type type, TQObject *parent, const char *name)
+ : KDevCompilerOptions(parent, name)
{
pgitype = type;
}
@@ -310,9 +310,9 @@ PgiOptionsPlugin::~PgiOptionsPlugin()
{}
-TQString PgiOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags)
+TQString PgiOptionsPlugin::exec(TQWidget *parent, const TQString &flags)
{
- PgiOptionsDialog *dlg = new PgiOptionsDialog(pgitype, tqparent, "pgi options dialog");
+ PgiOptionsDialog *dlg = new PgiOptionsDialog(pgitype, parent, "pgi options dialog");
TQString newFlags = flags;
dlg->setFlags(flags);
if (dlg->exec() == TQDialog::Accepted)
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
index 28392c0d..5022f929 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
@@ -29,10 +29,10 @@ class PgiOptionsPlugin : public KDevCompilerOptions
public:
enum Type { PGHPF, PGF77 };
- PgiOptionsPlugin( Type type, TQObject *tqparent=0, const char *name=0 );
+ PgiOptionsPlugin( Type type, TQObject *parent=0, const char *name=0 );
~PgiOptionsPlugin();
- virtual TQString exec(TQWidget *tqparent, const TQString &flags);
+ virtual TQString exec(TQWidget *parent, const TQString &flags);
private:
Type pgitype;
@@ -42,7 +42,7 @@ private:
class PgiOptionsDialog : public KDialogBase
{
public:
- PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 );
+ PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 );
~PgiOptionsDialog();
void setFlags(const TQString &flags);