summaryrefslogtreecommitdiffstats
path: root/kdesktop/desktop.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:52:49 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:52:49 +0900
commita8f627e6d45af521718176586daf0253b4daa597 (patch)
treecb97fd20da95f86ceac149162040a2907cd0acad /kdesktop/desktop.cpp
parent547c7d72cf8f8eccd79e6114d3252ae01f1accde (diff)
downloadtdebase-a8f627e6d45af521718176586daf0253b4daa597.tar.gz
tdebase-a8f627e6d45af521718176586daf0253b4daa597.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdesktop/desktop.cpp')
-rw-r--r--kdesktop/desktop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdesktop/desktop.cpp b/kdesktop/desktop.cpp
index 2732bff08..9539d8a1e 100644
--- a/kdesktop/desktop.cpp
+++ b/kdesktop/desktop.cpp
@@ -165,7 +165,7 @@ KDesktop::KDesktop( SaverEngine* saver, bool x_root_hack, bool wait_for_kded ) :
m_bInit = true;
// It's the child widget that gets the focus, not us
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
if ( x_root_hack )
{
@@ -279,8 +279,8 @@ KDesktop::initRoot()
m_pIconView->setDragAutoScroll( false );
m_pIconView->setFrameStyle( TQFrame::NoFrame );
m_pIconView->viewport()->setBackgroundMode( X11ParentRelative );
- m_pIconView->setFocusPolicy( TQ_StrongFocus );
- m_pIconView->viewport()->setFocusPolicy( TQ_StrongFocus );
+ m_pIconView->setFocusPolicy( TQWidget::StrongFocus );
+ m_pIconView->viewport()->setFocusPolicy( TQWidget::StrongFocus );
m_pIconView->setGeometry( geometry() );
m_pIconView->show();