diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-06-24 16:01:52 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-24 21:40:26 +0800 |
commit | 0deee63b5eecc4a631c5ac4dcb49b47540dcc84c (patch) | |
tree | 579042eee8bcc9e95eab0e5b7c686dd5ac032e3c /qt-ui/divelogexportdialog.h | |
parent | 46667b52350ffb8cc674aeffd6affa488420bead (diff) | |
download | subsurface-0deee63b5eecc4a631c5ac4dcb49b47540dcc84c.tar.gz |
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>
Diffstat (limited to 'qt-ui/divelogexportdialog.h')
-rw-r--r-- | qt-ui/divelogexportdialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-ui/divelogexportdialog.h b/qt-ui/divelogexportdialog.h index fc1bfd335..390cd398b 100644 --- a/qt-ui/divelogexportdialog.h +++ b/qt-ui/divelogexportdialog.h @@ -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 |