summaryrefslogtreecommitdiffstats
path: root/src/progs/gui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:26 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-27 04:09:42 +0200
commit1177a9f23b1c9929bef9464f434d82273783204c (patch)
treebb02f26d98266ad9b7501307ab3013edd1b55ea7 /src/progs/gui
parentadc9148343ca4ef148414cec1a6b38eb9636c029 (diff)
downloadpiklab-1177a9f23b1c9929bef9464f434d82273783204c.tar.gz
piklab-1177a9f23b1c9929bef9464f434d82273783204c.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9d9fe02a944fe0719c2475739411727a729251ad)
Diffstat (limited to 'src/progs/gui')
-rw-r--r--src/progs/gui/port_selector.cpp2
-rw-r--r--src/progs/gui/port_selector.h2
-rw-r--r--src/progs/gui/prog_config_center.cpp2
-rw-r--r--src/progs/gui/prog_config_widget.h2
4 files changed, 4 insertions, 4 deletions
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;