summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 60081e957..a658fe3cc 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -42,10 +42,6 @@ public:
COLLAPSED,
EXPANDED
};
- enum StackWidgetIndexes {
- PROFILE,
- PLANNERPROFILE
- };
enum InfoWidgetIndexes {
MAINTAB,
PLANNERWIDGET
@@ -90,9 +86,6 @@ slots:
void on_actionSave_triggered();
void on_actionSaveAs_triggered();
void on_actionClose_triggered();
- void on_actionExportUDDF_triggered();
- void on_actionExport_CSV_triggered();
- void on_actionExportHTMLworldmap_triggered();
void on_actionPrint_triggered();
void on_actionPreferences_triggered();
void on_actionQuit_triggered();
@@ -146,13 +139,16 @@ slots:
void on_profSAC_clicked(bool triggered);
void on_profScaled_clicked(bool triggered);
+ void on_actionExport_triggered();
+
protected:
void closeEvent(QCloseEvent *);
public
slots:
void readSettings();
- void refreshDisplay(bool recreateDiveList = true);
+ void refreshDisplay(bool doRecreateDiveList = true);
+ void recreateDiveList();
void showProfile();
void editCurrentDive();
@@ -178,6 +174,4 @@ private:
UpdateManager *updateManager;
};
-MainWindow *mainWindow();
-
#endif // MAINWINDOW_H