summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 16:21:08 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 16:21:08 -0300
commit5666f6573e70c3b472703bddeba240c202fe00de (patch)
tree9daf3d645e24099753fe3f258e96f2b9af41ae4d /qt-ui/diveplanner.h
parent430e7ab132d1c9d9d370a89e85385b11fb2e045c (diff)
downloadsubsurface-5666f6573e70c3b472703bddeba240c202fe00de.tar.gz
Code Cleanup: Merged the three TableViews shared code
Merged the shared code for the three table views into one code, this way less code is needed if we need to construct another tableview in the future. I still need to clean some of the models too. 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, 1 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 0aea77788..ccce6b16f 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -48,7 +48,7 @@ public slots:
void setStartTime(const QTime& t);
void setLastStop6m(bool value);
void createPlan();
- void removePoint(const QModelIndex& index);
+ void remove(const QModelIndex& index);
private:
explicit DivePlannerPointsModel(QObject* parent = 0);
@@ -189,7 +189,6 @@ private:
class DivePlannerWidget : public QWidget {
Q_OBJECT
- void initialUiSetup();
public:
explicit DivePlannerWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
@@ -201,8 +200,6 @@ public slots:
void gflowChanged(const QString& gflow);
void gfhighChanged(const QString& gfhigh);
void lastStopChanged(bool checked);
-protected:
- virtual void hideEvent(QHideEvent* );
private:
Ui::DivePlanner *ui;
};