diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/kstextview.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/kstextview.cpp')
-rw-r--r-- | ksirc/kstextview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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(); } |