On Mittwoch, 30. August 2023 11:43:27 CEST Tomaz Canabrava wrote:
> Things that KConfigXT XML lacks:
> 
> * Access to the default value of a setting (KConfigXT allows me to
> define one, but I can't use it on a if in the codebase, there's no way
> to query it back)

There's no nice entryNameDefault() API, but you can get the default value. At 
least, a static one:
```
Settings{}.findItem(QStringLiteral("RetrieveSignerKeysAfterImport"))-
>getDefault().toBool()
```

> * Compartimentalized acessors: bgColor() exists inside of the Gui class,
> not on SomePreferences, so it's easier to organize.

Yeah, it's really a pity that the groups one puts the entries in in the XML 
are not exposed in the API.

Regards,
Ingo

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to