From f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd 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 (cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5) --- src/common/gui/hexword_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/gui/hexword_gui.cpp') diff --git a/src/common/gui/hexword_gui.cpp b/src/common/gui/hexword_gui.cpp index 01a5f8d..97cc25c 100644 --- a/src/common/gui/hexword_gui.cpp +++ b/src/common/gui/hexword_gui.cpp @@ -33,7 +33,7 @@ GenericHexWordEditor::GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQW { setFocusPolicy(TQWidget::ClickFocus); setValidator(new HexValueValidator(nbChars, this)); - connect(this, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotTextChanged())); + connect(this, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotTextChanged())); setFrame(false); } @@ -81,7 +81,7 @@ bool GenericHexWordEditor::event(TQEvent *e) changeValue(); break; case TQEvent::FocusIn: - TQTimer::singleShot(0, this, TQT_SLOT(selectAll())); // ugly but it works + TQTimer::singleShot(0, this, TQ_SLOT(selectAll())); // ugly but it works break; case TQEvent::KeyPress: switch ( static_cast(e)->key() ) { -- cgit v1.2.3