From 9d9fe02a944fe0719c2475739411727a729251ad Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:14:26 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/progs/gui/port_selector.cpp | 2 +- src/progs/gui/port_selector.h | 2 +- src/progs/gui/prog_config_center.cpp | 2 +- src/progs/gui/prog_config_widget.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/gui') diff --git a/src/progs/gui/port_selector.cpp b/src/progs/gui/port_selector.cpp index f34d426..32b1887 100644 --- a/src/progs/gui/port_selector.cpp +++ b/src/progs/gui/port_selector.cpp @@ -101,7 +101,7 @@ void PortSelector::addPortType(const Port::Description &pd) } } -void PortSelector::settqStatus(PortType ptype, const TQString &message) +void PortSelector::setStatus(PortType ptype, const TQString &message) { _pending = false; FOR_EACH(PortType, type) { diff --git a/src/progs/gui/port_selector.h b/src/progs/gui/port_selector.h index 5127976..6673c96 100644 --- a/src/progs/gui/port_selector.h +++ b/src/progs/gui/port_selector.h @@ -27,7 +27,7 @@ public: void setGroup(const Programmer::Group &group); Port::Description portDescription() const { return Port::Description(type(), device(type())); } void saveConfig(); - void settqStatus(PortType type, const TQString &message); + void setStatus(PortType type, const TQString &message); signals: void changed(); diff --git a/src/progs/gui/prog_config_center.cpp b/src/progs/gui/prog_config_center.cpp index f781280..5e5ca96 100644 --- a/src/progs/gui/prog_config_center.cpp +++ b/src/progs/gui/prog_config_center.cpp @@ -86,7 +86,7 @@ void Programmer::SelectConfigWidget::portChanged() delete config; TQWidget *w = _stack->item(_combo->currentItem()); bool ok = static_cast< ::Programmer::ConfigWidget *>(w)->setPort(hd); - _portSelector->settqStatus(hd.port.type, ok ? i18n("Connection: Ok") : i18n("Connection: Error")); + _portSelector->setStatus(hd.port.type, ok ? i18n("Connection: Ok") : i18n("Connection: Error")); } TQPixmap Programmer::SelectConfigWidget::pixmap() const diff --git a/src/progs/gui/prog_config_widget.h b/src/progs/gui/prog_config_widget.h index 2da2330..0ec3fd0 100644 --- a/src/progs/gui/prog_config_widget.h +++ b/src/progs/gui/prog_config_widget.h @@ -32,7 +32,7 @@ public: virtual bool setPort(const HardwareDescription &hd); signals: - void updatePorttqStatus(bool ok); + void updatePortStatus(bool ok); protected: const Group &_group; -- cgit v1.2.1