diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/widgets/qslider.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'src/widgets/qslider.cpp')
-rw-r--r-- | src/widgets/qslider.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qslider.cpp b/src/widgets/qslider.cpp index 883065e0c..55e1589c2 100644 --- a/src/widgets/qslider.cpp +++ b/src/widgets/qslider.cpp @@ -461,7 +461,7 @@ void TQSlider::mousePressEvent( TQMouseEvent *e ) } if ( !timer ) timer = new TQTimer( this ); - connect( timer, SIGNAL(timeout()), SLOT(repeatTimeout()) ); + connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) ); timer->start( thresholdTime, TRUE ); } else if ( ( orient == Horizontal && e->pos().x() > r.right() ) //### goodPart || ( orient == Vertical && e->pos().y() > r.bottom() ) ) { @@ -474,7 +474,7 @@ void TQSlider::mousePressEvent( TQMouseEvent *e ) } if ( !timer ) timer = new TQTimer( this ); - connect( timer, SIGNAL(timeout()), SLOT(repeatTimeout()) ); + connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(repeatTimeout()) ); timer->start( thresholdTime, TRUE ); } update( sliderRect() ); @@ -713,9 +713,9 @@ void TQSlider::repeatTimeout() Q_ASSERT( timer ); timer->disconnect(); if ( state == TimingDown ) - connect( timer, SIGNAL(timeout()), SLOT(subtractStep()) ); + connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(subtractStep()) ); else if ( state == TimingUp ) - connect( timer, SIGNAL(timeout()), SLOT(addStep()) ); + connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(addStep()) ); timer->start( repeatTime, FALSE ); } |