diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:33:14 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 02:33:14 +0900 |
commit | 676a13490dc7163e5c99a0f39094a2a4148d3963 (patch) | |
tree | 2eff206a80899e040b1c6221e0c4fdcb9b38d237 /kdevdesigner/designer/connectionitems.cpp | |
parent | aefcba8280fc1520675866143baf2f8c020ec82e (diff) | |
download | tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.tar.gz tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdevdesigner/designer/connectionitems.cpp')
-rw-r--r-- | kdevdesigner/designer/connectionitems.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdevdesigner/designer/connectionitems.cpp b/kdevdesigner/designer/connectionitems.cpp index 3234878a..f0a04362 100644 --- a/kdevdesigner/designer/connectionitems.cpp +++ b/kdevdesigner/designer/connectionitems.cpp @@ -187,10 +187,10 @@ static void appendChildActions( TQAction *action, TQStringList &lst ) while ( it.current() ) { TQObject *o = it.current(); ++it; - if ( !::tqqt_cast<TQAction*>(o) ) + if ( !::tqt_cast<TQAction*>(o) ) continue; lst << o->name(); - if ( !o->childrenListObject().isEmpty() && ::tqqt_cast<TQActionGroup*>(o) ) + if ( !o->childrenListObject().isEmpty() && ::tqt_cast<TQActionGroup*>(o) ) appendChildActions( (TQAction*)o, lst ); } } @@ -203,7 +203,7 @@ static TQStringList flatActions( const TQPtrList<TQAction> &l ) while ( it.current() ) { TQAction *action = it.current(); lst << action->name(); - if ( !action->childrenListObject().isEmpty() && ::tqqt_cast<TQActionGroup*>(action) ) + if ( !action->childrenListObject().isEmpty() && ::tqt_cast<TQActionGroup*>(action) ) appendChildActions( action, lst ); ++it; } @@ -225,9 +225,9 @@ SenderItem::SenderItem( TQTable *table, FormWindow *fw ) continue; } if ( !TQString( it.current()->name() ).startsWith( "qt_dead_widget_" ) && - !::tqqt_cast<TQLayoutWidget*>(it.current()) && - !::tqqt_cast<Spacer*>(it.current()) && - !::tqqt_cast<SizeHandle*>(it.current()) && + !::tqt_cast<TQLayoutWidget*>(it.current()) && + !::tqt_cast<Spacer*>(it.current()) && + !::tqt_cast<SizeHandle*>(it.current()) && qstrcmp( it.current()->name(), "central widget" ) != 0 ) { lst << it.current()->name(); } @@ -282,9 +282,9 @@ ReceiverItem::ReceiverItem( TQTable *table, FormWindow *fw ) continue; } if ( !TQString( it.current()->name() ).startsWith( "qt_dead_widget_" ) && - !::tqqt_cast<TQLayoutWidget*>(it.current()) && - !::tqqt_cast<Spacer*>(it.current()) && - !::tqqt_cast<SizeHandle*>(it.current()) && + !::tqt_cast<TQLayoutWidget*>(it.current()) && + !::tqt_cast<Spacer*>(it.current()) && + !::tqt_cast<SizeHandle*>(it.current()) && qstrcmp( it.current()->name(), "central widget" ) != 0 ) { lst << it.current()->name(); } @@ -346,7 +346,7 @@ void SignalItem::senderChanged( TQObject *sender ) TQStringList lst = TQStringList::fromStrList( sigs ); - if ( ::tqqt_cast<CustomWidget*>(sender) ) { + if ( ::tqt_cast<CustomWidget*>(sender) ) { MetaDataBase::CustomWidget *w = ( (CustomWidget*)sender )->customWidget(); for ( TQValueList<TQCString>::Iterator it = w->lstSignals.begin(); it != w->lstSignals.end(); ++it ) @@ -408,7 +408,7 @@ bool SlotItem::ignoreSlot( const char* slot ) const { #ifndef TQT_NO_SQL if ( qstrcmp( slot, "update()" ) == 0 && - ::tqqt_cast<TQDataBrowser*>(lastReceiver) ) + ::tqt_cast<TQDataBrowser*>(lastReceiver) ) return FALSE; #endif @@ -478,7 +478,7 @@ void SlotItem::updateSlotList() } } - if ( ::tqqt_cast<CustomWidget*>(lastReceiver) ) { + if ( ::tqt_cast<CustomWidget*>(lastReceiver) ) { MetaDataBase::CustomWidget *w = ( (CustomWidget*)lastReceiver )->customWidget(); for ( TQValueList<MetaDataBase::Function>::Iterator it = w->lstSlots.begin(); it != w->lstSlots.end(); ++it ) { |