diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 15:25:29 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 15:25:29 -0300 |
commit | 54128aa52fe5c765ce6ced8bd05611e202195d6b (patch) | |
tree | 927f6d1479bd702f581a16124f177b6be81ea39d /qt-ui/models.h | |
parent | 478c24d79795b34efb42c1ac29abd8fa777b9c90 (diff) | |
download | subsurface-54128aa52fe5c765ce6ced8bd05611e202195d6b.tar.gz |
Added the code to remove a dive computer.
Added the code to remove a dive computer, plus a few fixes
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index 7a32998ce..5a7d2b214 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -180,6 +180,9 @@ public: virtual Qt::ItemFlags flags(const QModelIndex& index) const; virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); void update(); + +public slots: + void remove(const QModelIndex& index); private: int numRows; |