From f7ceb2957839027e8027a9a4c0dfff730cb9b704 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/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/progs/icd2/base/icd.cpp | 2 +- src/progs/icd2/gui/icd2_group_ui.cpp | 12 ++++++------ src/progs/icd2/gui/icd2_group_ui.h | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/progs/icd2') diff --git a/src/progs/icd2/base/icd.cpp b/src/progs/icd2/base/icd.cpp index 3fd3de8..18e9574 100644 --- a/src/progs/icd2/base/icd.cpp +++ b/src/progs/icd2/base/icd.cpp @@ -87,7 +87,7 @@ bool Icd::DeviceSpecific::doErase(bool) { if ( device().architecture()==Pic::Architecture::P18J ) { // ### also true for others ? Device::Array data(device().nbWords(Pic::MemoryRangeType::Config)); - for (uint i=0; inumRows(); TQLabel *label = new TQLabel(i18n("Id:"), _firmwareContainer); @@ -70,12 +70,12 @@ void Icd2::AdvancedDialog::updateDisplay() } //---------------------------------------------------------------------------- -::Programmer::ConfigWidget *Icd2::GroupUI::createConfigWidget(TQWidget *tqparent) const +::Programmer::ConfigWidget *Icd2::GroupUI::createConfigWidget(TQWidget *parent) const { - return new ::Programmer::ConfigWidget(static_cast(group()), tqparent); + return new ::Programmer::ConfigWidget(static_cast(group()), parent); } -::Programmer::AdvancedDialog *Icd2::GroupUI::createAdvancedDialog(::Programmer::Base &base, TQWidget *tqparent) const +::Programmer::AdvancedDialog *Icd2::GroupUI::createAdvancedDialog(::Programmer::Base &base, TQWidget *parent) const { - return new AdvancedDialog(static_cast(base), tqparent); + return new AdvancedDialog(static_cast(base), parent); } diff --git a/src/progs/icd2/gui/icd2_group_ui.h b/src/progs/icd2/gui/icd2_group_ui.h index 14c0fdb..ecb7cc7 100644 --- a/src/progs/icd2/gui/icd2_group_ui.h +++ b/src/progs/icd2/gui/icd2_group_ui.h @@ -23,7 +23,7 @@ class AdvancedDialog : public ::Programmer::PicAdvancedDialog Q_OBJECT TQ_OBJECT public: - AdvancedDialog(ProgrammerBase &base, TQWidget *tqparent); + AdvancedDialog(ProgrammerBase &base, TQWidget *parent); virtual void updateDisplay(); private slots: @@ -39,9 +39,9 @@ private: class GroupUI : public ::Programmer::GroupUI { public: - virtual ::Programmer::ConfigWidget *createConfigWidget(TQWidget *tqparent) const; + virtual ::Programmer::ConfigWidget *createConfigWidget(TQWidget *parent) const; virtual bool hasAdvancedDialog() const { return true; } - virtual ::Programmer::AdvancedDialog *createAdvancedDialog(::Programmer::Base &base, TQWidget *tqparent) const; + virtual ::Programmer::AdvancedDialog *createAdvancedDialog(::Programmer::Base &base, TQWidget *parent) const; }; } // namespace -- cgit v1.2.1