diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-17 11:12:10 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-17 11:12:10 -0700 |
commit | f465230263c4d1827feafedfce1b648cc035e49a (patch) | |
tree | 246e08c2f3cb0cf5e264c1788ff50005f6a80970 /qt-ui/divecomputermanagementdialog.h | |
parent | 6fd1e32452a9d3d1fb7116764442bbd26d36673e (diff) | |
parent | 7681895fe09aa81c83143c6a58459e354a4234b1 (diff) | |
download | subsurface-f465230263c4d1827feafedfce1b648cc035e49a.tar.gz |
Merge branch '119_divecomputerManagement' of github.com:tcanabrava/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.h')
-rw-r--r-- | qt-ui/divecomputermanagementdialog.h | 27 |
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 |