From 8b08e8d5f6d410854393049d96157eded0f9b26c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:53:09 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- kblackbox/kbbgfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kblackbox') diff --git a/kblackbox/kbbgfx.cpp b/kblackbox/kbbgfx.cpp index 0becd126..c3af718e 100644 --- a/kblackbox/kbbgfx.cpp +++ b/kblackbox/kbbgfx.cpp @@ -28,7 +28,7 @@ KBBGraphic::KBBGraphic( TQPixmap **p, TQWidget* parent, const char* name ) int i; curRow = curCol = 0; - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); setBackgroundColor( gray ); setCellWidth( CELLW ); // set width of cell in pixels setCellHeight( CELLH ); // set height of cell in pixels @@ -454,8 +454,8 @@ void KBBGraphic::focusOutEvent( TQFocusEvent* ) void KBBGraphic::setInputAccepted( bool b ) { inputAccepted = b; - if (b) setFocusPolicy( TQ_StrongFocus ); - else setFocusPolicy( TQ_NoFocus ); + if (b) setFocusPolicy( TQWidget::StrongFocus ); + else setFocusPolicy( TQWidget::NoFocus ); } /* -- cgit v1.2.1