diff options
| author | Amandeep Singh <[email protected]> | 2012-08-08 18:25:21 +0530 |
|---|---|---|
| committer | Amandeep Singh <[email protected]> | 2012-08-14 20:27:56 +0530 |
| commit | e43492a6d810f407d6fa81848df56a7d8251f6f7 (patch) | |
| tree | 978a5a16a53df6aae4655437ae961807d9d714bf /src/kitemviews/kitemlistcontroller.cpp | |
| parent | 9437c93f071daac2dec4b83740a634b5a64b86b8 (diff) | |
Focus-tracking for widgets in Dolphin View now works.
Added the calls to updateAccessibility, for DragDrop & Focus scenarios
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.cpp')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistcontroller.cpp b/src/kitemviews/kitemlistcontroller.cpp index 88f5d9f7c..985663622 100644 --- a/src/kitemviews/kitemlistcontroller.cpp +++ b/src/kitemviews/kitemlistcontroller.cpp @@ -848,6 +848,8 @@ bool KItemListController::dropEvent(QGraphicsSceneDragDropEvent* event, const QT emit itemDropEvent(m_view->itemAt(pos), event); } + QAccessible::updateAccessibility(view(), 0, QAccessible::DragDropEnd); + return true; } @@ -1095,6 +1097,7 @@ void KItemListController::startDragging() drag->setHotSpot(hotSpot); drag->exec(Qt::MoveAction | Qt::CopyAction | Qt::LinkAction, Qt::CopyAction); + QAccessible::updateAccessibility(view(), 0, QAccessible::DragDropStart); } KItemListWidget* KItemListController::hoveredWidget() const |
