void KNGroupSelectDialog::slotArrowBtn2() { GroupItem *i=static_cast<GroupItem*>(selView->selectedItem()); if(i) { changeItemState(i->info, false); delete i; arrowBtn2->setEnabled(false); } }
void KNGroupDialog::slotArrowBtn2() { if(dir2==right) { CheckItem *it=static_cast<CheckItem*>(groupView->selectedItem()); if (it) { new GroupItem(unsubView, it->info); it->setChecked(false); } } else { GroupItem *it=static_cast<GroupItem*>(unsubView->selectedItem()); if (it) { changeItemState(it->info, true); delete it; } } arrowBtn2->setEnabled(false); }