diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:42:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:22:08 +0900 |
| commit | f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd (patch) | |
| tree | 49b5284de3c34fa5beb84bd52110e7e1cdba826d /src/common/gui/hexword_gui.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 <michele.calgaro@yahoo.it>
(cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5)
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() ) { |
