summaryrefslogtreecommitdiffstats
path: root/lib/kopalette
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
committerMichele Calgaro <[email protected]>2023-09-03 22:56:09 +0900
commit7b525ca12009d79fe90020690a4e7f0716dc97c2 (patch)
treed0561e6888afed3a1aef5058cc5a1c6348546f2f /lib/kopalette
parentc4525c81c3e7a2d7cc4c0afecc8bb5e217be9822 (diff)
downloadkoffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.tar.gz
koffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 04e50e547f8ed2d6db996bc4816179fa962bd6b1)
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);