<table><tr><td style="">svuorela requested changes to this revision.<br />svuorela added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27730">View Revision</a></tr></table><br /><div><div><p>I'm not sure I like the implementation. The current AbstractBarcode can also be implemented, at least theoretically, by software providing other barcodes that forever reason isn't available here. I have at least done that for some PoC ports of other things.</p>

<p>I suggest instead having a <br />
enum class BarcodeDimensions { 1d, 2d, 3d, 4d } ; <br />
perhaps with better names, and then just a barcodeDimensions() method on AbstractBarcode that can be switched over.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R280 Prison</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27730">https://phabricator.kde.org/D27730</a></div></div><br /><div><strong>To: </strong>vkrause, svuorela<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>