summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-06 18:12:48 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-06 19:38:19 -0800
commit555fd979cb164c1405b82ef9cdecdfa284052f3b (patch)
tree0621213dcbbbb486f0b1da93f93cdfafc54d4044 /qt-ui/divelogimportdialog.h
parentd0a62e452b7327b4fa91f5e05e5edaca46d9a87a (diff)
downloadsubsurface-555fd979cb164c1405b82ef9cdecdfa284052f3b.tar.gz
Port the code that actually parses the CSV to the new system
Change the QWidget based approach to the Model based approach, using the result QStringList for finding if we have the depth or the time of some specific column. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.h')
-rw-r--r--qt-ui/divelogimportdialog.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/divelogimportdialog.h b/qt-ui/divelogimportdialog.h
index a2283906f..77990451f 100644
--- a/qt-ui/divelogimportdialog.h
+++ b/qt-ui/divelogimportdialog.h
@@ -37,6 +37,7 @@ public:
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent = QModelIndex()) const;
void setColumnValues(QList<QStringList> columns);
+ QStringList result() const;
private:
QList<QStringList> columnValues;
QStringList columnNames;
@@ -79,8 +80,6 @@ public:
private
slots:
void on_buttonBox_accepted();
- void on_knownImports_currentIndexChanged(int index);
- void unknownImports();
void loadFileContents();
private:
bool selector;