D18894: [RFC] General config interface
loh tar
noreply at phabricator.kde.org
Sun Feb 10 16:17:46 GMT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190210/6a02335f/attachment-0001.html>
More information about the KWrite-Devel
mailing list