summaryrefslogtreecommitdiffstats
path: root/src/widgets/qmenubar.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/qmenubar.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/qmenubar.cpp')
-rw-r--r--src/widgets/qmenubar.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/widgets/qmenubar.cpp b/src/widgets/qmenubar.cpp
index d832bcc40..c0051ef6e 100644
--- a/src/widgets/qmenubar.cpp
+++ b/src/widgets/qmenubar.cpp
@@ -375,7 +375,7 @@ void TQMenuBar::menuContentsChanged()
return;
pendingDelayedContentsChanges = 1;
if( !pendingDelayedStateChanges )// if the timer hasn't been started yet
- TQTimer::singleShot( 0, this, SLOT(performDelayedChanges()));
+ TQTimer::singleShot( 0, this, TQ_SLOT(performDelayedChanges()));
}
void TQMenuBar::performDelayedContentsChanged()
@@ -418,7 +418,7 @@ void TQMenuBar::menuStateChanged()
return;
pendingDelayedStateChanges = 1;
if( !pendingDelayedContentsChanges ) // if the timer hasn't been started yet
- TQTimer::singleShot( 0, this, SLOT(performDelayedChanges()));
+ TQTimer::singleShot( 0, this, TQ_SLOT(performDelayedChanges()));
}
void TQMenuBar::performDelayedStateChanged()
@@ -467,20 +467,20 @@ void TQMenuBar::performDelayedChanges()
void TQMenuBar::menuInsPopup( TQPopupMenu *popup )
{
- connect( popup, SIGNAL(activatedRedirect(int)),
- SLOT(subActivated(int)) );
- connect( popup, SIGNAL(highlightedRedirect(int)),
- SLOT(subHighlighted(int)) );
- connect( popup, SIGNAL(destroyed(TQObject*)),
- this, SLOT(popupDestroyed(TQObject*)) );
+ connect( popup, TQ_SIGNAL(activatedRedirect(int)),
+ TQ_SLOT(subActivated(int)) );
+ connect( popup, TQ_SIGNAL(highlightedRedirect(int)),
+ TQ_SLOT(subHighlighted(int)) );
+ connect( popup, TQ_SIGNAL(destroyed(TQObject*)),
+ this, TQ_SLOT(popupDestroyed(TQObject*)) );
}
void TQMenuBar::menuDelPopup( TQPopupMenu *popup )
{
- popup->disconnect( SIGNAL(activatedRedirect(int)) );
- popup->disconnect( SIGNAL(highlightedRedirect(int)) );
- disconnect( popup, SIGNAL(destroyed(TQObject*)),
- this, SLOT(popupDestroyed(TQObject*)) );
+ popup->disconnect( TQ_SIGNAL(activatedRedirect(int)) );
+ popup->disconnect( TQ_SIGNAL(highlightedRedirect(int)) );
+ disconnect( popup, TQ_SIGNAL(destroyed(TQObject*)),
+ this, TQ_SLOT(popupDestroyed(TQObject*)) );
}
void TQMenuBar::frameChanged()
@@ -1547,12 +1547,12 @@ void TQMenuBar::setupAccelerators()
autoaccel = new TQAccel( this );
TQ_CHECK_PTR( autoaccel );
autoaccel->setIgnoreWhatsThis( TRUE );
- connect( autoaccel, SIGNAL(activated(int)),
- SLOT(accelActivated(int)) );
- connect( autoaccel, SIGNAL(activatedAmbiguously(int)),
- SLOT(accelActivated(int)) );
- connect( autoaccel, SIGNAL(destroyed()),
- SLOT(accelDestroyed()) );
+ connect( autoaccel, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(accelActivated(int)) );
+ connect( autoaccel, TQ_SIGNAL(activatedAmbiguously(int)),
+ TQ_SLOT(accelActivated(int)) );
+ connect( autoaccel, TQ_SIGNAL(destroyed()),
+ TQ_SLOT(accelDestroyed()) );
}
autoaccel->insertItem( i, mi->id() );
}