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-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/widgets/qtoolbutton.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/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 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;