Engauge Digitizer 2
Loading...
Searching...
No Matches
ExportFileExtensionOverride.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2019 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef EXPORT_FILE_EXTENSION_OVERRIDE_H
8#define EXPORT_FILE_EXTENSION_OVERRIDE_H
9
10#include <QString>
11
13class ExportToFile;
14
17{
18public:
22
24 QString extensionWithPeriodCsv (const ExportToFile &exportStrategy) const;
25
27 QString extensionWithPeriodTsv (const ExportToFile &exportStrategy) const;
28
31 const ExportToFile &exportStrategy,
32 const QString &selectedNameFilter) const;
33};
34
35#endif // EXPORT_FILE_EXTENSION_OVERRIDE_H
Model for DlgSettingsExportFormat and CmdSettingsExportFormat.
QString extensionWithPeriodCsv(const ExportToFile &exportStrategy) const
Extension for csv file with period.
QString extensionWithPeriodTsv(const ExportToFile &exportStrategy) const
Extension for tsv file with period.
DocumentModelExportFormat modelExportOverride(const DocumentModelExportFormat &modelExportFormatBefore, const ExportToFile &exportStrategy, const QString &selectedNameFilter) const
Adjust export settings given filename extension.
Strategy class for exporting to a file. This strategy is external to the Document class so that class...