diff options
Diffstat (limited to 'kivio/kiviopart/kivio_view.cpp')
-rw-r--r-- | kivio/kiviopart/kivio_view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp index b4a3db8f..0b20e35c 100644 --- a/kivio/kiviopart/kivio_view.cpp +++ b/kivio/kiviopart/kivio_view.cpp @@ -215,7 +215,7 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc ) m_pCanvas = new KivioCanvas(canvasBase,this,doc,m_vertScrollBar,m_horzScrollBar); canvasBase->addWidget(m_pCanvas,0); canvasBase->raiseWidget(m_pCanvas); - m_pCanvas->setFocusPolicy(TQ_StrongFocus); + m_pCanvas->setFocusPolicy(TQWidget::StrongFocus); // Rulers vRuler = new KoRuler(pRightSide, m_pCanvas, Qt::Vertical, Kivio::Config::defaultPageLayout(), @@ -254,7 +254,7 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc ) layout->setRowStretch(1, 10); layout->setColStretch(1, 10); - TQWidget::setFocusPolicy( TQ_StrongFocus ); + TQWidget::setFocusPolicy( TQWidget::StrongFocus ); setFocusProxy( m_pCanvas ); connect( TQT_TQOBJECT(this), TQT_SIGNAL( invalidated() ), m_pCanvas, TQT_SLOT( update() ) ); |