42 s.beginGroup( QStringLiteral(
"defaults/bearing_format" ) );
43 const QStringList keys = s.childKeys();
44 for (
const QString &key : keys )
46 const QVariant value = s.value( key );
47 config.insert( key, value );
51 std::unique_ptr< QgsBearingNumericFormat > res = std::make_unique< QgsBearingNumericFormat >();
73 s.beginGroup( QStringLiteral(
"defaults/coordinate_format" ) );
74 const QStringList keys = s.childKeys();
75 for (
const QString &key : keys )
77 const QVariant value = s.value( key );
78 config.insert( key, value );
82 std::unique_ptr< QgsGeographicCoordinateNumericFormat > res = std::make_unique< QgsGeographicCoordinateNumericFormat >();
The class is used as a container of context for various read/write operations on other objects.