summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tableview.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tableview.h')
-rw-r--r--desktop-widgets/tableview.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/desktop-widgets/tableview.h b/desktop-widgets/tableview.h
index 5dc5db2b5..7b783ef02 100644
--- a/desktop-widgets/tableview.h
+++ b/desktop-widgets/tableview.h
@@ -28,10 +28,6 @@ class TableView : public QGroupBox {
public:
TableView(QWidget *parent = 0);
~TableView();
- /* The model is expected to have a 'remove' slot, that takes a QModelIndex as parameter.
- * It's also expected to have the column '1' as a trash icon. I most probably should create a
- * proxy model and add that column, will mark that as TODO. see? marked.
- */
void setModel(QAbstractItemModel *model);
void setBtnToolTip(const QString &tooltip);
void fixPlusPosition();
@@ -45,6 +41,7 @@ protected:
signals:
void addButtonClicked();
+ void itemClicked(const QModelIndex &);
private:
Ui::TableView ui;