diff options
Diffstat (limited to 'chalk/ui/kis_controlframe.cpp')
-rw-r--r-- | chalk/ui/kis_controlframe.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/ui/kis_controlframe.cpp b/chalk/ui/kis_controlframe.cpp index e5a8ce1b..85f30454 100644 --- a/chalk/ui/kis_controlframe.cpp +++ b/chalk/ui/kis_controlframe.cpp @@ -63,7 +63,7 @@ KisPopupFrame::KisPopupFrame(TQWidget * parent, const char* name) : TQPopupMenu(parent, name) { - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); } void KisPopupFrame::keyPressEvent(TQKeyEvent * e) @@ -222,7 +222,7 @@ void KisControlFrame::createBrushesChooser(KisView * view) TQTabWidget * m_brushesTab = new TQTabWidget(m_brushChooserPopup, "brushestab"); m_brushesTab->setTabShape(TQTabWidget::Triangular); - m_brushesTab->setFocusPolicy(TQ_NoFocus); + m_brushesTab->setFocusPolicy(TQWidget::NoFocus); m_brushesTab->setFont(m_font); m_brushesTab->setMargin(1); @@ -274,7 +274,7 @@ void KisControlFrame::createPatternsChooser(KisView * view) TQTabWidget * m_patternsTab = new TQTabWidget(m_patternChooserPopup, "patternstab"); m_patternsTab->setTabShape(TQTabWidget::Triangular); - m_patternsTab->setFocusPolicy(TQ_NoFocus); + m_patternsTab->setFocusPolicy(TQWidget::NoFocus); m_patternsTab->setFont(m_font); m_patternsTab->setMargin(1); l2->add( m_patternsTab ); @@ -315,7 +315,7 @@ void KisControlFrame::createGradientsChooser(KisView * view) TQTabWidget * m_gradientTab = new TQTabWidget(m_gradientChooserPopup, "gradientstab"); m_gradientTab->setTabShape(TQTabWidget::Triangular); - m_gradientTab->setFocusPolicy(TQ_NoFocus); + m_gradientTab->setFocusPolicy(TQWidget::NoFocus); m_gradientTab->setFont(m_font); m_gradientTab->setMargin(1); |