From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- src/widgets/qtoolbutton.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/widgets/qtoolbutton.cpp') diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp index 1316944f0..b2a4443bf 100644 --- a/src/widgets/qtoolbutton.cpp +++ b/src/widgets/qtoolbutton.cpp @@ -147,11 +147,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 ); @@ -237,13 +237,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 ); @@ -749,9 +749,9 @@ TQIconSet TQToolButton::iconSet() 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; -- cgit v1.2.3