summaryrefslogtreecommitdiffstats
path: root/tdeui/tdeaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdeaction.cpp')
-rw-r--r--tdeui/tdeaction.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/tdeui/tdeaction.cpp b/tdeui/tdeaction.cpp
index bf818fc03..d63e71feb 100644
--- a/tdeui/tdeaction.cpp
+++ b/tdeui/tdeaction.cpp
@@ -262,7 +262,7 @@ void TDEAction::initPrivate( const TQString& text, const TDEShortcut& cut,
m_parentCollection->insert( this );
if ( receiver && slot )
- connect( this, TQT_SIGNAL( activated() ), receiver, slot );
+ connect( this, TQ_SIGNAL( activated() ), receiver, slot );
if( !cut.isNull() && !qstrcmp( name(), "unnamed" ) )
kdWarning(129) << "TDEAction::initPrivate(): trying to assign a shortcut (" << cut.toStringInternal() << ") to an unnamed action." << endl;
@@ -462,7 +462,7 @@ bool TDEAction::updateTDEAccelShortcut( TDEAccel* tdeaccel )
kdDebug(129) << "Inserting " << name() << ", " << d->text() << ", " << d->plainText() << endl;
b = tdeaccel->insert( name(), d->plainText(), TQString::null,
d->m_cut,
- this, TQT_SLOT(slotActivated()),
+ this, TQ_SLOT(slotActivated()),
isShortcutConfigurable(), isEnabled() );
}
}
@@ -478,7 +478,7 @@ void TDEAction::insertTDEAccel( TDEAccel* tdeaccel )
if ( !tdeaccel->actions().actionPtr( name() ) ) {
if( updateTDEAccelShortcut( tdeaccel ) ) {
d->m_tdeaccelList.append( tdeaccel );
- connect( tdeaccel, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) );
+ connect( tdeaccel, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) );
}
}
else
@@ -496,7 +496,7 @@ void TDEAction::removeTDEAccel( TDEAccel* tdeaccel )
if( (*itr) == tdeaccel ) {
tdeaccel->remove( name() );
accelList.remove( itr );
- disconnect( tdeaccel, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) );
+ disconnect( tdeaccel, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) );
break;
}
}
@@ -664,12 +664,12 @@ int TDEAction::plug( TQWidget *w, int index )
else
instance = TDEGlobal::instance();
id = menu->insertItem( d->iconSet( TDEIcon::Small, 0, instance ), d->text(), this,//dsweet
- TQT_SLOT( slotPopupActivated() ), keyQt,
+ TQ_SLOT( slotPopupActivated() ), keyQt,
-1, index );
}
else
id = menu->insertItem( d->text(), this,
- TQT_SLOT( slotPopupActivated() ),
+ TQ_SLOT( slotPopupActivated() ),
keyQt, -1, index );
// If the shortcut is already in a TDEAccel object, then
@@ -686,7 +686,7 @@ int TDEAction::plug( TQWidget *w, int index )
menu->TQMenuData::setWhatsThis( id, whatsThisWithIcon() );
addContainer( menu, id );
- connect( menu, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
+ connect( menu, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) );
if ( m_parentCollection )
m_parentCollection->connectHighlight( menu, this );
@@ -706,8 +706,8 @@ int TDEAction::plug( TQWidget *w, int index )
if ( icon().isEmpty() && !iconSet().pixmap().isNull() ) // old code using TQIconSet directly
{
- bar->insertButton( iconSet().pixmap(), id_, TQT_SIGNAL( buttonClicked(int, TQt::ButtonState) ), this,
- TQT_SLOT( slotButtonClicked(int, TQt::ButtonState) ),
+ bar->insertButton( iconSet().pixmap(), id_, TQ_SIGNAL( buttonClicked(int, TQt::ButtonState) ), this,
+ TQ_SLOT( slotButtonClicked(int, TQt::ButtonState) ),
d->isEnabled(), d->plainText(), index );
}
else
@@ -715,8 +715,8 @@ int TDEAction::plug( TQWidget *w, int index )
TQString icon = d->iconName();
if ( icon.isEmpty() )
icon = "unknown";
- bar->insertButton( icon, id_, TQT_SIGNAL( buttonClicked(int, TQt::ButtonState) ), this,
- TQT_SLOT( slotButtonClicked(int, TQt::ButtonState) ),
+ bar->insertButton( icon, id_, TQ_SIGNAL( buttonClicked(int, TQt::ButtonState) ), this,
+ TQ_SLOT( slotButtonClicked(int, TQt::ButtonState) ),
d->isEnabled(), d->plainText(), index, instance );
}
@@ -731,7 +731,7 @@ int TDEAction::plug( TQWidget *w, int index )
addContainer( bar, id_ );
- connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
+ connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) );
if ( m_parentCollection )
m_parentCollection->connectHighlight( bar, this );
@@ -791,10 +791,10 @@ void TDEAction::plugAccel(TDEAccel *kacc, bool configurable)
d->m_tdeaccel = kacc;
d->m_tdeaccel->insert(name(), d->plainText(), TQString::null,
TDEShortcut(d->m_cut),
- this, TQT_SLOT(slotActivated()),
+ this, TQ_SLOT(slotActivated()),
configurable, isEnabled());
- connect(d->m_tdeaccel, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()));
- //connect(d->m_tdeaccel, TQT_SIGNAL(keycodeChanged()), this, TQT_SLOT(slotKeycodeChanged()));
+ connect(d->m_tdeaccel, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()));
+ //connect(d->m_tdeaccel, TQ_SIGNAL(keycodeChanged()), this, TQ_SLOT(slotKeycodeChanged()));
}
else
{
@@ -1184,7 +1184,7 @@ void TDEAction::slotDestroyed()
{
if ( o == *itr )
{
- disconnect( *itr, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) );
+ disconnect( *itr, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) );
accelList.remove(itr);
return;
}