HTML: Overwrite all template files if exist

Template HTML files must be overwritten when exporting if already exist.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Gehad elrobey 2014-06-24 16:01:52 +03:00 committed by Dirk Hohndel
parent 46667b5235
commit 0deee63b5e
2 changed files with 16 additions and 13 deletions

View file

@ -23,8 +23,9 @@ slots:
private:
Ui::DiveLogExportDialog *ui;
void showExplanation();
void exportHtmlInit(const QString& filename);
void exportHTMLsettings(const QString& filename);
void exportHtmlInit(const QString &filename);
void exportHTMLsettings(const QString &filename);
void copy_and_overwrite(const QString &fileName, const QString &newName);
};
#endif // DIVELOGEXPORTDIALOG_H