From c679361a50aee162491e7195f2bcfdbbf341dde5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 29 Dec 2023 16:42:37 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/progs/gui/port_selector.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/gui/port_selector.cpp') diff --git a/src/progs/gui/port_selector.cpp b/src/progs/gui/port_selector.cpp index 27ecb12..9c06de1 100644 --- a/src/progs/gui/port_selector.cpp +++ b/src/progs/gui/port_selector.cpp @@ -28,7 +28,7 @@ PortSelector::PortSelector(TQWidget *parent) _top->setRowStretch(1, 1); _bgroup = new TQButtonGroup; - connect(_bgroup, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(changed())); + connect(_bgroup, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed())); } void PortSelector::setGroup(const Programmer::Group &group) @@ -95,8 +95,8 @@ void PortSelector::addPortType(const Port::Description &pd) for (uint i=0; iinsertItem(list[i]); if ( !pd.device.isEmpty() && !list.contains(pd.device) ) _combos[pd.type.type()]->insertItem(pd.device); _combos[pd.type.type()]->setCurrentText(pd.device); - connect(_combos[pd.type.type()], TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(_combos[pd.type.type()], TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(textChanged())); + connect(_combos[pd.type.type()], TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(_combos[pd.type.type()], TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(textChanged())); _grid->addWidget(_combos[pd.type.type()], 3*(_bgroup->count()-1), 1); } } @@ -140,5 +140,5 @@ void PortSelector::textChanged() if (_pending) return; _status[type().type()]->hide(); _pending = true; - TQTimer::singleShot(1000, this, TQT_SIGNAL(changed())); + TQTimer::singleShot(1000, this, TQ_SIGNAL(changed())); } -- cgit v1.2.1