summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview.cpp
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-09 12:40:56 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-09 12:40:56 (GMT)
commit9bdd939c508dfe784402c5c3e85e26d135f7643c (patch)
tree5e74b1ae4558cea0b762fe4e382d88a5f8d455eb /src/gui/itemviews/qabstractitemview.cpp
parent46cb3a09f4eedb2d4c612a6d73e9e0f14237350c (diff)
downloadQt-9bdd939c508dfe784402c5c3e85e26d135f7643c.zip
Qt-9bdd939c508dfe784402c5c3e85e26d135f7643c.tar.gz
Qt-9bdd939c508dfe784402c5c3e85e26d135f7643c.tar.bz2
Fixes from code review
Diffstat (limited to 'src/gui/itemviews/qabstractitemview.cpp')
-rw-r--r--src/gui/itemviews/qabstractitemview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp
index 69e630e..af84ea6 100644
--- a/src/gui/itemviews/qabstractitemview.cpp
+++ b/src/gui/itemviews/qabstractitemview.cpp
@@ -61,7 +61,7 @@
#ifndef QT_NO_ACCESSIBILITY
#include <qaccessible.h>
#endif
-#include <qkeyeventsoftkey.h>
+#include <qactiontokeyeventmapper_p.h>
QT_BEGIN_NAMESPACE
@@ -2004,14 +2004,14 @@ void QAbstractItemView::keyPressEvent(QKeyEvent *event)
if (QApplication::keypadNavigationEnabled()) {
if (!hasEditFocus()) {
setEditFocus(true);
- QKeyEventSoftKey::addSoftKey(QAction::BackSoftKey, Qt::Key_Back, this);
+ QActionToKeyEventMapper::addSoftKey(QAction::BackSoftKey, Qt::Key_Back, this);
return;
}
}
break;
case Qt::Key_Back:
if (QApplication::keypadNavigationEnabled() && hasEditFocus()) {
- QKeyEventSoftKey::removeSoftkey(this);
+ QActionToKeyEventMapper::removeSoftkey(this);
setEditFocus(false);
} else {
event->ignore();