diff options
Diffstat (limited to 'kdevdesigner/designer/menubareditor.cpp')
-rw-r--r-- | kdevdesigner/designer/menubareditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/menubareditor.cpp b/kdevdesigner/designer/menubareditor.cpp index c6fa7fb4..e2098b5a 100644 --- a/kdevdesigner/designer/menubareditor.cpp +++ b/kdevdesigner/designer/menubareditor.cpp @@ -199,7 +199,7 @@ MenuBarEditorItem * MenuBarEditor::createItem( int index, bool addToCmdStack ) void MenuBarEditor::insertItem( MenuBarEditorItem * item, int index ) { - item->menu()->tqparentMenu = this; + item->menu()->parentMenu = this; if ( index != -1 ) itemList.insert( index, item ); @@ -504,7 +504,7 @@ void MenuBarEditor::deleteItem( int index ) TQSize MenuBarEditor::tqsizeHint() const { - return TQSize( tqparentWidget()->width(), heightForWidth( tqparentWidget()->width() ) ); + return TQSize( parentWidget()->width(), heightForWidth( parentWidget()->width() ) ); } int MenuBarEditor::heightForWidth( int max_width ) const @@ -534,8 +534,8 @@ void MenuBarEditor::show() TQWidget::show(); resizeInternals(); - TQResizeEvent e( tqparentWidget()->size(), tqparentWidget()->size() ); - TQApplication::sendEvent( tqparentWidget(), &e ); + TQResizeEvent e( parentWidget()->size(), parentWidget()->size() ); + TQApplication::sendEvent( parentWidget(), &e ); } void MenuBarEditor::checkAccels( TQMap<TQChar, TQWidgetList > &accels ) |