desktop-widgets: move export functions to shared class

Remove export functions from desktop-widgets and move to core
in order to share with mobile version

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-11-21 18:04:36 +01:00 committed by Dirk Hohndel
parent 4e690119ef
commit f9a36733c6
2 changed files with 9 additions and 297 deletions

View file

@ -4,7 +4,6 @@
#include <QDialog>
#include <QTextStream>
#include <QFuture>
#include "core/statistics.h"
class QAbstractButton;
@ -28,14 +27,9 @@ slots:
void on_exportGroup_buttonClicked(QAbstractButton *);
private:
QFuture<int> future;
Ui::DiveLogExportDialog *ui;
void showExplanation();
void exportHtmlInit(const QString &filename);
void export_depths(const char *filename, const bool selected_only);
void export_TeX(const char *filename, const bool selected_only, bool plain);
void exportProfile(QString filename, const bool selected_only);
void saveProfile(const struct dive *dive, const QString filename);
};