diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-02 16:21:08 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-02 16:21:08 -0300 |
commit | 5666f6573e70c3b472703bddeba240c202fe00de (patch) | |
tree | 9daf3d645e24099753fe3f258e96f2b9af41ae4d /qt-ui/maintab.h | |
parent | 430e7ab132d1c9d9d370a89e85385b11fb2e045c (diff) | |
download | subsurface-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/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 8c398a77d..c423bc619 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -45,16 +45,9 @@ public: void clearInfo(); void clearEquipment(); void reload(); - bool eventFilter(QObject* , QEvent*); - virtual void resizeEvent(QResizeEvent*); - virtual void showEvent(QShowEvent*); - virtual void hideEvent(QHideEvent* ); - void initialUiSetup(); void equipmentPlusUpdate(); - - public slots: void addCylinder_clicked(); void addWeight_clicked(); @@ -68,7 +61,6 @@ public slots: void on_notes_textChanged(); void on_rating_valueChanged(int value); void on_visibility_valueChanged(int value); - void tabChanged(int idx); void editCylinderWidget(const QModelIndex& index); void editWeigthWidget(const QModelIndex& index); @@ -78,8 +70,6 @@ private: CylindersModel *cylindersModel; NotesBackup notesBackup; struct dive* currentDive; - QPushButton *addCylinder; - QPushButton *addWeight; enum { NONE, DIVE, TRIP } editMode; Completers completers; void enableEdition(); |