Logo Search packages:      
Sourcecode: kdbg version File versions

void KTreeView::mouseReleaseEvent ( QMouseEvent *  e  )  [protected, virtual]

Reimplemented for mouse event handling. The mouse release event is first forwarded to the current item (if there is one) by calling KTreeViewItem::mouseEvent.

Definition at line 1722 of file ktreeview.cpp.

References cellCoords(), currentItem(), itemAt(), and KTreeViewItem::mouseEvent().

    /* if it's the MMB end rubberbanding */
    if (rubberband_mode) {
      if (e->button() == MidButton)
    // forward to current item
    int current = currentItem();
    if (current >= 0 && itemAt(current))
      itemAt(current)->mouseEvent(e, cellCoords(current, e->pos()));

Generated by  Doxygen 1.6.0   Back to index