summaryrefslogtreecommitdiff
path: root/src/edittableview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-07 11:16:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-07 11:16:51 +0200
commit9cab6e02598d710e83992610e910acd06c2e2576 (patch)
tree6e103d52edea8b70896083ee2b74197281770787 /src/edittableview.cpp
parentupdated french translation (diff)
downloadrekonq-9cab6e02598d710e83992610e910acd06c2e2576.tar.xz
EBN Krazy issues. 3rd round... First chech finished!
Diffstat (limited to 'src/edittableview.cpp')
-rw-r--r--src/edittableview.cpp8
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())