tcanabrava added a comment.

  I like it, but considering that this adds a new method, I'd like to see it 
exposed to Qml too o the generated code if GenerateProperties is set to true, 
currently we write this kind of code in Qml:
  
              enabled: !kcm.balooSettings.isImmutable("indexingEnabled")
    
    something in the lines of `settings.indexingEnabledIsImmutable` would be of 
great help.
  
  (I would go further and try to add a class for each property with a 
.isImmutable, .name, .value and so on but this is out of scope and *maybe* only 
for KF6.)

REPOSITORY
  R237 KConfig

REVISION DETAIL
  https://phabricator.kde.org/D26368

To: meven, ervin, #frameworks
Cc: dfaure, tcanabrava, kde-frameworks-devel, LeGast00n, GB_2, michaelh, 
ngraham, bruns

Reply via email to