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.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/qt-ui/divecomputermanagementdialog.h b/qt-ui/divecomputermanagementdialog.h
new file mode 100644
index 000000000..e10a96db2
--- /dev/null
+++ b/qt-ui/divecomputermanagementdialog.h
@@ -0,0 +1,27 @@
+#ifndef DIVECOMPUTERMANAGEMENTDIALOG_H
+#define DIVECOMPUTERMANAGEMENTDIALOG_H
+#include <QDialog>
+
+class QModelIndex;
+class DiveComputerModel;
+namespace Ui{
+ class DiveComputerManagementDialog;
+};
+
+class DiveComputerManagementDialog : public QDialog{
+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;
+ DiveComputerModel *model;
+};
+
+#endif \ No newline at end of file