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/qbutton.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/qbutton.cpp')
-rw-r--r-- | src/widgets/qbutton.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp index e5d172f32..e618af805 100644 --- a/src/widgets/qbutton.cpp +++ b/src/widgets/qbutton.cpp @@ -86,7 +86,7 @@ void TQButton::ensureData() if ( !d ) { d = new TQButtonData; TQ_CHECK_PTR( d ); - connect(&d->timer, SIGNAL(timeout()), this, SLOT(autoRepeatTimeout())); + connect(&d->timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(autoRepeatTimeout())); } } @@ -547,8 +547,8 @@ void TQButton::setAccel( const TQKeySequence& key ) ensureData(); if ( !d->a ) { d->a = new TQAccel( this, "buttonAccel" ); - connect( d->a, SIGNAL( activated(int) ), this, SLOT( animateClick() ) ); - connect( d->a, SIGNAL( activatedAmbiguously(int) ), this, SLOT( setFocus() ) ); + connect( d->a, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( animateClick() ) ); + connect( d->a, TQ_SIGNAL( activatedAmbiguously(int) ), this, TQ_SLOT( setFocus() ) ); } d->a->insertItem( key, 0 ); } @@ -595,7 +595,7 @@ void TQButton::animateClick() buttonDown = TRUE; repaint( FALSE ); emit pressed(); - TQTimer::singleShot( 100, this, SLOT(animateTimeout()) ); + TQTimer::singleShot( 100, this, TQ_SLOT(animateTimeout()) ); } void TQButton::emulateClick() |