summaryrefslogtreecommitdiffstats
path: root/kblackbox
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:29:26 +0900
commit1ece3ab54a7c973756eeb539fb24df4f5563e117 (patch)
tree183d91483f9c5aa16c1174bb00050052513d56ca /kblackbox
parent43d761c13e328fd8096616efe9229be7a3867dfb (diff)
downloadtdegames-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.cpp6
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 );
}
/*