From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- .../compiler/dccoptions/dccoptionsplugin.cpp | 12 ++++---- .../pascal/compiler/dccoptions/dccoptionsplugin.h | 6 ++-- .../pascal/compiler/dccoptions/optiontabs.cpp | 24 +++++++-------- languages/pascal/compiler/dccoptions/optiontabs.h | 12 ++++---- .../compiler/fpcoptions/fpcoptionsplugin.cpp | 12 ++++---- .../pascal/compiler/fpcoptions/fpcoptionsplugin.h | 6 ++-- .../pascal/compiler/fpcoptions/optiontabs.cpp | 36 +++++++++++----------- languages/pascal/compiler/fpcoptions/optiontabs.h | 18 +++++------ 8 files changed, 63 insertions(+), 63 deletions(-) (limited to 'languages/pascal/compiler') diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp index d1ed9aec..9738e3c9 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp @@ -21,8 +21,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevdccoptions, KGenericFactory( "kdevdccoptions" ) ) -DccOptionsPlugin::DccOptionsPlugin(TQObject *tqparent, const char *name, const TQStringList/* &args*/) - : KDevCompilerOptions(tqparent, name) +DccOptionsPlugin::DccOptionsPlugin(TQObject *parent, const char *name, const TQStringList/* &args*/) + : KDevCompilerOptions(parent, name) { } @@ -30,9 +30,9 @@ DccOptionsPlugin::~DccOptionsPlugin() { } -TQString DccOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) +TQString DccOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { - DccOptionsDialog *dlg = new DccOptionsDialog(tqparent, "dcc options dialog"); + DccOptionsDialog *dlg = new DccOptionsDialog(parent, "dcc options dialog"); TQString newFlags = flags; dlg->setFlags(flags); if(dlg->exec() == TQDialog::Accepted) @@ -42,8 +42,8 @@ TQString DccOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) } -DccOptionsDialog::DccOptionsDialog( TQWidget * tqparent, const char * name ) - : KDialogBase(Tabbed, i18n("Delphi Compiler Options"), Ok|Cancel, Ok, tqparent, name, true) +DccOptionsDialog::DccOptionsDialog( TQWidget * parent, const char * name ) + : KDialogBase(Tabbed, i18n("Delphi Compiler Options"), Ok|Cancel, Ok, parent, name, true) { TQVBox *vbox; diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h index e428a73d..08cdca7f 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h @@ -21,10 +21,10 @@ class DccOptionsPlugin : public KDevCompilerOptions TQ_OBJECT public: - DccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList/* &args */); + DccOptionsPlugin( TQObject *parent, const char *name, const TQStringList/* &args */); ~DccOptionsPlugin(); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; class GeneralTab; @@ -37,7 +37,7 @@ class DebugOptimTab; class DccOptionsDialog : public KDialogBase { public: - DccOptionsDialog( TQWidget *tqparent=0, const char *name=0 ); + DccOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~DccOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/pascal/compiler/dccoptions/optiontabs.cpp b/languages/pascal/compiler/dccoptions/optiontabs.cpp index facb96f9..58025ad6 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.cpp +++ b/languages/pascal/compiler/dccoptions/optiontabs.cpp @@ -21,8 +21,8 @@ #include "optiontabs.h" -LinkerTab::LinkerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), radioController(new FlagRadioButtonController()), +LinkerTab::LinkerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), radioController(new FlagRadioButtonController()), pathController(new FlagPathEditController()), editController(new FlagEditController()) { @@ -77,8 +77,8 @@ void LinkerTab::writeFlags( TQStringList * str ) -LocationsTab::LocationsTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), pathController(new FlagPathEditController()) +LocationsTab::LocationsTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -112,8 +112,8 @@ void LocationsTab::writeFlags( TQStringList * str ) -Locations2Tab::Locations2Tab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), pathController(new FlagPathEditController()) +Locations2Tab::Locations2Tab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -147,8 +147,8 @@ void Locations2Tab::writeFlags( TQStringList * str ) -GeneralTab::GeneralTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +GeneralTab::GeneralTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), editController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -210,8 +210,8 @@ void GeneralTab::writeFlags( TQStringList * str ) -CodegenTab::CodegenTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +CodegenTab::CodegenTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()), radioController(new FlagRadioButtonController()) { @@ -308,8 +308,8 @@ void CodegenTab::writeFlags( TQStringList * str ) -DebugOptimTab::DebugOptimTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), radioController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); diff --git a/languages/pascal/compiler/dccoptions/optiontabs.h b/languages/pascal/compiler/dccoptions/optiontabs.h index d96ec71d..beb61a1f 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.h +++ b/languages/pascal/compiler/dccoptions/optiontabs.h @@ -23,7 +23,7 @@ class FlagCheckBox; class LinkerTab : public TQWidget { public: - LinkerTab( TQWidget *tqparent=0, const char *name=0 ); + LinkerTab( TQWidget *parent=0, const char *name=0 ); ~LinkerTab(); void readFlags(TQStringList *str); @@ -38,7 +38,7 @@ private: class LocationsTab : public TQWidget { public: - LocationsTab( TQWidget *tqparent=0, const char *name=0 ); + LocationsTab( TQWidget *parent=0, const char *name=0 ); ~LocationsTab(); void readFlags(TQStringList *str); @@ -51,7 +51,7 @@ private: class Locations2Tab : public TQWidget { public: - Locations2Tab( TQWidget *tqparent=0, const char *name=0 ); + Locations2Tab( TQWidget *parent=0, const char *name=0 ); ~Locations2Tab(); void readFlags(TQStringList *str); @@ -64,7 +64,7 @@ private: 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); @@ -78,7 +78,7 @@ private: class CodegenTab : public TQWidget { public: - CodegenTab( TQWidget *tqparent=0, const char *name=0 ); + CodegenTab( TQWidget *parent=0, const char *name=0 ); ~CodegenTab(); void readFlags(TQStringList *str); @@ -95,7 +95,7 @@ class DebugOptimTab : public TQWidget Q_OBJECT TQ_OBJECT public: - DebugOptimTab( TQWidget *tqparent=0, const char *name=0 ); + DebugOptimTab( TQWidget *parent=0, const char *name=0 ); ~DebugOptimTab(); void readFlags(TQStringList *str); diff --git a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp index edcadaee..567d5c86 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp @@ -18,8 +18,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfpcoptions, KGenericFactory( "kdevfpcoptions" ) ) -FpcOptionsPlugin::FpcOptionsPlugin(TQObject *tqparent, const char *name, const TQStringList& /*args*/) - : KDevCompilerOptions(tqparent, name) +FpcOptionsPlugin::FpcOptionsPlugin(TQObject *parent, const char *name, const TQStringList& /*args*/) + : KDevCompilerOptions(parent, name) { } @@ -27,9 +27,9 @@ FpcOptionsPlugin::~FpcOptionsPlugin() { } -TQString FpcOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) +TQString FpcOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { - FpcOptionsDialog *dlg = new FpcOptionsDialog(tqparent, "fpc options dialog"); + FpcOptionsDialog *dlg = new FpcOptionsDialog(parent, "fpc options dialog"); TQString newFlags = flags; dlg->setFlags(flags); if (dlg->exec() == TQDialog::Accepted) @@ -40,8 +40,8 @@ TQString FpcOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) -FpcOptionsDialog::FpcOptionsDialog( TQWidget *tqparent, const char *name ) - : KDialogBase(Tabbed, i18n("Free Pascal Compiler Options"), Ok|Cancel, Ok, tqparent, name, true) +FpcOptionsDialog::FpcOptionsDialog( TQWidget *parent, const char *name ) + : KDialogBase(Tabbed, i18n("Free Pascal Compiler Options"), Ok|Cancel, Ok, parent, name, true) { TQVBox *vbox; diff --git a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h index 6d450569..c42f70b8 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h @@ -21,10 +21,10 @@ class FpcOptionsPlugin : public KDevCompilerOptions TQ_OBJECT public: - FpcOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args ); + FpcOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args ); ~FpcOptionsPlugin(); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; @@ -36,7 +36,7 @@ class CodegenTab; class FpcOptionsDialog : public KDialogBase { public: - FpcOptionsDialog( TQWidget *tqparent=0, const char *name=0 ); + FpcOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~FpcOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.cpp b/languages/pascal/compiler/fpcoptions/optiontabs.cpp index 5c46ac24..5dd69349 100644 --- a/languages/pascal/compiler/fpcoptions/optiontabs.cpp +++ b/languages/pascal/compiler/fpcoptions/optiontabs.cpp @@ -23,8 +23,8 @@ #include "optiontabs.h" -FeedbackTab::FeedbackTab(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) +FeedbackTab::FeedbackTab(TQWidget *parent, const char *name) + : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -94,8 +94,8 @@ void FeedbackTab::writeFlags(TQStringList *list) -FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -131,8 +131,8 @@ void FilesAndDirectoriesTab::writeFlags( TQStringList * str ) pathController->writeFlags(str); } -FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -182,8 +182,8 @@ void FilesAndDirectoriesTab2::writeFlags( TQStringList * str ) } -LanguageTab::LanguageTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) +LanguageTab::LanguageTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -239,8 +239,8 @@ void LanguageTab::writeFlags( TQStringList * str ) controller->writeFlags(str); } -AssemblerTab::AssemblerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +AssemblerTab::AssemblerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), asmController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -324,8 +324,8 @@ void AssemblerTab::writeFlags( TQStringList * str ) -DebugOptimTab::DebugOptimTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), optimController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -454,8 +454,8 @@ void DebugOptimTab::setDebugOptions() // m_default3->setChecked(true); } -CodegenTab::CodegenTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +CodegenTab::CodegenTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -515,8 +515,8 @@ void CodegenTab::writeFlags( TQStringList * str ) listController->writeFlags(str); } -LinkerTab::LinkerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +LinkerTab::LinkerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -577,8 +577,8 @@ void LinkerTab::writeFlags( TQStringList * str ) listController->writeFlags(str); } -MiscTab::MiscTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, 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()) diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.h b/languages/pascal/compiler/fpcoptions/optiontabs.h index 9d0e0f07..66524b63 100644 --- a/languages/pascal/compiler/fpcoptions/optiontabs.h +++ b/languages/pascal/compiler/fpcoptions/optiontabs.h @@ -24,7 +24,7 @@ class FlagEditController; class FeedbackTab : public TQWidget { public: - FeedbackTab( TQWidget *tqparent=0, const char *name=0 ); + FeedbackTab( TQWidget *parent=0, const char *name=0 ); ~FeedbackTab(); void readFlags(TQStringList *str); @@ -37,7 +37,7 @@ private: class FilesAndDirectoriesTab: public TQWidget { public: - FilesAndDirectoriesTab( TQWidget *tqparent = 0, const char *name = 0); + FilesAndDirectoriesTab( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab(); void readFlags(TQStringList *str); @@ -51,7 +51,7 @@ private: class FilesAndDirectoriesTab2: public TQWidget { public: - FilesAndDirectoriesTab2( TQWidget *tqparent = 0, const char *name = 0); + FilesAndDirectoriesTab2( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab2(); void readFlags(TQStringList *str); @@ -65,7 +65,7 @@ private: class LanguageTab : public TQWidget { public: - LanguageTab( TQWidget *tqparent=0, const char *name=0 ); + LanguageTab( TQWidget *parent=0, const char *name=0 ); ~LanguageTab(); void readFlags(TQStringList *str); @@ -78,7 +78,7 @@ private: class AssemblerTab : public TQWidget { public: - AssemblerTab( TQWidget *tqparent=0, const char *name=0 ); + AssemblerTab( TQWidget *parent=0, const char *name=0 ); ~AssemblerTab(); void readFlags(TQStringList *str); @@ -94,7 +94,7 @@ class DebugOptimTab : public TQWidget Q_OBJECT TQ_OBJECT public: - DebugOptimTab( TQWidget *tqparent=0, const char *name=0 ); + DebugOptimTab( TQWidget *parent=0, const char *name=0 ); ~DebugOptimTab(); void readFlags(TQStringList *str); @@ -118,7 +118,7 @@ private slots: class CodegenTab : public TQWidget { public: - CodegenTab( TQWidget *tqparent=0, const char *name=0 ); + CodegenTab( TQWidget *parent=0, const char *name=0 ); ~CodegenTab(); void readFlags(TQStringList *str); @@ -132,7 +132,7 @@ private: class LinkerTab : public TQWidget { public: - LinkerTab( TQWidget *tqparent=0, const char *name=0 ); + LinkerTab( TQWidget *parent=0, const char *name=0 ); ~LinkerTab(); void readFlags(TQStringList *str); @@ -146,7 +146,7 @@ private: class MiscTab : public TQWidget { public: - MiscTab( TQWidget *tqparent=0, const char *name=0 ); + MiscTab( TQWidget *parent=0, const char *name=0 ); ~MiscTab(); void readFlags(TQStringList *str); -- cgit v1.2.1