summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-09 22:57:22 +0000
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-09 22:57:22 +0000
commit923b4cd9b1932c13ef52567ea095740887345b38 (patch)
tree766106f3fd063af1a9d20af23af386e34b160ecf /qt-ui/diveplanner.h
parent813722633df15f6d5615938ae7200b14f725069a (diff)
downloadsubsurface-923b4cd9b1932c13ef52567ea095740887345b38.tar.gz
Make the Plus Button on the planner work.
Clicking on the plus button now adds a new stop on the planner. The depth is always 10m and the time is 10 minutes after the last stop. can be changed by double clicking or dragging the balls around the canvas. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 417128df2..091b9f80c 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -36,11 +36,11 @@ public:
/**
* @return the row number.
*/
- int addStop(int meters, int minutes,const QString& gas, int ccpoint );
void editStop(int row, divedatapoint newData );
divedatapoint at(int row);
struct diveplan getDiveplan();
public slots:
+ int addStop(int meters = 0, int minutes = 0,const QString& gas = QString(), int ccpoint = 0 );
void setGFHigh(short gfhigh);
void setGFLow(short ghflow);
void setSurfacePressure(int pressure);