summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-21 16:51:13 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-21 16:51:13 -0300
commit880b98ed35c2dbf3b5a015784323894c59bc7feb (patch)
treec477296c9ab22a2969939e0bfa96bed7028efaf6 /qt-ui/diveplanner.h
parent28f48227f72bf7db16b1f53b4d50df7fb5a54131 (diff)
downloadsubsurface-880b98ed35c2dbf3b5a015784323894c59bc7feb.tar.gz
Added the skeleton implementation of the increaseTime and depth
Added the skeleton implementation of the increaseTime and increaseDepth methods - they will increase the time / depth by 10 units ( feets / minutes ) each time they are clicked. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index c3ae3eb60..453cec63e 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -62,6 +62,11 @@ protected:
void clear_generated_deco();
void create_deco_stop();
bool isPointOutOfBoundaries(const QPointF& point);
+
+private slots:
+ void increaseTime();
+ void increaseDepth();
+
private:
void moveActiveHandler(const QPointF& pos);