summaryrefslogtreecommitdiffstats
path: root/kivio
diff options
context:
space:
mode:
Diffstat (limited to 'kivio')
-rw-r--r--kivio/kiviopart/kivio_canvas.cpp2
-rw-r--r--kivio/kiviopart/kivio_stackbar.cpp2
-rw-r--r--kivio/kiviopart/kivio_view.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kivio_canvas.cpp b/kivio/kiviopart/kivio_canvas.cpp
index b8c010e9..e6a192fe 100644
--- a/kivio/kiviopart/kivio_canvas.cpp
+++ b/kivio/kiviopart/kivio_canvas.cpp
@@ -66,7 +66,7 @@ KivioCanvas::KivioCanvas( TQWidget *par, KivioView* view, KivioDoc* doc, TQScrol
setBackgroundMode(NoBackground);
setAcceptDrops(true);
setMouseTracking(true);
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
setFocus();
m_showConnectorTargets = false;
diff --git a/kivio/kiviopart/kivio_stackbar.cpp b/kivio/kiviopart/kivio_stackbar.cpp
index 94b37ae3..1c6954bc 100644
--- a/kivio/kiviopart/kivio_stackbar.cpp
+++ b/kivio/kiviopart/kivio_stackbar.cpp
@@ -50,7 +50,7 @@ void KivioStackBar::insertPage( TQWidget* w, const TQString& title )
}
w->hide();
- w->setFocusPolicy(TQ_NoFocus);
+ w->setFocusPolicy(TQWidget::NoFocus);
setMinimumWidth( TQMAX(minimumSize().width(),w->minimumSize().width() ) );
setMaximumWidth( TQMAX(maximumSize().width(),w->maximumSize().width() ) );
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() ) );