mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
4e690119ef
commit
f9a36733c6
2 changed files with 9 additions and 297 deletions
|
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue