summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:52:49 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:33:38 +0900
commit7ff24388e9d913479dd269cf29ba9aae5f6bde48 (patch)
treea5eecb895074ce87f4225b37f4e4b930f8cf046d /kdesktop
parent88a3a73f276d3e2f49ee25f57fb8e8660ebe2228 (diff)
downloadtdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.tar.gz
tdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
Diffstat (limited to 'kdesktop')
-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();