32 s.beginGroup( QStringLiteral(
"defaults/bearing_format" ) );
33 for (
auto it = config.constBegin(); it != config.constEnd(); ++it )
35 s.setValue( it.key(), it.value() );
44 s.beginGroup( QStringLiteral(
"defaults/bearing_format" ) );
45 const QStringList keys = s.childKeys();
46 for (
const QString &key : keys )
48 const QVariant value = s.value( key );
49 config.insert( key, value );
53 std::unique_ptr< QgsBearingNumericFormat > res = std::make_unique< QgsBearingNumericFormat >();
63 s.beginGroup( QStringLiteral(
"defaults/coordinate_format" ) );
64 for (
auto it = config.constBegin(); it != config.constEnd(); ++it )
66 s.setValue( it.key(), it.value() );
75 s.beginGroup( QStringLiteral(
"defaults/coordinate_format" ) );
76 const QStringList keys = s.childKeys();
77 for (
const QString &key : keys )
79 const QVariant value = s.value( key );
80 config.insert( key, value );
84 std::unique_ptr< QgsGeographicCoordinateNumericFormat > res = std::make_unique< QgsGeographicCoordinateNumericFormat >();