broulik created this revision.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  The appendCategory(ConfigCategory*) allows to add a category created by e.g. 
an Instantiator that can use bindings rather than fixed arguments.
  The removeCategory methods allow to remove a category when e.g. the model in 
an Instantiator resets.
  
  CCBUG: 372090

TEST PLAN
  Pre-requisite for dynamically showing and hiding calendar plugin config in 
digital clock.
  
  Verified that onObjectAdded and onObjectRemoved of an Instantiator work fine 
with ConfigModel.
  
  Adding an overload shouldn't cause issues as the others require at least four 
string arguments and you cannot pass null as QString from QML anyway.

REPOSITORY
  R242 Plasma Framework (Library)

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

AFFECTED FILES
  src/plasmaquick/configmodel.cpp
  src/plasmaquick/configmodel.h

To: broulik, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart, lukas

Reply via email to