summaryrefslogtreecommitdiffstats
path: root/kblackbox/kbbgfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kblackbox/kbbgfx.cpp')
-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 );
}
/*