diff options
author | adjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-05-07 09:45:30 +0000 |
---|---|---|
committer | adjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-05-07 09:45:30 +0000 |
commit | f8d79895735973381665d7cf5012b2ea41efa400 (patch) | |
tree | cc490c88a63b957ce8d6592c9888e3222c29fc45 /src/edittableview.cpp | |
parent | EBN Krazy fixes. 2nd round.. (diff) | |
parent | Improved contextual menu usability (diff) | |
download | rekonq-f8d79895735973381665d7cf5012b2ea41efa400.tar.xz |
Fixing MERGING issues..
git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@964690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/edittableview.cpp')
-rw-r--r-- | src/edittableview.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/edittableview.cpp b/src/edittableview.cpp index bf1ef370..8b9bb12d 100644 --- a/src/edittableview.cpp +++ b/src/edittableview.cpp @@ -19,15 +19,19 @@ * ============================================================ */ - +// Self Includes #include "edittableview.h" + +// Qt Includes #include <QtGui/QKeyEvent> + EditTableView::EditTableView(QWidget *parent) : QTableView(parent) { } + void EditTableView::keyPressEvent(QKeyEvent *event) { if ((event->key() == Qt::Key_Delete @@ -42,6 +46,7 @@ void EditTableView::keyPressEvent(QKeyEvent *event) } } + void EditTableView::removeOne() { if (!model() || !selectionModel()) @@ -54,6 +59,7 @@ void EditTableView::removeOne() selectionModel()->select(idx, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows); } + void EditTableView::removeAll() { if (model()) |