summaryrefslogtreecommitdiffstats
path: root/kompare
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:54:11 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:31:26 +0900
commitd5e7a8219589dc8cbb928685b513aaad93a95775 (patch)
tree90bd24290e66f07a5349f9b818d1ae98cf3402c7 /kompare
parent854ae8e07b5b84b8814546c46c59d050101a586b (diff)
downloadtdesdk-d5e7a8219589dc8cbb928685b513aaad93a95775.tar.gz
tdesdk-d5e7a8219589dc8cbb928685b513aaad93a95775.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 4419ae48793b07591929aff8c69a381e7a5bbb32)
Diffstat (limited to 'kompare')
-rw-r--r--kompare/komparepart/komparelistview.cpp2
-rw-r--r--kompare/komparepart/komparesplitter.cpp2
2 files changed, 2 insertions, 2 deletions
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()) );