Drop TQT_TQ*_CONST defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/25/head
Michele Calgaro 1 year ago
parent 8bba839cd6
commit 10c4d3e304
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -78,12 +78,12 @@ void K3bRadioAction::slotActivated()
if( m_alwaysEmit ) if( m_alwaysEmit )
emit activated(); emit activated();
const TQObject *senderObj = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender())); const TQObject *senderObj = sender();
if ( !senderObj || !::tqqt_cast<const TDEToolBarButton *>( senderObj ) ) if ( !senderObj || !::tqqt_cast<const TDEToolBarButton *>( senderObj ) )
return; return;
const_cast<TDEToolBarButton *>( static_cast<const TDEToolBarButton *>( TQT_TQWIDGET_CONST(senderObj) ) )->on( true ); const_cast<TDEToolBarButton *>( static_cast<const TDEToolBarButton *>( senderObj ) )->on( true );
return; return;
} }

Loading…
Cancel
Save