From 46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:54:29 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- khexedit/bitswapwidget.cpp | 2 +- khexedit/dialog.cpp | 2 +- khexedit/hexviewwidget.cpp | 2 +- khexedit/lib/khexedit.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'khexedit') diff --git a/khexedit/bitswapwidget.cpp b/khexedit/bitswapwidget.cpp index bbea65a..bc6da80 100644 --- a/khexedit/bitswapwidget.cpp +++ b/khexedit/bitswapwidget.cpp @@ -27,7 +27,7 @@ CDigitLabel::CDigitLabel( TQWidget *parent, uint digit, const char *name ) :TQLabel(parent, name), mDigit( digit ), mDotPosition( 0 ) { - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); initialize(); } diff --git a/khexedit/dialog.cpp b/khexedit/dialog.cpp index c2f2d80..588a715 100644 --- a/khexedit/dialog.cpp +++ b/khexedit/dialog.cpp @@ -365,7 +365,7 @@ CFindNavigatorDialog::CFindNavigatorDialog( TQWidget *parent, const char *name, mKey = new TQLineEdit( plainPage() ); mKey->setMinimumWidth( fontMetrics().width("M") * 20 ); - mKey->setFocusPolicy( TQ_NoFocus ); + mKey->setFocusPolicy( TQWidget::NoFocus ); hbox->addWidget( mKey ); topLayout->addSpacing( spacingHint() ); // A little bit extra space diff --git a/khexedit/hexviewwidget.cpp b/khexedit/hexviewwidget.cpp index 6c15ae3..28335af 100644 --- a/khexedit/hexviewwidget.cpp +++ b/khexedit/hexviewwidget.cpp @@ -217,7 +217,7 @@ CHexViewWidget::CHexViewWidget( TQWidget *parent, const char *name, setFrameStyle( TQFrame::WinPanel|TQFrame::Sunken ); setWFlags( WResizeNoErase ); - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); mHexBuffer = hexBuffer; mHexBuffer->cursorReset(); diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp index dd34e1e..eaedc9d 100644 --- a/khexedit/lib/khexedit.cpp +++ b/khexedit/lib/khexedit.cpp @@ -133,7 +133,7 @@ KHexEdit::KHexEdit( KDataBuffer *Buffer, TQWidget *Parent, const char *Name, WFl // get the full control viewport()->setFocusProxy( this ); - viewport()->setFocusPolicy( TQ_WheelFocus ); + viewport()->setFocusPolicy( TQWidget::WheelFocus ); viewport()->installEventFilter( this ); installEventFilter( this ); -- cgit v1.2.1