summaryrefslogtreecommitdiffstats
path: root/konqueror
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 /konqueror
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 'konqueror')
-rw-r--r--konqueror/konq_frame.cpp2
-rw-r--r--konqueror/listview/konq_listviewwidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/konqueror/konq_frame.cpp b/konqueror/konq_frame.cpp
index d5e5d0ef5..63f33aff1 100644
--- a/konqueror/konq_frame.cpp
+++ b/konqueror/konq_frame.cpp
@@ -80,7 +80,7 @@ KonqFrameStatusBar::KonqFrameStatusBar( KonqFrame *_parent, const char *_name )
addWidget( m_pStatusLabel, 1 /*stretch*/, false ); // status label
m_pLinkedViewCheckBox = new KonqCheckBox( this, "m_pLinkedViewCheckBox" );
- m_pLinkedViewCheckBox->setFocusPolicy(TQ_NoFocus);
+ m_pLinkedViewCheckBox->setFocusPolicy(TQWidget::NoFocus);
m_pLinkedViewCheckBox->setSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
TQWhatsThis::add( m_pLinkedViewCheckBox,
i18n("Checking this box on at least two views sets those views as 'linked'. "
diff --git a/konqueror/listview/konq_listviewwidget.cpp b/konqueror/listview/konq_listviewwidget.cpp
index 2b48b6718..8c27c740b 100644
--- a/konqueror/listview/konq_listviewwidget.cpp
+++ b/konqueror/listview/konq_listviewwidget.cpp
@@ -174,8 +174,8 @@ KonqBaseListViewWidget::KonqBaseListViewWidget( KonqListView *parent, TQWidget *
connect( header(), TQT_SIGNAL(sizeChange( int, int, int )), TQT_SLOT(slotUpdateBackground()) );
viewport()->setMouseTracking( true );
- viewport()->setFocusPolicy( TQ_WheelFocus );
- setFocusPolicy( TQ_WheelFocus );
+ viewport()->setFocusPolicy( TQWidget::WheelFocus );
+ setFocusPolicy( TQWidget::WheelFocus );
setAcceptDrops( true );
//looks better with the statusbar