export: show progress dialog for profile exports

Simply reuse QProgressDialog interface for the TeX exports.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-05-01 21:21:50 +02:00 committed by Dirk Hohndel
parent 9ee8807af7
commit 38d0fac2d1
3 changed files with 11 additions and 4 deletions

View file

@ -13,7 +13,7 @@ struct ExportCallback {
virtual bool canceled() const;
};
void exportProfile(QString filename, bool selected_only);
void exportProfile(QString filename, bool selected_only, ExportCallback &cb);
void export_TeX(const char *filename, bool selected_only, bool plain, ExportCallback &cb);
void export_depths(const char *filename, bool selected_only);
std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly);