diff options
Diffstat (limited to 'kexi/formeditor/container.cpp')
-rw-r--r-- | kexi/formeditor/container.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/formeditor/container.cpp b/kexi/formeditor/container.cpp index a9942d1c..2b6d5eb7 100644 --- a/kexi/formeditor/container.cpp +++ b/kexi/formeditor/container.cpp @@ -174,7 +174,7 @@ Container::eventFilter(TQObject *s, TQEvent *e) if(((mev->state() == ControlButton) || (mev->state() == ShiftButton)) && (!FormManager::self()->isInserting())) // multiple selection mode { - if(m_form->selectedWidgets()->tqfindRef(m_moving) != -1) // widget is already selected + if(m_form->selectedWidgets()->findRef(m_moving) != -1) // widget is already selected { if(m_form->selectedWidgets()->count() > 1) // we remove it from selection unSelectWidget(m_moving); @@ -191,7 +191,7 @@ Container::eventFilter(TQObject *s, TQEvent *e) } else if((m_form->selectedWidgets()->count() > 1))//&& (!m_form->manager()->isInserting())) // more than one widget selected { - if(m_form->selectedWidgets()->tqfindRef(m_moving) == -1) // widget is not selected, it becomes the only selected widget + if(m_form->selectedWidgets()->findRef(m_moving) == -1) // widget is not selected, it becomes the only selected widget setSelectedWidget(m_moving, false, (mev->button() == Qt::RightButton)); // If the widget is already selected, we do nothing (to ease widget moving, etc.) } @@ -353,7 +353,7 @@ Container::eventFilter(TQObject *s, TQEvent *e) // try to find the widget which was clicked last and should be edited if(m_form->selectedWidgets()->count() == 1) w = m_form->selectedWidgets()->first(); - else if(m_form->selectedWidgets()->tqfindRef(m_moving) != -1) + else if(m_form->selectedWidgets()->findRef(m_moving) != -1) w = m_moving; else w = m_form->selectedWidgets()->last(); @@ -411,7 +411,7 @@ Container::eventFilter(TQObject *s, TQEvent *e) ObjectTreeList *list = item->tqparent()->tqchildren(); if(list->count() == 1) return true; - int index = list->tqfindRef(item); + int index = list->findRef(item); if(kev->key() == Key_BackTab){ if(index == 0) // go back to the last item |