summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/popupmenueditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 23:06:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 23:06:17 +0000
commit2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b (patch)
tree8bd21fd31d2c6ad2e805296d6e229a0c851866cb /kdevdesigner/designer/popupmenueditor.cpp
parente9be34de5fe62ce92c1d4cad63d03be76e9beb8d (diff)
downloadtdevelop-2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b.tar.gz
tdevelop-2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b.zip
Fix remaining kdevelop build problems
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237331 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/popupmenueditor.cpp')
-rw-r--r--kdevdesigner/designer/popupmenueditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/popupmenueditor.cpp b/kdevdesigner/designer/popupmenueditor.cpp
index b106c3db..8c16be98 100644
--- a/kdevdesigner/designer/popupmenueditor.cpp
+++ b/kdevdesigner/designer/popupmenueditor.cpp
@@ -119,7 +119,7 @@ PopupMenuEditorItem::PopupMenuEditorItem( TQAction * action, PopupMenuEditor * m
removable( TRUE )
{
init();
- if ( /*a->name() == "qt_separator_action" ||*/ ::tqqt_cast<TQSeparatorAction*>(a) )
+ if ( /*a->name() == "qt_separator_action" ||*/ ::tqqt_cast<QSeparatorAction*>(a) )
separator = TRUE;
if ( a && !a->childrenListObject().isEmpty() )
a->installEventFilter( this );
@@ -747,7 +747,7 @@ void PopupMenuEditor::mouseDoubleClickEvent( TQMouseEvent * )
{
setFocusAt( mousePressPos );
if ( currentItem() == &addSeparator ) {
- PopupMenuEditorItem * i = createItem( new TQSeparatorAction( 0 ) );
+ PopupMenuEditorItem * i = createItem( new QSeparatorAction( 0 ) );
i->setSeparator( TRUE );
return;
}
@@ -771,7 +771,7 @@ void PopupMenuEditor::mouseMoveEvent( TQMouseEvent * e )
cmd.execute();
// FIXME: start rename after drop
} else if ( draggedItem == &addSeparator ) {
- draggedItem = createItem( new TQSeparatorAction( 0 ) );
+ draggedItem = createItem( new QSeparatorAction( 0 ) );
draggedItem->setSeparator( TRUE );
}
@@ -857,7 +857,7 @@ void PopupMenuEditor::dropEvent( TQDropEvent * e )
PopupMenuEditorItemPtrDrag::decode( e, &i );
} else {
if ( e->provides( "application/x-designer-actiongroup" ) ) {
- TQActionGroup * g = ::tqqt_cast<TQDesignerActionGroup*>(ActionDrag::action());
+ TQActionGroup * g = ::tqqt_cast<QDesignerActionGroup*>(ActionDrag::action());
if ( g->usesDropDown() ) {
i = new PopupMenuEditorItem( g, this );
TQString n = TQString( g->name() ) + "Item";
@@ -877,7 +877,7 @@ void PopupMenuEditor::dropEvent( TQDropEvent * e )
dropInPlace( g, e->pos().y() );
}
} else if ( e->provides( "application/x-designer-actions" ) ) {
- TQAction *a = ::tqqt_cast<TQDesignerAction*>(ActionDrag::action());
+ TQAction *a = ::tqqt_cast<QDesignerAction*>(ActionDrag::action());
i = new PopupMenuEditorItem( a, this );
}
}
@@ -1380,7 +1380,7 @@ void PopupMenuEditor::enterEditMode( TQKeyEvent * e )
PopupMenuEditorItem * i = currentItem();
if ( i == &addSeparator ) {
- i = createItem( new TQSeparatorAction( 0 ) );
+ i = createItem( new QSeparatorAction( 0 ) );
} else if ( i->isSeparator() ) {
return;
} else if ( currentField == 0 ) {