MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / XMLFileExporter

Method XMLFileExporter

src/fileformats/xml_file_format.cpp:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217// ### XMLFileExporter definition ###
218
219XMLFileExporter::XMLFileExporter(const QString& path, const Map* map, const MapView* view)
220: Exporter(path, map, view)
221{
222 // Determine auto-formatting default from filename, if possible.
223 bool auto_formatting = path.endsWith(QLatin1String(".xmap"));
224 setOption(QString::fromLatin1("autoFormatting"), auto_formatting);
225}
226
227XMLFileExporter::~XMLFileExporter() = default;
228

Callers

nothing calls this directly

Calls 1

QLatin1StringClass · 0.85

Tested by

no test coverage detected