diff options
Diffstat (limited to 'quanta/dialogs/actionconfigdialog.cpp')
-rw-r--r-- | quanta/dialogs/actionconfigdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/dialogs/actionconfigdialog.cpp b/quanta/dialogs/actionconfigdialog.cpp index d823fc1f..0ac7ede2 100644 --- a/quanta/dialogs/actionconfigdialog.cpp +++ b/quanta/dialogs/actionconfigdialog.cpp @@ -630,7 +630,7 @@ void ActionConfigDialog::saveCurrentAction() { currentAction->unplug(tb->page(i)); currentAction->unplug(p_toolbar->menu); - node.tqparentNode().removeChild(node); + node.parentNode().removeChild(node); TQListViewItemIterator iter(actionTreeView); while (iter.current()) { @@ -816,18 +816,18 @@ void ActionConfigDialog::slotNewAction() actionTreeView->setCurrentItem(item); } else { - TQListViewItem *tqparentItem = currentItem->tqparent(); - if (!tqparentItem) - tqparentItem = currentItem; + TQListViewItem *parentItem = currentItem->tqparent(); + if (!parentItem) + parentItem = currentItem; - item = new KListViewItem(tqparentItem, currentItem); + item = new KListViewItem(parentItem, currentItem); item->setText(0, actionText); item->setText(2, currentAction->name()); item->setPixmap(0, SmallIcon("ball")); actionTreeView->setCurrentItem(item); - if (tqparentItem != allActionsItem) + if (parentItem != allActionsItem) { - toolbarListBox->insertItem(tqparentItem->text(0)); + toolbarListBox->insertItem(parentItem->text(0)); toolbarListBox->setCurrentItem(0); toolbarListBox->setSelected(0, true); } |