summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtoolbar.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/qtoolbar.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/qtoolbar.cpp')
-rw-r--r--src/widgets/qtoolbar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/qtoolbar.cpp b/src/widgets/qtoolbar.cpp
index 79b13a80b..dfff7c763 100644
--- a/src/widgets/qtoolbar.cpp
+++ b/src/widgets/qtoolbar.cpp
@@ -165,8 +165,8 @@ TQToolBarSeparator::TQToolBarSeparator(Orientation o , TQToolBar *parent,
const char* name )
: TQWidget( parent, name )
{
- connect( parent, SIGNAL(orientationChanged(Orientation)),
- this, SLOT(setOrientation(Orientation)) );
+ connect( parent, TQ_SIGNAL(orientationChanged(Orientation)),
+ this, TQ_SLOT(setOrientation(Orientation)) );
setOrientation( o );
setBackgroundMode( parent->backgroundMode() );
setBackgroundOrigin( ParentOrigin );
@@ -602,7 +602,7 @@ void TQToolBar::createPopup()
{
if (!d->extensionPopup) {
d->extensionPopup = new TQPopupMenu( this, "qt_dockwidget_internal" );
- connect( d->extensionPopup, SIGNAL( aboutToShow() ), this, SLOT( createPopup() ) );
+ connect( d->extensionPopup, TQ_SIGNAL( aboutToShow() ), this, TQ_SLOT( createPopup() ) );
}
if (!d->extension) {
@@ -654,7 +654,7 @@ void TQToolBar::createPopup()
if ( b->popup() && b->popupDelay() <= 0 )
id = d->extensionPopup->insertItem( b->iconSet(), s, b->popup() );
else
- id = d->extensionPopup->insertItem( b->iconSet(), s, b, SLOT( emulateClick() ) ) ;
+ id = d->extensionPopup->insertItem( b->iconSet(), s, b, TQ_SLOT( emulateClick() ) ) ;
if ( b->isToggleButton() )
d->extensionPopup->setItemChecked( id, b->isOn() );
if ( !b->isEnabled() )
@@ -665,9 +665,9 @@ void TQToolBar::createPopup()
if ( s.isEmpty() )
s = "";
if ( b->pixmap() )
- id = d->extensionPopup->insertItem( *b->pixmap(), s, b, SLOT( emulateClick() ) );
+ id = d->extensionPopup->insertItem( *b->pixmap(), s, b, TQ_SLOT( emulateClick() ) );
else
- id = d->extensionPopup->insertItem( s, b, SLOT( emulateClick() ) );
+ id = d->extensionPopup->insertItem( s, b, TQ_SLOT( emulateClick() ) );
if ( b->isToggleButton() )
d->extensionPopup->setItemChecked( id, b->isOn() );
if ( !b->isEnabled() )
@@ -687,7 +687,7 @@ void TQToolBar::createPopup()
TQPopupMenu *cp = new TQPopupMenu(d->extensionPopup);
cp->setEnabled(c->isEnabled());
d->extensionPopup->insertItem( s, cp );
- connect( cp, SIGNAL( activated(int) ), c, SLOT( internalActivate(int) ) );
+ connect( cp, TQ_SIGNAL( activated(int) ), c, TQ_SLOT( internalActivate(int) ) );
for ( int i = 0; i < c->count(); ++i ) {
TQString tmp = c->text( i );
cp->insertItem( tmp, i );
@@ -702,7 +702,7 @@ void TQToolBar::createPopup()
TQPopupMenu* sp = new TQPopupMenu(d->extensionPopup);
cp->insertItem( tr( "More..." ), sp );
cp = sp;
- connect( cp, SIGNAL( activated(int) ), c, SLOT( internalActivate(int) ) );
+ connect( cp, TQ_SIGNAL( activated(int) ), c, TQ_SLOT( internalActivate(int) ) );
}
}
}