diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-16 11:38:41 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-16 11:38:41 -0300 |
commit | bfe1ea0cb23c0f072caae0ec61b072280fe2b1d7 (patch) | |
tree | f7ee5b125c17bf2a49a9b3a0b723c8e7295dfd7d /qt-ui/diveplanner.h | |
parent | 4e06c52f683abe426589035ce472d00b495e2eab (diff) | |
download | subsurface-bfe1ea0cb23c0f072caae0ec61b072280fe2b1d7.tar.gz |
Plug the Cancel action on the Dive Planner Table and start the 'ok' code.
Plug the cancel action on the dive planner ( before that, only by
hitting the 'ESC' button things worked, so now you can also click
on the Cancel box that's on the right of the planner profile window.
Also, the beginning of the 'ok' code is also at place.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 1bcea0c27..05191ec85 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -50,6 +50,11 @@ public slots: void setLastStop6m(bool value); void createPlan(); void remove(const QModelIndex& index); + void cancelPlan(); + +signals: + void planCreated(); + void planCanceled(); private: explicit DivePlannerPointsModel(QObject* parent = 0); @@ -135,7 +140,6 @@ private slots: void decreaseTime(); void decreaseDepth();; void createDecoStops(); - void cancelPlan(); void prepareSelectGas(); void selectGas(const QModelIndex& index); void pointInserted(const QModelIndex&, int start, int end); |