summaryrefslogtreecommitdiffstats
path: root/lib/kopalette
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kopalette')
-rw-r--r--lib/kopalette/kopalette.cpp2
-rw-r--r--lib/kopalette/kotabpalette.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kopalette/kopalette.cpp b/lib/kopalette/kopalette.cpp
index cd392205..4c69aa59 100644
--- a/lib/kopalette/kopalette.cpp
+++ b/lib/kopalette/kopalette.cpp
@@ -49,7 +49,7 @@ KoPalette::KoPalette(TQWidget * parent, const char * name)
setCloseMode( TQDockWindow::Never);
setResizeEnabled(true);
setOpaqueMoving(true);
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
setVerticallyStretchable(false);
setHorizontallyStretchable(false);
diff --git a/lib/kopalette/kotabpalette.cpp b/lib/kopalette/kotabpalette.cpp
index 0e798842..cbf96336 100644
--- a/lib/kopalette/kotabpalette.cpp
+++ b/lib/kopalette/kotabpalette.cpp
@@ -32,7 +32,7 @@ KoTabPalette::KoTabPalette(TQWidget * parent, const char * name)
{
m_page = new KTabWidget(this);
m_page->setTabShape(TQTabWidget::Triangular);
- m_page->setFocusPolicy(TQ_TabFocus);
+ m_page->setFocusPolicy(TQWidget::TabFocus);
//m_page->setFont(m_font);
m_page->setMargin(1);
//m_page->setTabReorderingEnabled(true);