summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:47:45 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:47:45 -0300
commit6cb1f1a250a58614bbdd2e26f9fa3ca3cf62a9f5 (patch)
treebcc6aa6662fd0fc64187e5cc0448e7234b49c068 /qt-ui/diveplanner.h
parent0a043528f72a47b14cfe3708a8f133a29ad17d55 (diff)
downloadsubsurface-6cb1f1a250a58614bbdd2e26f9fa3ca3cf62a9f5.tar.gz
Code Cleanup: Buttons on Graphical Planner
Removed a bunch of non-used graphics buttons, since the new widget now contains everything needed for the creation / cancelation of the dive plan. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index fa3f83766..03e4d2bbe 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -92,8 +92,8 @@ private slots:
void increaseDepth();
void decreaseTime();
void decreaseDepth();;
- void okClicked();
- void cancelClicked();
+
+ void cancelPlan();
void prepareSelectGas();
void selectGas(const QModelIndex& index);
@@ -142,8 +142,6 @@ private:
Button *plusDepth; // adds 10 meters to the depth ruler.
Button *lessTime; // remove 10 minutes to the time ruler.
Button *lessDepth; // remove 10 meters to the depth ruler.
- Button *okBtn; // accepts, and creates a new dive based on the plan.
- Button *cancelBtn; // rejects, and clears the dive plan.
int minMinutes; // this holds the minimum duration of the dive.
int dpMaxTime; // this is the time of the dive calculated by the deco.