From d02729663347c003e8afbeda0e3d9227aff5806b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:47:19 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/common/common/synchronous.cpp | 2 +- src/common/gui/hexword_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/common/synchronous.cpp b/src/common/common/synchronous.cpp index 05c535e..dbf782f 100644 --- a/src/common/common/synchronous.cpp +++ b/src/common/common/synchronous.cpp @@ -26,7 +26,7 @@ bool Synchronous::enterLoop() TQWidget *dummy = 0; if ( tqApp->type()!=TQApplication::Tty ) { dummy = new TQWidget(0, 0, WType_Dialog | WShowModal); - dummy->setFocusPolicy(TQ_NoFocus); + dummy->setFocusPolicy(TQWidget::NoFocus); tqt_enter_modal(dummy); } TQApplication::eventLoop()->enterLoop(); diff --git a/src/common/gui/hexword_gui.cpp b/src/common/gui/hexword_gui.cpp index 3030d65..d6ee42f 100644 --- a/src/common/gui/hexword_gui.cpp +++ b/src/common/gui/hexword_gui.cpp @@ -31,7 +31,7 @@ TQValidator::State HexValueValidator::validate(TQString &input, int &) const GenericHexWordEditor::GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent) : KLineEdit(parent, "hex_word_editor"), _nbChars(nbChars), _hasBlankValue(hasBlankValue) { - setFocusPolicy(TQ_ClickFocus); + setFocusPolicy(TQWidget::ClickFocus); setValidator(new HexValueValidator(nbChars, TQT_TQOBJECT(this))); connect(this, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotTextChanged())); setFrame(false); -- cgit v1.2.1