summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/widgets/qbutton.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qbutton.cpp')
-rw-r--r--src/widgets/qbutton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index 90fe7cb0c..3b91b18fb 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -85,7 +85,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()));
}
}
@@ -538,8 +538,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 );
}
@@ -573,7 +573,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()