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

Method exportToIODevice

src/core/map.cpp:776–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774
775
776bool Map::exportToIODevice(QIODevice& device) const
777{
778 XMLFileExporter exporter({}, this, nullptr);
779 exporter.setDevice(&device);
780 auto success = exporter.doExport();
781 device.close();
782 return success;
783}
784
785
786bool Map::importFromIODevice(QIODevice& device)

Callers 2

copyMethod · 0.80
copySymbolsMethod · 0.80

Calls 2

setDeviceMethod · 0.80
doExportMethod · 0.45

Tested by

no test coverage detected