aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divecomputermanagementdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.h')
-rw-r--r--qt-ui/divecomputermanagementdialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/divecomputermanagementdialog.h b/qt-ui/divecomputermanagementdialog.h
index 27a1408ab..e10a96db2 100644
--- a/qt-ui/divecomputermanagementdialog.h
+++ b/qt-ui/divecomputermanagementdialog.h
@@ -2,6 +2,7 @@
#define DIVECOMPUTERMANAGEMENTDIALOG_H
#include <QDialog>
+class QModelIndex;
class DiveComputerModel;
namespace Ui{
class DiveComputerManagementDialog;
@@ -13,6 +14,10 @@ Q_OBJECT
public:
static DiveComputerManagementDialog *instance();
void update();
+
+public slots:
+ void tryRemove(const QModelIndex& index);
+
private:
explicit DiveComputerManagementDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
Ui::DiveComputerManagementDialog *ui;