diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:29:26 +0900 |
commit | 1ece3ab54a7c973756eeb539fb24df4f5563e117 (patch) | |
tree | 183d91483f9c5aa16c1174bb00050052513d56ca /kblackbox | |
parent | 43d761c13e328fd8096616efe9229be7a3867dfb (diff) | |
download | tdegames-1ece3ab54a7c973756eeb539fb24df4f5563e117.tar.gz tdegames-1ece3ab54a7c973756eeb539fb24df4f5563e117.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8b08e8d5f6d410854393049d96157eded0f9b26c)
Diffstat (limited to 'kblackbox')
-rw-r--r-- | kblackbox/kbbgfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } /* |