From 4419ae48793b07591929aff8c69a381e7a5bbb32 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:54:11 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- kompare/komparepart/komparelistview.cpp | 2 +- kompare/komparepart/komparesplitter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kompare') diff --git a/kompare/komparepart/komparelistview.cpp b/kompare/komparepart/komparelistview.cpp index 31b946bd..63ac3787 100644 --- a/kompare/komparepart/komparelistview.cpp +++ b/kompare/komparepart/komparelistview.cpp @@ -122,7 +122,7 @@ KompareListView::KompareListView( bool isSource, setFrameStyle( TQFrame::NoFrame ); setVScrollBarMode( TQScrollView::AlwaysOff ); setHScrollBarMode( TQScrollView::AlwaysOff ); - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); setFont( m_settings->m_font ); setSpaces( m_settings->m_tabToNumberOfSpaces ); setFocusProxy( parent->parentWidget() ); diff --git a/kompare/komparepart/komparesplitter.cpp b/kompare/komparepart/komparesplitter.cpp index 09e670b2..5be663ba 100644 --- a/kompare/komparepart/komparesplitter.cpp +++ b/kompare/komparepart/komparesplitter.cpp @@ -64,7 +64,7 @@ KompareSplitter::KompareSplitter( ViewSettings *settings, TQWidget * parent, setFrameStyle( TQFrame::NoFrame ); setSizePolicy( TQSizePolicy (TQSizePolicy::Ignored, TQSizePolicy::Ignored )); setOpaqueResize( true ); - setFocusPolicy( TQ_WheelFocus ); + setFocusPolicy( TQWidget::WheelFocus ); connect( this, TQT_SIGNAL(configChanged()), TQT_SLOT(slotConfigChanged()) ); connect( this, TQT_SIGNAL(configChanged()), TQT_SLOT(slotDelayedRepaintHandles()) ); -- cgit v1.2.1