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/direct/gui/direct_config_widget.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/direct/gui/direct_config_widget.cpp')
-rw-r--r-- | src/progs/direct/gui/direct_config_widget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/direct/gui/direct_config_widget.cpp b/src/progs/direct/gui/direct_config_widget.cpp index fe46145..203cfc9 100644 --- a/src/progs/direct/gui/direct_config_widget.cpp +++ b/src/progs/direct/gui/direct_config_widget.cpp @@ -42,7 +42,7 @@ Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *parent, grid->addWidget(label, i, 0); _combos[i] = new TQComboBox(w); _combos[i]->setEnabled(edit); - connect(_combos[i], TQT_SIGNAL(activated(int)), TQT_SLOT(slotPinChanged())); + connect(_combos[i], TQ_SIGNAL(activated(int)), TQ_SLOT(slotPinChanged())); TQToolTip::add(_combos[i], PIN_DATA[i].comment); grid->addWidget(_combos[i], i, 1); _invcbs[i] = new TQCheckBox(i18n("Inverted"), w); @@ -52,7 +52,7 @@ Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *parent, if (edit) { _testcbs[i] = new TQCheckBox(i18n("on"), w); TQToolTip::add(_testcbs[i], PIN_DATA[i].testComment); - connect(_testcbs[i], TQT_SIGNAL(clicked()), TQT_SLOT(slotTestPin())); + connect(_testcbs[i], TQ_SIGNAL(clicked()), TQ_SLOT(slotTestPin())); grid->addWidget(_testcbs[i], i, 3); _testLabels[i] = new TQLabel(w); TQToolTip::add(_testcbs[i], PIN_DATA[i].testComment); @@ -77,7 +77,7 @@ Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *parent, if (edit) { _sendBitsButton = new TQPushButton(i18n("Send 0xA55A"), this); _sendBitsButton->setToggleButton(true); - connect(_sendBitsButton, TQT_SIGNAL(clicked()), TQT_SLOT(sendBits())); + connect(_sendBitsButton, TQ_SIGNAL(clicked()), TQ_SLOT(sendBits())); TQToolTip::add(_sendBitsButton, i18n("Continuously send 0xA55A on \"Data out\" pin.")); _editVBox->addWidget(_sendBitsButton); _editVBox->addStretch(1); @@ -85,11 +85,11 @@ Direct::HConfigWidget::HConfigWidget(::Programmer::Base &base, TQWidget *parent, // timer for sending bits _timerSendBits = new TQTimer(this); - connect(_timerSendBits, TQT_SIGNAL(timeout()), TQT_SLOT(slotSendBits())); + connect(_timerSendBits, TQ_SIGNAL(timeout()), TQ_SLOT(slotSendBits())); // timer for automatically polling DataOut pin _timerPollDataOut = new TQTimer(this); - connect(_timerPollDataOut, TQT_SIGNAL(timeout()), TQT_SLOT(updateDataIn())); + connect(_timerPollDataOut, TQ_SIGNAL(timeout()), TQ_SLOT(updateDataIn())); } void Direct::HConfigWidget::sendBits() |