diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 23:01:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 23:59:58 +0900 |
commit | b9186693ada54762210d51282c15e2248e76a586 (patch) | |
tree | 6e7e82a9639e67a50aa121eb08b8d7c1f6ba0229 /kdevdesigner/designer/connectionitems.cpp | |
parent | f12db681be834f7027132156c05afcbcb2346278 (diff) | |
download | tdevelop-b9186693ada54762210d51282c15e2248e76a586.tar.gz tdevelop-b9186693ada54762210d51282c15e2248e76a586.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 61cd5b18f00b0d36a7953596c5295e358324ebb7)
Diffstat (limited to 'kdevdesigner/designer/connectionitems.cpp')
-rw-r--r-- | kdevdesigner/designer/connectionitems.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/connectionitems.cpp b/kdevdesigner/designer/connectionitems.cpp index f0a04362..9f0c2b5e 100644 --- a/kdevdesigner/designer/connectionitems.cpp +++ b/kdevdesigner/designer/connectionitems.cpp @@ -354,7 +354,7 @@ void SignalItem::senderChanged( TQObject *sender ) } if ( sender == formWindow->mainContainer() ) { - TQStringList extra = MetaDataBase::signalList( TQT_TQOBJECT(formWindow) ); + TQStringList extra = MetaDataBase::signalList( formWindow ); if ( !extra.isEmpty() ) lst += extra; } @@ -417,7 +417,7 @@ bool SlotItem::ignoreSlot( const char* slot ) const return TRUE; } - if ( !formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) ) { + if ( !formWindow->isMainContainer( lastReceiver ) ) { if ( qstrcmp( slot, "close()" ) == 0 ) return TRUE; } @@ -448,7 +448,7 @@ void SlotItem::updateSlotList() // 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 )->access == TQMetaData::Public) || - (formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) && + (formWindow->isMainContainer( lastReceiver ) && lastReceiver->metaObject()->slot(i, TRUE)->access == TQMetaData::Protected) ) && !ignoreSlot( md->name ) && @@ -460,8 +460,8 @@ void SlotItem::updateSlotList() LanguageInterface *iface = MetaDataBase::languageInterface( formWindow->project()->language() ); if ( !iface || iface->supports( LanguageInterface::ConnectionsToCustomSlots ) ) { - if ( formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) ) { - TQValueList<MetaDataBase::Function> moreSlots = MetaDataBase::slotList( TQT_TQOBJECT(formWindow) ); + if ( formWindow->isMainContainer( lastReceiver ) ) { + TQValueList<MetaDataBase::Function> moreSlots = MetaDataBase::slotList( formWindow ); if ( !moreSlots.isEmpty() ) { for ( TQValueList<MetaDataBase::Function>::Iterator it = moreSlots.begin(); it != moreSlots.end(); ++it ) { |