summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/actioneditorimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/actioneditorimpl.cpp')
-rw-r--r--kdevdesigner/designer/actioneditorimpl.cpp14
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 );
}
}