loh.tar added a comment.

  Contrary to my announcement to use an enum as key I chosed the string for 
maximum simplicity. 
  Yes, this way you notice a typo only at runtime, but in any case you have to 
know how some stuff has to be written. An enum key offer not only complile time 
checks but also to use QVector instead of QHash which may be more perfomand but 
need some more effort when add new stuff and probably longer longer keys, 
prefixed by namespace.
  
  My only goal is to get rid of all these tiny functions. But I understand you 
so, that you don't see a need for that.

REPOSITORY
  R39 KTextEditor

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

To: loh.tar, cullmann, dhaumann
Cc: mwolff, kwrite-devel, kde-frameworks-devel, #ktexteditor, michaelh, 
ngraham, bruns, demsking, cullmann, sars, dhaumann

Reply via email to