diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:51:33 +0900 |
commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /ksirc/kstextview.cpp | |
parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); } |