diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 32b67ac0690de411b26b1d5e715b188c27442248 (patch) | |
tree | 43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/fortran | |
parent | 330c33ab6f97b279737bf9527c9add7bb1475450 (diff) | |
download | tdevelop-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')
-rw-r--r-- | languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp | 10 | ||||
-rw-r--r-- | languages/fortran/compiler/pgioptions/pgioptionsfactory.h | 4 | ||||
-rw-r--r-- | languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp | 26 | ||||
-rw-r--r-- | languages/fortran/compiler/pgioptions/pgioptionsplugin.h | 6 | ||||
-rw-r--r-- | languages/fortran/fortransupportpart.cpp | 4 | ||||
-rw-r--r-- | languages/fortran/fortransupportpart.h | 2 | ||||
-rw-r--r-- | languages/fortran/ftnchekconfigwidget.cpp | 12 | ||||
-rw-r--r-- | languages/fortran/ftnchekconfigwidget.h | 2 |
8 files changed, 33 insertions, 33 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); diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp index 3ac3f6e3..f60e9049 100644 --- a/languages/fortran/fortransupportpart.cpp +++ b/languages/fortran/fortransupportpart.cpp @@ -48,8 +48,8 @@ typedef KDevGenericFactory<FortranSupportPart> FortranSupportFactory; static const KDevPluginInfo data("kdevfortransupport"); K_EXPORT_COMPONENT_FACTORY( libkdevfortransupport, FortranSupportFactory( data ) ) -FortranSupportPart::FortranSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "FortranSupportPart") +FortranSupportPart::FortranSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "FortranSupportPart") { setInstance(FortranSupportFactory::instance()); diff --git a/languages/fortran/fortransupportpart.h b/languages/fortran/fortransupportpart.h index 8bd5872b..bf927a7d 100644 --- a/languages/fortran/fortransupportpart.h +++ b/languages/fortran/fortransupportpart.h @@ -26,7 +26,7 @@ class FortranSupportPart : public KDevLanguageSupport TQ_OBJECT public: - FortranSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + FortranSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~FortranSupportPart(); protected: diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp index 2fcd7905..286293aa 100644 --- a/languages/fortran/ftnchekconfigwidget.cpp +++ b/languages/fortran/ftnchekconfigwidget.cpp @@ -25,9 +25,9 @@ class FtnchekItem : public TQCheckListItem { public: - FtnchekItem(TQListView *tqparent, const TQString &flagstr, + FtnchekItem(TQListView *parent, const TQString &flagstr, const TQString &description) - : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox), + : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), flag(flagstr), desc(description) { setText(1, desc); @@ -73,8 +73,8 @@ void FtnchekItem::writeFlagsFromListView(TQListView *listview, TQStringList *lis class FtnchekToolTip : public TQToolTip { public: - FtnchekToolTip(TQWidget *tqparent) - : TQToolTip(tqparent) + FtnchekToolTip(TQWidget *parent) + : TQToolTip(parent) {} protected: void maybeTip(const TQPoint &pos) @@ -147,8 +147,8 @@ const char *portability_flags[] = { }; -FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *tqparent, const char *name) - : FtnchekConfigWidgetBase(tqparent, name), dom(projectDom) +FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name) + : FtnchekConfigWidgetBase(parent, name), dom(projectDom) { arguments_group = new TQButtonGroup; arguments_group->insert(argumentsall_button); diff --git a/languages/fortran/ftnchekconfigwidget.h b/languages/fortran/ftnchekconfigwidget.h index 78cdd93e..ac4afcc0 100644 --- a/languages/fortran/ftnchekconfigwidget.h +++ b/languages/fortran/ftnchekconfigwidget.h @@ -23,7 +23,7 @@ class FtnchekConfigWidget : public FtnchekConfigWidgetBase TQ_OBJECT public: - FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *tqparent, const char *name); + FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name); ~FtnchekConfigWidget(); public slots: |