diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 16:42:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-29 16:48:53 +0900 |
commit | c679361a50aee162491e7195f2bcfdbbf341dde5 (patch) | |
tree | c8ff90ba1810054b7e53a79649b0e33a0937e74f /src/common/gui/hexword_gui.cpp | |
parent | a8207be921513da0ccccf41e36e056736c2b8457 (diff) | |
download | piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/common/gui/hexword_gui.cpp')
-rw-r--r-- | src/common/gui/hexword_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<TQKeyEvent*>(e)->key() ) { |