summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtoolbutton.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-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/widgets/qtoolbutton.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt-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/qtoolbutton.cpp')
-rw-r--r--src/widgets/qtoolbutton.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp
index 74f3f4ade..d00a21baa 100644
--- a/src/widgets/qtoolbutton.cpp
+++ b/src/widgets/qtoolbutton.cpp
@@ -148,11 +148,11 @@ TQToolButton::TQToolButton( TQWidget * parent, const char *name )
if ( tb ) {
setAutoRaise( TRUE );
if ( tb->mainWindow() ) {
- connect( tb->mainWindow(), SIGNAL(pixmapSizeChanged(bool)),
- this, SLOT(setUsesBigPixmap(bool)) );
+ connect( tb->mainWindow(), TQ_SIGNAL(pixmapSizeChanged(bool)),
+ this, TQ_SLOT(setUsesBigPixmap(bool)) );
setUsesBigPixmap( tb->mainWindow()->usesBigPixmaps() );
- connect( tb->mainWindow(), SIGNAL(usesTextLabelChanged(bool)),
- this, SLOT(setUsesTextLabel(bool)) );
+ connect( tb->mainWindow(), TQ_SIGNAL(usesTextLabelChanged(bool)),
+ this, TQ_SLOT(setUsesTextLabel(bool)) );
setUsesTextLabel( tb->mainWindow()->usesTextLabel() );
} else {
setUsesBigPixmap( FALSE );
@@ -238,13 +238,13 @@ TQToolButton::TQToolButton( const TQIconSet& iconSet, const TQString &textLabel,
setIconSet( iconSet );
setTextLabel( textLabel );
if ( receiver && slot )
- connect( this, SIGNAL(clicked()), receiver, slot );
+ connect( this, TQ_SIGNAL(clicked()), receiver, slot );
if ( parent->mainWindow() ) {
- connect( parent->mainWindow(), SIGNAL(pixmapSizeChanged(bool)),
- this, SLOT(setUsesBigPixmap(bool)) );
+ connect( parent->mainWindow(), TQ_SIGNAL(pixmapSizeChanged(bool)),
+ this, TQ_SLOT(setUsesBigPixmap(bool)) );
setUsesBigPixmap( parent->mainWindow()->usesBigPixmaps() );
- connect( parent->mainWindow(), SIGNAL(usesTextLabelChanged(bool)),
- this, SLOT(setUsesTextLabel(bool)) );
+ connect( parent->mainWindow(), TQ_SIGNAL(usesTextLabelChanged(bool)),
+ this, TQ_SLOT(setUsesTextLabel(bool)) );
setUsesTextLabel( parent->mainWindow()->usesTextLabel() );
} else {
setUsesBigPixmap( FALSE );
@@ -854,9 +854,9 @@ TQIconSet TQToolButton::iconSet( bool /* on */ ) const
void TQToolButton::setPopup( TQPopupMenu* popup )
{
if ( popup && !d->popupTimer ) {
- connect( this, SIGNAL( pressed() ), this, SLOT( popupPressed() ) );
+ connect( this, TQ_SIGNAL( pressed() ), this, TQ_SLOT( popupPressed() ) );
d->popupTimer = new TQTimer( this );
- connect( d->popupTimer, SIGNAL( timeout() ), this, SLOT( popupTimerDone() ) );
+ connect( d->popupTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( popupTimerDone() ) );
}
d->popup = popup;