diff options
Diffstat (limited to 'src/progs/direct/gui/direct_config_widget.cpp')
-rw-r--r-- | src/progs/direct/gui/direct_config_widget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/direct/gui/direct_config_widget.cpp b/src/progs/direct/gui/direct_config_widget.cpp index fc7b867..36a8f11 100644 --- a/src/progs/direct/gui/direct_config_widget.cpp +++ b/src/progs/direct/gui/direct_config_widget.cpp @@ -18,17 +18,17 @@ #include "progs/direct/base/direct_prog.h" //----------------------------------------------------------------------------- -::Programmer::ConfigWidget *Direct::GroupUI::createConfigWidget(TQWidget *tqparent) const +::Programmer::ConfigWidget *Direct::GroupUI::createConfigWidget(TQWidget *parent) const { - return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), tqparent); + return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); } //----------------------------------------------------------------------------- const char * const INV_PIN_LABEL = I18N_NOOP("Check this option if your hardware uses negative logic for this pin."); const char * const DELAY_LABEL = I18N_NOOP("Some programming cards need low clock rate:\nadding delay to clock pulses might help."); -Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *tqparent, bool edit) - : ::Hardware::HConfigWidget(base, tqparent, edit) +Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *parent, bool edit) + : ::Hardware::HConfigWidget(base, parent, edit) { // pins assignment TQGroupBox *groupb = new TQGroupBox(1,Qt::Horizontal, i18n("Pin assignment"), this); @@ -239,11 +239,11 @@ Hardware::Data *Direct::HConfigWidget::data() const } //----------------------------------------------------------------------------- -Direct::ConfigWidget::ConfigWidget(const ::Programmer::Group &group, TQWidget *tqparent) - : ::Hardware::ConfigWidget(new ::Direct::PicBase(group, 0), new Config, tqparent) +Direct::ConfigWidget::ConfigWidget(const ::Programmer::Group &group, TQWidget *parent) + : ::Hardware::ConfigWidget(new ::Direct::PicBase(group, 0), new Config, parent) {} -Hardware::HConfigWidget *Direct::ConfigWidget::createHardwareConfigWidget(TQWidget *tqparent, bool edit) const +Hardware::HConfigWidget *Direct::ConfigWidget::createHardwareConfigWidget(TQWidget *parent, bool edit) const { - return new HConfigWidget(*_base, tqparent, edit); + return new HConfigWidget(*_base, parent, edit); } |