diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:33:14 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 17:32:41 +0900 |
commit | d31a7027d0b8e2237b1b398e436e82e9944b38cb (patch) | |
tree | 1cd933e46759d2209dad0c74090f1e3487ab4b3e /kdevdesigner/designer/actioneditorimpl.cpp | |
parent | 8308ebcedcc01c7588346da09b69b97b5c8e8059 (diff) | |
download | tdevelop-d31a7027d0b8e2237b1b398e436e82e9944b38cb.tar.gz tdevelop-d31a7027d0b8e2237b1b398e436e82e9944b38cb.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 676a13490dc7163e5c99a0f39094a2a4148d3963)
Diffstat (limited to 'kdevdesigner/designer/actioneditorimpl.cpp')
-rw-r--r-- | kdevdesigner/designer/actioneditorimpl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdevdesigner/designer/actioneditorimpl.cpp b/kdevdesigner/designer/actioneditorimpl.cpp index 294507a9..a08edc67 100644 --- a/kdevdesigner/designer/actioneditorimpl.cpp +++ b/kdevdesigner/designer/actioneditorimpl.cpp @@ -149,7 +149,7 @@ void ActionEditor::newAction() { ActionItem *actionParent = (ActionItem*)listActions->selectedItem(); if ( actionParent ) { - if ( !::tqqt_cast<TQActionGroup*>(actionParent->actionGroup()) ) + if ( !::tqt_cast<TQActionGroup*>(actionParent->actionGroup()) ) actionParent = (ActionItem*)actionParent->parent(); } @@ -185,7 +185,7 @@ void ActionEditor::newActionGroup() { ActionItem *actionParent = (ActionItem*)listActions->selectedItem(); if ( actionParent ) { - if ( !::tqqt_cast<TQActionGroup*>(actionParent->actionGroup()) ) + if ( !::tqt_cast<TQActionGroup*>(actionParent->actionGroup()) ) actionParent = (ActionItem*)actionParent->parent(); } @@ -225,13 +225,13 @@ void ActionEditor::setFormWindow( FormWindow *fw ) listActions->clear(); formWindow = fw; if ( !formWindow || - !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) { + !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) { setEnabled( FALSE ); } else { setEnabled( TRUE ); for ( TQAction *a = formWindow->actionList().first(); a; a = formWindow->actionList().next() ) { ActionItem *i = 0; - if ( ::tqqt_cast<TQAction*>(a->parent()) ) + if ( ::tqt_cast<TQAction*>(a->parent()) ) continue; i = new ActionItem( listActions, a ); i->setText( 0, a->name() ); @@ -241,7 +241,7 @@ void ActionEditor::setFormWindow( FormWindow *fw ) this, TQT_SLOT( removeConnections( TQObject * ) ) ); TQObject::connect( a, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( removeConnections( TQObject* ) ) ); - if ( ::tqqt_cast<TQActionGroup*>(a) ) { + if ( ::tqt_cast<TQActionGroup*>(a) ) { insertChildActions( i ); } } @@ -261,7 +261,7 @@ void ActionEditor::insertChildActions( ActionItem *i ) while ( it.current() ) { TQObject *o = it.current(); ++it; - if ( !::tqqt_cast<TQAction*>(o) ) + if ( !::tqt_cast<TQAction*>(o) ) continue; TQAction *a = (TQAction*)o; ActionItem *i2 = new ActionItem( (TQListViewItem*)i, a ); @@ -273,7 +273,7 @@ void ActionEditor::insertChildActions( ActionItem *i ) this, TQT_SLOT( removeConnections( TQObject * ) ) ); TQObject::connect( o, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( removeConnections( TQObject * ) ) ); - if ( ::tqqt_cast<TQActionGroup*>(a) ) + if ( ::tqt_cast<TQActionGroup*>(a) ) insertChildActions( i2 ); } } |