diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 16:42:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:22:08 +0900 |
commit | f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd (patch) | |
tree | 49b5284de3c34fa5beb84bd52110e7e1cdba826d /src/progs/gui/prog_config_center.cpp | |
parent | 26bcb362b66b78984c0c7567d00c12f3425d6468 (diff) | |
download | piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.tar.gz piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5)
Diffstat (limited to 'src/progs/gui/prog_config_center.cpp')
-rw-r--r-- | src/progs/gui/prog_config_center.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/gui/prog_config_center.cpp b/src/progs/gui/prog_config_center.cpp index bd876c2..75723a5 100644 --- a/src/progs/gui/prog_config_center.cpp +++ b/src/progs/gui/prog_config_center.cpp @@ -40,7 +40,7 @@ Programmer::SelectConfigWidget::SelectConfigWidget() TQLabel *label = new TQLabel(i18n("Programmer in use:"), this); addWidget(label, row,row, 0,0); _combo = new KeyComboBox<TQString>(this); - connect(_combo->widget(), TQT_SIGNAL(activated(int)), TQT_SLOT(programmerChanged())); + connect(_combo->widget(), TQ_SIGNAL(activated(int)), TQ_SLOT(programmerChanged())); addWidget(_combo->widget(), row,row, 1,1); row++; @@ -53,7 +53,7 @@ Programmer::SelectConfigWidget::SelectConfigWidget() _portSelectorContainer = new Container; _portSelectorContainer->setMargin(10); _portSelector = new PortSelector(_portSelectorContainer); - connect(_portSelector, TQT_SIGNAL(changed()), TQT_SLOT(portChanged())); + connect(_portSelector, TQ_SIGNAL(changed()), TQ_SLOT(portChanged())); _portSelectorContainer->addWidget(_portSelector, 0,0, 0,0); // specific programmer config @@ -73,7 +73,7 @@ Programmer::SelectConfigWidget::SelectConfigWidget() // init _combo->setCurrentItem(GlobalConfig::programmerGroup().name()); _stack->setCurrentItem(GlobalConfig::programmerGroup().name()); - TQTimer::singleShot(0, this, TQT_SLOT(programmerChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(programmerChanged())); } void Programmer::SelectConfigWidget::portChanged() @@ -118,5 +118,5 @@ void Programmer::SelectConfigWidget::programmerChanged() } else if (hasTab) _tabWidget->removePage(_portSelectorContainer); _portSelector->setGroup(group); _stack->setCurrentItem(key); - if (isHardware) TQTimer::singleShot(0, this, TQT_SLOT(portChanged())); + if (isHardware) TQTimer::singleShot(0, this, TQ_SLOT(portChanged())); } |