D18420: Use enum to identify AbstractAspect

Christoph Roick noreply at phabricator.kde.org
Sun May 5 11:52:45 BST 2019


croick added a comment.


  Instead of an enum inside AbstractAspect, there now is an enum class outside of the class. This way, the items can be named properly.
  
  QMetaClassInfo (const char*) and a mapping to enums would again be a source for new bugs once classes are renamed since there are no compile time checks.

REPOSITORY
  R262 LabPlot

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

To: croick, #labplot
Cc: asemke, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190505/4eaa5e2f/attachment.html>


More information about the kde-edu mailing list