diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:53:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-02 15:53:09 +0900 |
commit | 8b08e8d5f6d410854393049d96157eded0f9b26c (patch) | |
tree | 0c982da5cea10ce8af72a79a5ff12f6101309e30 /kblackbox/kbbgfx.cpp | |
parent | 9f3f41c457e2b491bda3e7ba70ad5b4f312dbff7 (diff) | |
download | tdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.tar.gz tdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kblackbox/kbbgfx.cpp')
-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 ); } /* |