summaryrefslogtreecommitdiffstats
path: root/kformula/kformula_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kformula/kformula_view.cpp')
-rw-r--r--kformula/kformula_view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kformula/kformula_view.cpp b/kformula/kformula_view.cpp
index 2d93ce5d8..1c7e044c0 100644
--- a/kformula/kformula_view.cpp
+++ b/kformula/kformula_view.cpp
@@ -65,8 +65,8 @@ KFormulaPartView::KFormulaPartView(KFormulaDoc* _doc, TQWidget* _parent, const c
scrollview->addChild(formulaWidget);
scrollview->viewport()->setFocusProxy( scrollview );
- scrollview->viewport()->setFocusPolicy( TQ_WheelFocus );
- scrollview->setFocusPolicy( TQ_NoFocus );
+ scrollview->viewport()->setFocusPolicy( TQWidget::WheelFocus );
+ scrollview->setFocusPolicy( TQWidget::NoFocus );
formulaWidget->setFocus();
// Nice parts start in read only mode.