summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.h')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.h b/desktop-widgets/downloadfromdivecomputer.h
index 419e96453..b1967766a 100644
--- a/desktop-widgets/downloadfromdivecomputer.h
+++ b/desktop-widgets/downloadfromdivecomputer.h
@@ -17,6 +17,7 @@
#endif
class QStringListModel;
+class DiveImportedModel;
class DownloadThread : public QThread {
Q_OBJECT
@@ -30,31 +31,6 @@ private:
device_data_t *data;
};
-class DiveImportedModel : public QAbstractTableModel
-{
- Q_OBJECT
-public:
- DiveImportedModel(QObject *o);
- int columnCount(const QModelIndex& index = QModelIndex()) const;
- int rowCount(const QModelIndex& index = QModelIndex()) const;
- QVariant data(const QModelIndex& index, int role) const;
- QVariant headerData(int section, Qt::Orientation orientation, int role) const;
- void setImportedDivesIndexes(int first, int last);
- Qt::ItemFlags flags(const QModelIndex &index) const;
- void clearTable();
-
-public
-slots:
- void changeSelected(QModelIndex clickedIndex);
- void selectAll();
- void selectNone();
-
-private:
- int firstIndex;
- int lastIndex;
- bool *checkStates;
-};
-
class DownloadFromDCWidget : public QDialog {
Q_OBJECT
public: