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

Method importFromIODevice

src/core/map.cpp:786–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784
785
786bool Map::importFromIODevice(QIODevice& device)
787{
788 XMLFileImporter importer {{}, this, nullptr};
789 importer.setDevice(&device);
790 auto success = importer.doImport();
791 device.close();
792 return success;
793}
794
795
796

Callers 2

pasteMethod · 0.80
pasteSymbolsMethod · 0.80

Calls 2

setDeviceMethod · 0.80
doImportMethod · 0.80

Tested by

no test coverage detected