subsurface/desktop-widgets/divelogexportdialog.h
Berthold Stoeger 36b9e5e31e Cleanup: fold core/helpers.h into core/qthelper.h
helpers.h included qthelper.h and all functions declared in helpers.h
were defined in qthelper.h. Therefore fold the former into the latter,
since the split seems completely arbitrary.

While doing so, change the return-type of get_dc_nichname from
"const QString" to "QString".

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-06-04 08:50:10 -07:00

39 lines
879 B
C++

// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELOGEXPORTDIALOG_H
#define DIVELOGEXPORTDIALOG_H
#include <QDialog>
#include <QTextStream>
#include <QFuture>
#include "core/statistics.h"
class QAbstractButton;
namespace Ui {
class DiveLogExportDialog;
}
void exportHTMLstatisticsTotal(QTextStream &out, stats_t *total_stats);
class DiveLogExportDialog : public QDialog {
Q_OBJECT
public:
explicit DiveLogExportDialog(QWidget *parent = 0);
~DiveLogExportDialog();
private
slots:
void on_buttonBox_accepted();
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);
};
#endif // DIVELOGEXPORTDIALOG_H