summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-18 21:56:53 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-18 21:56:53 -0300
commitbcefa4baff2140b8eaa8d9222555656284258ffb (patch)
tree227be7f40e5df7405e9a65872b974bc054908c1e /qt-ui/maintab.h
parent955c1c1fe5db8ad7381b5d764ae9a66052dc6502 (diff)
downloadsubsurface-bcefa4baff2140b8eaa8d9222555656284258ffb.tar.gz
Good deal of Code Cleanup for the maintab
Some cleanup was needed in the MainTab code for ages, now the Edition / Cancel / Ok of the Notes tab is way more intuitive on the code level. This is needed to support multidive edition on the Cylinders and Weigths too, since it's a bit more complicated, I didn't want to start with a Spaguetti Code. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 297f27cf9..25fe67743 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -56,8 +56,8 @@ public slots:
void addCylinder_clicked();
void addWeight_clicked();
void updateDiveInfo(int dive);
- void on_editAccept_clicked(bool edit);
- void on_editReset_clicked();
+ void acceptChanges();
+ void rejectChanges();
void on_location_textChanged(const QString& text);
void on_coordinates_textChanged(const QString& text);
void on_divemaster_textChanged(const QString& text);