From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- ksirc/kstextview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ksirc/kstextview.cpp') diff --git a/ksirc/kstextview.cpp b/ksirc/kstextview.cpp index 12a6747e..85bb62cb 100644 --- a/ksirc/kstextview.cpp +++ b/ksirc/kstextview.cpp @@ -1625,8 +1625,8 @@ TextView::TextView( TQWidget *parent, const char *name ) viewport()->setBackgroundMode( PaletteBase ); viewport()->setMouseTracking( true ); m_autoScrollTimer = new TQTimer( this ); - connect(verticalScrollBar(), TQT_SIGNAL(valueChanged( int ) ), - this, TQT_SLOT(scrolling( int ))); + connect(verticalScrollBar(), TQ_SIGNAL(valueChanged( int ) ), + this, TQ_SLOT(scrolling( int ))); setDragAutoScroll( false ); @@ -2028,16 +2028,16 @@ void TextView::emitLinkClickedForMouseEvent( TQMouseEvent *ev ) void TextView::startAutoScroll() { if(m_autoScrollTimer->isActive() == false){ - connect( m_autoScrollTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( autoScroll() ) ); + connect( m_autoScrollTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( autoScroll() ) ); m_autoScrollTimer->start( 75, false ); } } void TextView::stopAutoScroll() { - disconnect( m_autoScrollTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( autoScroll() ) ); + disconnect( m_autoScrollTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( autoScroll() ) ); m_autoScrollTimer->stop(); } -- cgit v1.2.1