Replace tqt_mo_* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/26/head
Michele Calgaro 1 year ago
parent 3fe98cbfe3
commit 942d671706
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -447,14 +447,14 @@ void SlotItem::updateSlotList()
for( int i = 0; i < n; ++i ) {
// accept only public slots. For the form window, also accept protected slots
const TQMetaData* md = lastReceiver->metaObject()->slot( i, TRUE );
if ( ( (lastReceiver->metaObject()->slot( i, TRUE )->tqt_mo_access == TQMetaData::Public) ||
if ( ( (lastReceiver->metaObject()->slot( i, TRUE )->access == TQMetaData::Public) ||
(formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) &&
lastReceiver->metaObject()->slot(i, TRUE)->tqt_mo_access ==
lastReceiver->metaObject()->slot(i, TRUE)->access ==
TQMetaData::Protected) ) &&
!ignoreSlot( md->tqt_mo_ci_name ) &&
checkConnectArgs( signal.latin1(), lastReceiver, md->tqt_mo_ci_name ) )
if ( lst.find( md->tqt_mo_ci_name ) == lst.end() )
lst << MetaDataBase::normalizeFunction( md->tqt_mo_ci_name );
!ignoreSlot( md->name ) &&
checkConnectArgs( signal.latin1(), lastReceiver, md->name ) )
if ( lst.find( md->name ) == lst.end() )
lst << MetaDataBase::normalizeFunction( md->name );
}
LanguageInterface *iface =

Loading…
Cancel
Save